NAME
caca_attr - libcaca attribute definitionsSYNOPSIS
Modules
libcaca basic functions
Data Structures
struct caca_event
Enumerations
enum caca_color { CACA_BLACK = 0x00, CACA_BLUE = 0x01, CACA_GREEN = 0x02, CACA_CYAN = 0x03, CACA_RED = 0x04, CACA_MAGENTA = 0x05, CACA_BROWN = 0x06, CACA_LIGHTGRAY = 0x07, CACA_DARKGRAY = 0x08, CACA_LIGHTBLUE = 0x09, CACA_LIGHTGREEN = 0x0a, CACA_LIGHTCYAN = 0x0b, CACA_LIGHTRED = 0x0c, CACA_LIGHTMAGENTA = 0x0d, CACA_YELLOW = 0x0e, CACA_WHITE = 0x0f, CACA_DEFAULT = 0x10, CACA_TRANSPARENT = 0x20 }
Detailed Description
Colours and styles that can be used with caca_set_attr().Enumeration Type Documentation
enum caca_color
libcaca colour keyword Enumerator- CACA_BLACK
- The colour index for black.
- CACA_BLUE
- The colour index for blue.
- CACA_GREEN
- The colour index for green.
- CACA_CYAN
- The colour index for cyan.
- CACA_RED
- The colour index for red.
- CACA_MAGENTA
- The colour index for magenta.
- CACA_BROWN
- The colour index for brown.
- CACA_LIGHTGRAY
- The colour index for light gray.
- CACA_DARKGRAY
- The colour index for dark gray.
- CACA_LIGHTBLUE
- The colour index for blue.
- CACA_LIGHTGREEN
- The colour index for light green.
- CACA_LIGHTCYAN
- The colour index for light cyan.
- CACA_LIGHTRED
- The colour index for light red.
- CACA_LIGHTMAGENTA
- The colour index for light magenta.
- CACA_YELLOW
- The colour index for yellow.
- CACA_WHITE
- The colour index for white.
- CACA_DEFAULT
- The output driver's default colour.
- CACA_TRANSPARENT
- The transparent colour.
enum caca_style
libcaca style keyword Enumerator- CACA_BOLD
- The style mask for bold.
- CACA_ITALICS
- The style mask for italics.
- CACA_UNDERLINE
- The style mask for underline.
- CACA_BLINK
- The style mask for blink.
enum caca_event_type
This enum serves two purposes:- •
- Build listening masks for caca_get_event().
- •
- Define the type of a caca_event_t.
- CACA_EVENT_NONE
- No event.
- CACA_EVENT_KEY_PRESS
- A key was pressed.
- CACA_EVENT_KEY_RELEASE
- A key was released.
- CACA_EVENT_MOUSE_PRESS
- A mouse button was pressed.
- CACA_EVENT_MOUSE_RELEASE
- A mouse button was released.
- CACA_EVENT_MOUSE_MOTION
- The mouse was moved.
- CACA_EVENT_RESIZE
- The window was resized.
- CACA_EVENT_QUIT
- The user requested to quit.
- CACA_EVENT_ANY
- Bitmask for any event.
enum caca_key
Special key values returned by caca_get_event() for which there is no printable ASCII equivalent. Enumerator- CACA_KEY_UNKNOWN
- Unknown key.
- CACA_KEY_CTRL_A
- The Ctrl-A key.
- CACA_KEY_CTRL_B
- The Ctrl-B key.
- CACA_KEY_CTRL_C
- The Ctrl-C key.
- CACA_KEY_CTRL_D
- The Ctrl-D key.
- CACA_KEY_CTRL_E
- The Ctrl-E key.
- CACA_KEY_CTRL_F
- The Ctrl-F key.
- CACA_KEY_CTRL_G
- The Ctrl-G key.
- CACA_KEY_BACKSPACE
- The backspace key.
- CACA_KEY_TAB
- The tabulation key.
- CACA_KEY_CTRL_J
- The Ctrl-J key.
- CACA_KEY_CTRL_K
- The Ctrl-K key.
- CACA_KEY_CTRL_L
- The Ctrl-L key.
- CACA_KEY_RETURN
- The return key.
- CACA_KEY_CTRL_N
- The Ctrl-N key.
- CACA_KEY_CTRL_O
- The Ctrl-O key.
- CACA_KEY_CTRL_P
- The Ctrl-P key.
- CACA_KEY_CTRL_Q
- The Ctrl-Q key.
- CACA_KEY_CTRL_R
- The Ctrl-R key.
- CACA_KEY_PAUSE
- The pause key.
- CACA_KEY_CTRL_T
- The Ctrl-T key.
- CACA_KEY_CTRL_U
- The Ctrl-U key.
- CACA_KEY_CTRL_V
- The Ctrl-V key.
- CACA_KEY_CTRL_W
- The Ctrl-W key.
- CACA_KEY_CTRL_X
- The Ctrl-X key.
- CACA_KEY_CTRL_Y
- The Ctrl-Y key.
- CACA_KEY_CTRL_Z
- The Ctrl-Z key.
- CACA_KEY_ESCAPE
- The escape key.
- CACA_KEY_DELETE
- The delete key.
- CACA_KEY_UP
- The up arrow key.
- CACA_KEY_DOWN
- The down arrow key.
- CACA_KEY_LEFT
- The left arrow key.
- CACA_KEY_RIGHT
- The right arrow key.
- CACA_KEY_INSERT
- The insert key.
- CACA_KEY_HOME
- The home key.
- CACA_KEY_END
- The end key.
- CACA_KEY_PAGEUP
- The page up key.
- CACA_KEY_PAGEDOWN
- The page down key.
- CACA_KEY_F1
- The F1 key.
- CACA_KEY_F2
- The F2 key.
- CACA_KEY_F3
- The F3 key.
- CACA_KEY_F4
- The F4 key.
- CACA_KEY_F5
- The F5 key.
- CACA_KEY_F6
- The F6 key.
- CACA_KEY_F7
- The F7 key.
- CACA_KEY_F8
- The F8 key.
- CACA_KEY_F9
- The F9 key.
- CACA_KEY_F10
- The F10 key.
- CACA_KEY_F11
- The F11 key.
- CACA_KEY_F12
- The F12 key.
- CACA_KEY_F13
- The F13 key.
- CACA_KEY_F14
- The F14 key.
- CACA_KEY_F15
- The F15 key.
Author
Generated automatically by Doxygen for libcaca from the source code.Tue Jul 12 2022 | Version 0.99.beta20 |