feat: split About view into separate app; bump ramdisk in-memory file limit
This commit is contained in:
1 parent
b8085e0e2a
commit
6665750528
13 files changed
+205
-70
No files matched your search
@@ -17,9 +17,7 @@ namespace settings_app {
|
||||
|
||||
struct SettingsState {
|
||||
DesktopState* desktop;
|
||||
int active_tab; // 0=Appearance, 1=Display, 2=Widgets, 3=About
|
||||
montauk::abi::SysInfo sys_info;
|
||||
uint64_t uptime_ms;
|
||||
int active_tab; // 0=Appearance, 1=Display, 2=Widgets
|
||||
WallpaperFileList wp_files;
|
||||
bool wp_scanned;
|
||||
|
||||
@@ -68,8 +66,8 @@ inline const Color accent_palette[SWATCH_COUNT] = {
|
||||
};
|
||||
|
||||
inline constexpr int TAB_BAR_H = 36;
|
||||
inline constexpr int TAB_COUNT = 4;
|
||||
inline constexpr const char* tab_labels[TAB_COUNT] = { "Appearance", "Display", "Widgets", "About" };
|
||||
inline constexpr int TAB_COUNT = 3;
|
||||
inline constexpr const char* tab_labels[TAB_COUNT] = { "Appearance", "Display", "Widgets" };
|
||||
|
||||
inline constexpr int WP_ITEM_H = 24;
|
||||
|
||||
@@ -93,8 +91,6 @@ bool settings_handle_display_click(SettingsState* st, int mx, int cy);
|
||||
void settings_draw_widgets(Canvas& c, SettingsState* st);
|
||||
bool settings_handle_widgets_click(Window* win, SettingsState* st, int mx, int cy);
|
||||
|
||||
void settings_draw_about(Canvas& c, SettingsState* st);
|
||||
|
||||
void settings_persist(SettingsState* st);
|
||||
|
||||
} // namespace settings_app
|
||||
Reference in new issue
Block a user