Module fltk::enums [−][src]
Fltk defined enums: Color, Font, CallbackTrigger etc
Structs
Align | Defines alignment rules used by FLTK for labels |
CallbackTrigger | Defines the types of triggers for widget callback functions |
Color | Defines colors used by FLTK
Colors are stored as RGBI values, the last being the index for FLTK colors in this enum.
Colors in this enum don’t have an RGB stored. However, custom colors have an RGB, and don’t have an index.
The RGBI can be acquired by casting the color to u32 and formatting it to |
Damage | Damage masks |
Font | Defines fonts used by FLTK |
Key | Defines the inputted virtual keycode |
Mode | Defines visual mode types (capabilites of the window) Rgb and Single have a value of zero, so they are “on” unless you give Index or Double. |
Shortcut | Defines the modifiers of virtual keycodes |
Enums
ColorDepth | Defines the color depth for drawing and rgb images |
Cursor | Defines the cursor styles supported by fltk |
Event | Defines event types captured by FLTK |
FrameType | Defines the frame types which can be set using the set_frame() and set_down_frame() methods |
LabelType | Defines label types |
Mouse | Defines Mouse buttons |
TextCursor | Defines the text cursor styles supported by fltk |
Traits
WidgetType | A trait defined for all enums passable to the WidgetExt::set_type() method |