Searched refs:color_pair (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython2/Demo/curses/ |
D | tclock.py | 26 stdscr.attrset(curses.color_pair(pair)) 126 stdscr.attrset(curses.color_pair(1)) 131 stdscr.attrset(curses.color_pair(0))
|
D | rain.py | 18 color = curses.color_pair(z)
|
D | ncurses.py | 42 win.bkgdset(ord(' '), curses.color_pair(color))
|
D | xmas.py | 36 win.attron(curses.color_pair(n)) 40 win.attrset(curses.color_pair(0))
|
/external/python/cpython3/Tools/demo/ |
D | life.py | 79 self.scr.attrset(curses.color_pair(random.randrange(1, 7))) 119 self.scr.attrset(curses.color_pair( 158 stdscr.attrset(curses.color_pair(1))
|
/external/skqp/src/compute/skc/ |
D | styling_types.h | 130 skc_half color_pair[2]; member
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | curses_ui.py | 424 self._color_pairs[color_name] = curses.color_pair(color_index) 430 self._color_pairs[cli_shared.COLOR_GRAY] = curses.color_pair(color_index) 990 color_pair = (self._default_color_pair if color is None else 993 self._addstr(row, 0, line, color_pair | attr) 1290 for segment, color_pair in zip(all_segments, all_color_pairs): 1292 pad.addstr(row, segment[0], txt[segment[0]:segment[1]], color_pair)
|
/external/llvm-project/lldb/utils/lui/ |
D | commandwin.py | 116 attr = curses.color_pair(3) # red on black
|
D | cui.py | 40 self.win.bkgd(curses.color_pair(1)) 196 self.screen.bkgd(curses.color_pair(1))
|
/external/python/cpython2/Doc/howto/ |
D | curses.rst | 319 value corresponding to a color pair with the :func:`color_pair` function; this 325 stdscr.addstr("Pretty text", curses.color_pair(1)) 347 stdscr.addstr(0,0, "RED ALERT!", curses.color_pair(1))
|
/external/python/cpython2/Lib/test/ |
D | test_curses.py | 273 curses.color_pair(2)
|
/external/python/cpython3/Doc/howto/ |
D | curses.rst | 388 value corresponding to a color pair with the :func:`~curses.color_pair` 395 stdscr.addstr("Pretty text", curses.color_pair(1)) 418 stdscr.addstr(0,0, "RED ALERT!", curses.color_pair(1))
|
/external/python/cpython3/Lib/test/ |
D | test_curses.py | 288 curses.color_pair(2)
|
/external/python/cffi/demo/ |
D | _curses.py | 659 def color_pair(n): function
|
/external/python/cpython2/Doc/library/ |
D | curses.rst | 112 .. function:: color_pair(color_number) 442 :func:`color_pair` is the counterpart to this function.
|
/external/python/cpython3/Doc/library/ |
D | curses.rst | 120 .. function:: color_pair(color_number) 450 :func:`color_pair` is the counterpart to this function.
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a1.rst | 2337 Fix the implementation of curses ``addch(str, color_pair)``: pass the color
|