UI_Lib
a1366e08a59cc549a65fa26081e6409aa12f26d5
This is a user interface library for graphical LCDs. It offers many different controls and indicators that can be nested depending on the element types.
|
Containing a class that is used to handle the drawing and key handling of all UI_Elements. More...
#include "UIElement.h"
Go to the source code of this file.
Classes | |
class | UI_Manager |
Class that is used to handle the drawing and key handling of all UI_Elements. More... | |
Macros | |
#define | UI_LIB_DEFAULT_COLOR_BACKGROUND RGB565(0x00, 0x00, 0x00) |
Default Background color (black) | |
#define | UI_LIB_DEFAULT_COLOR_FOREGROUND RGB565(0xFF, 0xFF, 0xFF) |
Default UIElement foreground color (white) | |
#define | UI_LIB_DEFAULT_COLOR_FOREGROUND_EDIT_MODE UI_LIB_DEFAULT_COLOR_BACKGROUND |
Default UIElement foreground color in edit mode (black). | |
#define | UI_LIB_DEFAULT_COLOR_FOCUS_FRAME UI_LIB_DEFAULT_COLOR_FOREGROUND |
Default Focus frame color. | |
#define | UI_LIB_DEFAULT_FONT &FreeSans12pt7b |
Default font used for all UIElements. | |
#define | UI_LIB_DEFAULT_ELEMENT_MARGIN 2 |
Space without content around every UIElement. | |
#define | UI_LIB_DEFAULT_ELEMENT_PADDING 3 |
Space between the outline of every UIElement and the internal content. | |
Variables | |
UI_Manager | UiManager |
Access object for the singleton instance of the UI_Manager. | |
Containing a class that is used to handle the drawing and key handling of all UI_Elements.
#define UI_LIB_DEFAULT_COLOR_FOREGROUND_EDIT_MODE UI_LIB_DEFAULT_COLOR_BACKGROUND |
Default UIElement foreground color in edit mode (black).
When some controls are in edit mode, the background is drawn in the foreground color and the text is drawn with this color.
#define UI_LIB_DEFAULT_ELEMENT_MARGIN 2 |