luigi.theme
- interface
Theme
;
- An abstract interface for themes used by Luigi
- abstract void
begin_drawing
(Rect r);
- Called before and after refreshing the gui by Overlay.
This is where all common 2D GL state can be set up and restored by
the theme.
- abstract void
draw
(Widget item);
- Draws the given item
- abstract Size
minimum_size
(Widget item, Size bounds);
- Sizes used for layout
- abstract void
on_key
(Widget item, _KeyEvent * ev);
- Event handling
|