GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_widget_render_ctx Struct Reference

Global widget (rendering) context. More...

#include <gp_widget_render.h>

Collaboration diagram for gp_widget_render_ctx:
Collaboration graph
[legend]

Data Fields

gp_pixmapbuf
 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_stylefont
 Default font.
 
gp_text_stylefont_bold
 Default bold font.
 
gp_text_stylefont_big
 Default big font.
 
gp_text_stylefont_big_bold
 Default big bold font.
 
gp_text_stylefont_mono
 Default monospace font.
 
gp_text_stylefont_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.
 

Detailed Description

Global widget (rendering) context.

Definition at line 29 of file gp_widget_render.h.


The documentation for this struct was generated from the following file: