Add destroy helper
This commit is contained in:
+6
-5
@@ -21,16 +21,17 @@ typedef struct {
|
||||
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_legacy_rect(NeatBarLayer *neat_bar);
|
||||
void neat_bar_layer_add_to_window(NeatBarLayer *neat_bar, Window *window);
|
||||
void neat_bar_layer_set_click_config_provider(NeatBarLayer *neat_bar, ClickConfigProvider click_config_provider);
|
||||
void neat_bar_layer_set_floating(NeatBarLayer *neat_bar, uint16_t x_offset);
|
||||
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_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);
|
||||
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