Implement spread

This commit is contained in:
2026-07-19 13:16:54 -04:00
parent 8a04dd6c69
commit e7264a0adb
2 changed files with 18 additions and 4 deletions
+2 -1
View File
@@ -16,7 +16,7 @@ typedef struct {
GColor8 background_color;
uint16_t corner_radius;
uint16_t x_offset;
//int8_t spread; // positive integers push the icons further apart; negative integers pull them together
int8_t spread;
//bool use_legacy_animations
void *context;
} NeatBarLayer;
@@ -31,5 +31,6 @@ void neat_bar_layer_set_y_offset(NeatBarLayer *neat_bar, uint16_t y_offset);
void neat_bar_layer_set_floating(NeatBarLayer *neat_bar, uint16_t x_offset);
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);
void neat_bar_layer_set_spread(NeatBarLayer *neat_bar, int8_t spread);
void neat_bar_layer_set_click_config_provider(NeatBarLayer *neat_bar, ClickConfigProvider click_config_provider);
void neat_bar_layer_add_to_window(NeatBarLayer *neat_bar, Window *window);