Replace arbitrary spacesaver theme w/adjustable width

This commit is contained in:
2026-07-19 11:24:59 -04:00
parent e2619526d5
commit 65db01d4c3
2 changed files with 51 additions and 43 deletions
+2 -2
View File
@@ -19,15 +19,15 @@ typedef struct {
//uint8_t top_shrinkage;
//uint8_t bottom_shrinkage;
//int8_t spread; // positive integers push the icons further apart; negative integers pull them together
//uint8_t animation_type; // 0 = press, 1 = invert
//bool use_legacy_animations
void *context;
} NeatBarLayer;
NeatBarLayer *neat_bar_layer_create();
void neat_bar_layer_set_icon(NeatBarLayer *layer, ButtonId button_id, GBitmap *icon);
void neat_bar_layer_set_theme_default_rect(NeatBarLayer *neat_bar);
void neat_bar_layer_set_theme_spacesaver_rect(NeatBarLayer *neat_bar);
void neat_bar_layer_set_theme_legacy_rect(NeatBarLayer *neat_bar);
void neat_bar_layer_set_width(NeatBarLayer *neat_bar, uint16_t width);
void neat_bar_layer_set_floating(NeatBarLayer *neat_bar, bool floating);
void neat_bar_layer_set_corner_radius(NeatBarLayer *neat_bar, uint16_t corner_radius);
void neat_bar_layer_set_background_color(NeatBarLayer *neat_bar, GColor background_color);