GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Enumerations
gp_widget_types.h File Reference

Common widget types. More...

#include <stdint.h>

Go to the source code of this file.

Enumerations

enum  gp_widget_border {
  GP_WIDGET_BORDER_NONE = 0x00 , GP_WIDGET_BORDER_LEFT = 0x01 , GP_WIDGET_BORDER_RIGHT = 0x2 , GP_WIDGET_BORDER_TOP = 0x10 ,
  GP_WIDGET_BORDER_BOTTOM = 0x20 , GP_WIDGET_BORDER_HORIZ = GP_WIDGET_BORDER_TOP | GP_WIDGET_BORDER_BOTTOM , GP_WIDGET_BORDER_VERT = GP_WIDGET_BORDER_LEFT | GP_WIDGET_BORDER_RIGHT , GP_WIDGET_BORDER_ALL = GP_WIDGET_BORDER_HORIZ | GP_WIDGET_BORDER_VERT ,
  GP_WIDGET_BORDER_CLEAR = 0x80
}
 Describes borders. More...
 

Detailed Description

Common widget types.

Definition in file gp_widget_types.h.

Enumeration Type Documentation

◆ gp_widget_border

Describes borders.

Enumerator
GP_WIDGET_BORDER_NONE 

No border selected.

GP_WIDGET_BORDER_LEFT 

Left border selected.

GP_WIDGET_BORDER_RIGHT 

Right border selected.

GP_WIDGET_BORDER_TOP 

Top border selected.

GP_WIDGET_BORDER_BOTTOM 

Bottom border selected.

GP_WIDGET_BORDER_HORIZ 

Horizontal borders selected.

GP_WIDGET_BORDER_VERT 

Vertical borders selected.

GP_WIDGET_BORDER_ALL 

All borders selected.

GP_WIDGET_BORDER_CLEAR 

Clear borders not selected in bitmask.

Clears (sets to 0) all borders not from the bitflags, when passed to a function that sets borders, e.g. gp_widget_grid_border_set().

Definition at line 31 of file gp_widget_types.h.