[Horus] UI continued
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#define OPTION_MENU_NO_FOOTER 0x01
|
||||
//#define OPTION_MENU_NO_TITLE_BAR 0x02
|
||||
#define OPTION_MENU_TITLE_BAR 0x02
|
||||
#define OPTION_MENU_NO_SCROLLBAR 0x04
|
||||
|
||||
#define OPTION_SLIDER_INVERS INVERS
|
||||
#define OPTION_SLIDER_BLINK BLINK
|
||||
@@ -67,10 +68,15 @@ int16_t editGVarFieldValue(coord_t x, coord_t y, int16_t value, int16_t min, int
|
||||
#endif
|
||||
|
||||
// Screen templates
|
||||
void drawScreenTemplate(const char * title, const uint8_t * icon, uint32_t options=0);
|
||||
void drawMenuTemplate(const char * title, uint16_t scrollbar_X=0, uint32_t options=0);
|
||||
void drawSubmenuTemplate(const char * name, uint16_t scrollbar_X=0, uint32_t options=0);
|
||||
void drawSplash();
|
||||
void drawSleepBitmap();
|
||||
void drawShutdownBitmap(uint32_t index);
|
||||
|
||||
// Main view standard widgets
|
||||
void drawMainViewTopBar();
|
||||
void drawMainPots();
|
||||
void drawTrims(uint8_t flightMode);
|
||||
|
||||
#endif // _WIDGETS_H_
|
||||
|
||||
Reference in New Issue
Block a user