GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
Global widget (rendering) context. More...
#include <gp_widget_render.h>
Data Fields | ||
gp_pixmap * | buf | |
A pixmap to render the widget to. | ||
enum gp_widgets_color_scheme | color_scheme | |
Active color scheme. | ||
union { | ||
gp_pixel colors [GP_WIDGETS_THEME_COLORS+16] | ||
Currrently active colors as an array. | ||
struct { | ||
gp_pixel text_color | ||
A text color. | ||
gp_pixel fg_color | ||
A foreground color. | ||
gp_pixel bg_color | ||
A background color. | ||
gp_pixel hl_color | ||
A highlight color. | ||
gp_pixel sel_color | ||
A selection color. | ||
gp_pixel alert_color | ||
An alert color. | ||
gp_pixel warn_color | ||
A warning color. | ||
gp_pixel accept_color | ||
An accept color. | ||
gp_pixel fill_color | ||
A fill color. | ||
gp_pixel col_disabled | ||
A disabled widget color. | ||
} | ||
Currently active colors with names. | ||
}; | ||
Currently active colors. | ||
gp_text_style * | font | |
Default font. | ||
gp_text_style * | font_bold | |
Default bold font. | ||
gp_text_style * | font_big | |
Default big font. | ||
gp_text_style * | font_big_bold | |
Default big bold font. | ||
gp_text_style * | font_mono | |
Default monospace font. | ||
gp_text_style * | font_mono_bold | |
Default monospace bold font. | ||
gp_pixel_type | pixel_type | |
Pixel type used for drawing. | ||
uint8_t | padd | |
Padding between widgets. | ||
uint8_t | fr_thick | |
Frame thickness 0 == 1px. | ||
uint8_t | fr_round | |
Frame roundness. | ||
uint8_t | cur_thick | |
Text cursor thickness 0 == 1px. | ||
Global widget (rendering) context.
Definition at line 29 of file gp_widget_render.h.