Make icons x offset configurable (default to stock value)
This commit is contained in:
@@ -24,6 +24,7 @@ typedef struct {
|
||||
uint16_t rect_bar_corner_radius;
|
||||
uint16_t bar_x_offset;
|
||||
int8_t icons_spread;
|
||||
int8_t icons_x_offset;
|
||||
bool animations_enabled;
|
||||
bool animations_move_on_y_axis;
|
||||
int8_t animations_move_distance;
|
||||
@@ -49,6 +50,7 @@ void neat_bar_layer_set_bar_height(NeatBarLayer *neat_bar, uint16_t height);
|
||||
void neat_bar_layer_set_bar_y_offset(NeatBarLayer *neat_bar, uint16_t y_offset);
|
||||
void neat_bar_layer_set_background_color(NeatBarLayer *neat_bar, GColor background_color);
|
||||
void neat_bar_layer_set_icons_spread(NeatBarLayer *neat_bar, int8_t spread);
|
||||
void neat_bar_layer_set_icons_x_offset(NeatBarLayer *neat_bar, int8_t x_offset);
|
||||
void neat_bar_layer_set_icon(NeatBarLayer *layer, ButtonId button_id, GBitmap *icon);
|
||||
NeatBarLayer *neat_bar_layer_create();
|
||||
void neat_bar_layer_destroy(NeatBarLayer *neat_bar);
|
||||
|
||||
Reference in New Issue
Block a user