nyx: add no box and 5 entries per line support

Icons that have `_nobox.bmp` in their name will make the grey background disappear.

Additionally a new option was added in Nyx Options called `Extended Boot Entries` that allows user to have a total of 10 entries showing up in Launch and More configs menus.
This commit is contained in:
CTCaer committed 2022-05-13 03:49:32 +03:00
1 parent b9cdf5d697
commit c2ff5dbd1c
9 files changed
+151 -47

No files matched your search

+13
View File
@@ -34,6 +34,17 @@ typedef struct _emmc_tool_gui_t
bool raw_emummc;
} emmc_tool_gui_t;
typedef struct _gui_status_bar_ctx
{
lv_obj_t *mid;
lv_obj_t *time_temp;
lv_obj_t *temp_symbol;
lv_obj_t *temp_degrees;
lv_obj_t *battery;
lv_obj_t *battery_more;
lv_obj_t *monitor;
} gui_status_bar_ctx;
extern lv_style_t hint_small_style;
extern lv_style_t hint_small_style_white;
extern lv_style_t monospace_text;
@@ -56,6 +67,8 @@ extern lv_style_t mbox_darken;
extern char *text_color;
extern gui_status_bar_ctx status_bar;
void reload_nyx();
lv_img_dsc_t *bmp_to_lvimg_obj(const char *path);
lv_res_t mbox_action(lv_obj_t * btns, const char * txt);