Home
last modified time | relevance | path

Searched refs:color_pair (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Demo/curses/
Dtclock.py26 stdscr.attrset(curses.color_pair(pair))
126 stdscr.attrset(curses.color_pair(1))
131 stdscr.attrset(curses.color_pair(0))
Drain.py18 color = curses.color_pair(z)
Dncurses.py42 win.bkgdset(ord(' '), curses.color_pair(color))
Dxmas.py36 win.attron(curses.color_pair(n))
40 win.attrset(curses.color_pair(0))
/external/python/cpython3/Tools/demo/
Dlife.py79 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/
Dstyling_types.h130 skc_half color_pair[2]; member
/external/tensorflow/tensorflow/python/debug/cli/
Dcurses_ui.py424 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/
Dcommandwin.py116 attr = curses.color_pair(3) # red on black
Dcui.py40 self.win.bkgd(curses.color_pair(1))
196 self.screen.bkgd(curses.color_pair(1))
/external/python/cpython2/Doc/howto/
Dcurses.rst319 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/
Dtest_curses.py273 curses.color_pair(2)
/external/python/cpython3/Doc/howto/
Dcurses.rst388 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/
Dtest_curses.py288 curses.color_pair(2)
/external/python/cffi/demo/
D_curses.py659 def color_pair(n): function
/external/python/cpython2/Doc/library/
Dcurses.rst112 .. function:: color_pair(color_number)
442 :func:`color_pair` is the counterpart to this function.
/external/python/cpython3/Doc/library/
Dcurses.rst120 .. function:: color_pair(color_number)
450 :func:`color_pair` is the counterpart to this function.
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a1.rst2337 Fix the implementation of curses ``addch(str, color_pair)``: pass the color