Make float offset adjustable
This commit is contained in:
+3
-4
@@ -15,9 +15,7 @@ typedef struct {
|
||||
ClickConfigProvider click_config_provider;
|
||||
GColor8 background_color;
|
||||
uint16_t corner_radius;
|
||||
bool floating;
|
||||
//uint8_t top_shrinkage;
|
||||
//uint8_t bottom_shrinkage;
|
||||
uint16_t x_offset;
|
||||
//int8_t spread; // positive integers push the icons further apart; negative integers pull them together
|
||||
//bool use_legacy_animations
|
||||
void *context;
|
||||
@@ -29,7 +27,8 @@ void neat_bar_layer_set_theme_default_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_height(NeatBarLayer *neat_bar, uint16_t height);
|
||||
void neat_bar_layer_set_floating(NeatBarLayer *neat_bar, bool floating);
|
||||
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_click_config_provider(NeatBarLayer *neat_bar, ClickConfigProvider click_config_provider);
|
||||
|
||||
Reference in New Issue
Block a user