|
|
@ -24,7 +24,8 @@ enum DataEnum { |
|
|
|
DATA_ID_KEYPAD_OPTION3_TEXT = 12, |
|
|
|
DATA_ID_KEYPAD_OPTION3_TEXT = 12, |
|
|
|
DATA_ID_KEYPAD_MODE = 13, |
|
|
|
DATA_ID_KEYPAD_MODE = 13, |
|
|
|
DATA_ID_KEYPAD_OK_ENABLED = 14, |
|
|
|
DATA_ID_KEYPAD_OK_ENABLED = 14, |
|
|
|
DATA_ID_ARDUINO_PWM_D3_PIN_STATUS = 15 |
|
|
|
DATA_ID_ARDUINO_PWM_D3_PIN_STATUS = 15, |
|
|
|
|
|
|
|
DATA_ID_BTN_COLOR = 16 |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
void data_none(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_none(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
@ -43,6 +44,7 @@ void data_keypad_option3_text(DataOperationEnum operation, const WidgetCursor &c |
|
|
|
void data_keypad_mode(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_keypad_mode(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_keypad_ok_enabled(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_keypad_ok_enabled(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_arduino_pwm_d3_pin_status(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_arduino_pwm_d3_pin_status(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
|
|
|
|
void data_btn_color(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
|
|
|
|
|
|
|
|
typedef void (*DataOperationsFunction)(DataOperationEnum operation, const WidgetCursor &widgetCursor, Value &value); |
|
|
|
typedef void (*DataOperationsFunction)(DataOperationEnum operation, const WidgetCursor &widgetCursor, Value &value); |
|
|
|
|
|
|
|
|
|
|
@ -128,8 +130,10 @@ enum StylesEnum { |
|
|
|
STYLE_ID_TEXT_BUTTON = 19, |
|
|
|
STYLE_ID_TEXT_BUTTON = 19, |
|
|
|
STYLE_ID_TEXT_BUTTON_DISABLED = 20, |
|
|
|
STYLE_ID_TEXT_BUTTON_DISABLED = 20, |
|
|
|
STYLE_ID_BUTTON_ICON = 21, |
|
|
|
STYLE_ID_BUTTON_ICON = 21, |
|
|
|
STYLE_ID_SWITCH_WIDGET = 22, |
|
|
|
STYLE_ID_DEFAULT = 22, |
|
|
|
STYLE_ID_DEFAULT = 23 |
|
|
|
STYLE_ID_INLINE22 = 23, |
|
|
|
|
|
|
|
STYLE_ID_INLINE23 = 24, |
|
|
|
|
|
|
|
STYLE_ID_SWITCH_WIDGET = 25 |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
enum ThemesEnum { |
|
|
|
enum ThemesEnum { |
|
|
@ -172,7 +176,9 @@ enum ColorsEnum { |
|
|
|
COLOR_ID_TEXT_INPUT_BORDER = 31, |
|
|
|
COLOR_ID_TEXT_INPUT_BORDER = 31, |
|
|
|
COLOR_ID_CUSTOM_UNDEFINED = 32, |
|
|
|
COLOR_ID_CUSTOM_UNDEFINED = 32, |
|
|
|
COLOR_ID_CUSTOM_000000 = 33, |
|
|
|
COLOR_ID_CUSTOM_000000 = 33, |
|
|
|
COLOR_ID_CUSTOM_00FF1E = 34 |
|
|
|
COLOR_ID_CUSTOM_00FF1E = 34, |
|
|
|
|
|
|
|
COLOR_ID_CUSTOM_FF0000 = 35, |
|
|
|
|
|
|
|
COLOR_ID_CUSTOM_00FF00 = 36 |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
enum PagesEnum { |
|
|
|
enum PagesEnum { |
|
|
@ -180,10 +186,11 @@ enum PagesEnum { |
|
|
|
PAGE_ID_MAIN = 1, |
|
|
|
PAGE_ID_MAIN = 1, |
|
|
|
PAGE_ID_NUMERIC_KEYPAD = 2, |
|
|
|
PAGE_ID_NUMERIC_KEYPAD = 2, |
|
|
|
PAGE_ID_PAGE1 = 3, |
|
|
|
PAGE_ID_PAGE1 = 3, |
|
|
|
PAGE_ID_PAGE2 = 4 |
|
|
|
PAGE_ID_PAGE3 = 4, |
|
|
|
|
|
|
|
PAGE_ID_PAGE2 = 5 |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
extern const uint8_t assets[55759]; |
|
|
|
extern const uint8_t assets[56364]; |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(EEZ_PLATFORM_SIMULATOR) |
|
|
|
#elif defined(EEZ_PLATFORM_SIMULATOR) |
|
|
|
|
|
|
|
|
|
|
@ -204,7 +211,8 @@ enum DataEnum { |
|
|
|
DATA_ID_KEYPAD_MODE = 13, |
|
|
|
DATA_ID_KEYPAD_MODE = 13, |
|
|
|
DATA_ID_KEYPAD_OK_ENABLED = 14, |
|
|
|
DATA_ID_KEYPAD_OK_ENABLED = 14, |
|
|
|
DATA_ID_MAIN_APP_VIEW = 15, |
|
|
|
DATA_ID_MAIN_APP_VIEW = 15, |
|
|
|
DATA_ID_ARDUINO_PWM_D3_PIN_STATUS = 16 |
|
|
|
DATA_ID_ARDUINO_PWM_D3_PIN_STATUS = 16, |
|
|
|
|
|
|
|
DATA_ID_BTN_COLOR = 17 |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
void data_none(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_none(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
@ -224,6 +232,7 @@ void data_keypad_mode(DataOperationEnum operation, const WidgetCursor &cursor, V |
|
|
|
void data_keypad_ok_enabled(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_keypad_ok_enabled(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_main_app_view(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_main_app_view(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_arduino_pwm_d3_pin_status(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
void data_arduino_pwm_d3_pin_status(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
|
|
|
|
void data_btn_color(DataOperationEnum operation, const WidgetCursor &cursor, Value &value); |
|
|
|
|
|
|
|
|
|
|
|
typedef void (*DataOperationsFunction)(DataOperationEnum operation, const WidgetCursor &widgetCursor, Value &value); |
|
|
|
typedef void (*DataOperationsFunction)(DataOperationEnum operation, const WidgetCursor &widgetCursor, Value &value); |
|
|
|
|
|
|
|
|
|
|
@ -312,7 +321,9 @@ enum StylesEnum { |
|
|
|
STYLE_ID_BUTTON_ICON = 21, |
|
|
|
STYLE_ID_BUTTON_ICON = 21, |
|
|
|
STYLE_ID_DEFAULT = 22, |
|
|
|
STYLE_ID_DEFAULT = 22, |
|
|
|
STYLE_ID_INLINE22 = 23, |
|
|
|
STYLE_ID_INLINE22 = 23, |
|
|
|
STYLE_ID_SWITCH_WIDGET = 24 |
|
|
|
STYLE_ID_INLINE23 = 24, |
|
|
|
|
|
|
|
STYLE_ID_INLINE24 = 25, |
|
|
|
|
|
|
|
STYLE_ID_SWITCH_WIDGET = 26 |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
enum ThemesEnum { |
|
|
|
enum ThemesEnum { |
|
|
@ -356,7 +367,9 @@ enum ColorsEnum { |
|
|
|
COLOR_ID_CUSTOM_UNDEFINED = 32, |
|
|
|
COLOR_ID_CUSTOM_UNDEFINED = 32, |
|
|
|
COLOR_ID_CUSTOM_000000 = 33, |
|
|
|
COLOR_ID_CUSTOM_000000 = 33, |
|
|
|
COLOR_ID_CUSTOM_00FF1E = 34, |
|
|
|
COLOR_ID_CUSTOM_00FF1E = 34, |
|
|
|
COLOR_ID_CUSTOM_FFFFFF = 35 |
|
|
|
COLOR_ID_CUSTOM_FFFFFF = 35, |
|
|
|
|
|
|
|
COLOR_ID_CUSTOM_FF0000 = 36, |
|
|
|
|
|
|
|
COLOR_ID_CUSTOM_00FF00 = 37 |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
enum PagesEnum { |
|
|
|
enum PagesEnum { |
|
|
@ -365,10 +378,11 @@ enum PagesEnum { |
|
|
|
PAGE_ID_NUMERIC_KEYPAD = 2, |
|
|
|
PAGE_ID_NUMERIC_KEYPAD = 2, |
|
|
|
PAGE_ID_FRONT_PANEL = 3, |
|
|
|
PAGE_ID_FRONT_PANEL = 3, |
|
|
|
PAGE_ID_PAGE1 = 4, |
|
|
|
PAGE_ID_PAGE1 = 4, |
|
|
|
PAGE_ID_PAGE2 = 5 |
|
|
|
PAGE_ID_PAGE3 = 5, |
|
|
|
|
|
|
|
PAGE_ID_PAGE2 = 6 |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
extern const uint8_t assets[72200]; |
|
|
|
extern const uint8_t assets[72816]; |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|