docs/colors.rst
author Radek Brich <radek.brich@devl.cz>
Mon, 10 Oct 2011 22:20:59 +0200
changeset 25 f69a1f0382ce
parent 7 d4a291b31cbb
permissions -rw-r--r--
Partial DriverPygame.putch() implementation. Add patch for PyGame implementing font.render_glyph(). Add test for PyGame font module. Add special key definitions to DriverPygame.

Colors
======

backend.setcolor(name, description)

  This will parse description, prepare attributes and save them under 'name'.
  Description is in format <foreground> "on" <background> "," <attributes>.
  For example:
    "black on cyan"
    "white on cyan" or "gray on cyan, standout" (equivalent)
    "yellow on red, underline, blink"

backend.pushcolor(name)

backend.popcolor()


Default theme
-------------

menu-normal - black on cyan
menu-highlight - white on cyan

window-normal - gray on blue
window-highlight - white on blue