AcidDropUI/AcidDrop UI PIO/lib/ui/src/ui.c

45 lines
1.3 KiB
C
Raw Normal View History

2024-06-06 05:12:19 +00:00
// This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.4.1
// LVGL version: 8.3.11
// Project name: AcidDrop
#include "ui.h"
#include "ui_helpers.h"
///////////////////// VARIABLES ////////////////////
// SCREEN: ui_AcidDrop
void ui_AcidDrop_screen_init(void);
lv_obj_t *ui_AcidDrop;
lv_obj_t *ui_TabViewMain;
lv_obj_t *ui_TabIRC;
lv_obj_t *ui_TabSettings;
lv_obj_t *ui_TabAbout;
lv_obj_t *ui_LabelAbout;
lv_obj_t *ui____initial_actions0;
///////////////////// TEST LVGL SETTINGS ////////////////////
#if LV_COLOR_DEPTH != 16
#error "LV_COLOR_DEPTH should be 16bit to match SquareLine Studio's settings"
#endif
#if LV_COLOR_16_SWAP !=0
#error "LV_COLOR_16_SWAP should be 0 to match SquareLine Studio's settings"
#endif
///////////////////// ANIMATIONS ////////////////////
///////////////////// FUNCTIONS ////////////////////
///////////////////// SCREENS ////////////////////
void ui_init( void )
{
lv_disp_t *dispp = lv_disp_get_default();
lv_theme_t *theme = lv_theme_default_init(dispp, lv_palette_main(LV_PALETTE_BLUE), lv_palette_main(LV_PALETTE_RED), true, LV_FONT_DEFAULT);
lv_disp_set_theme(dispp, theme);
ui_AcidDrop_screen_init();
ui____initial_actions0 = lv_obj_create(NULL);
lv_disp_load_scr( ui_AcidDrop);
}