Enable custom corner radius
This commit is contained in:
+3
-1
@@ -13,14 +13,16 @@ typedef struct {
|
||||
BitmapLayer *select_layer;
|
||||
ClickConfigProvider click_config_provider;
|
||||
GColor8 background_color;
|
||||
uint16_t corner_radius;
|
||||
//int8_t spread; // positive integers push the icons further apart; negative integers pull them together
|
||||
//uint8_t animation_type; // 0 = press, 1 = invert
|
||||
//uint8_t shape; // 0 = rect/round, 1 = rect/rect, 2 = rect/round (legacy), 3 = rect/rect (legacy)
|
||||
//bool force_rectangular;
|
||||
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_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);
|
||||
void neat_bar_layer_add_to_window(NeatBarLayer *neat_bar, Window *window);
|
||||
|
||||
Reference in New Issue
Block a user