Compare commits
2 Commits
1f07cf7563
...
2a909727c0
| Author | SHA1 | Date | |
|---|---|---|---|
| 2a909727c0 | |||
| ba80a2972a |
@@ -19,3 +19,5 @@
|
|||||||
### Pending Features
|
### Pending Features
|
||||||
- Optional AA on bar corners
|
- Optional AA on bar corners
|
||||||
- Legacy (background invert) animations support
|
- Legacy (background invert) animations support
|
||||||
|
- Customizable round bar size
|
||||||
|
- Legacy and default theme setters
|
||||||
|
|||||||
+1
-3
@@ -315,7 +315,7 @@ void neat_bar_layer_set_background_color(NeatBarLayer *neat_bar, GColor backgrou
|
|||||||
layer_mark_dirty(neat_bar->main_layer);
|
layer_mark_dirty(neat_bar->main_layer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// default: 0
|
// default: DEFAULT_SPREAD
|
||||||
void neat_bar_layer_set_icons_spread(NeatBarLayer *neat_bar, int8_t spread) {
|
void neat_bar_layer_set_icons_spread(NeatBarLayer *neat_bar, int8_t spread) {
|
||||||
if (spread == neat_bar->icons_spread) {
|
if (spread == neat_bar->icons_spread) {
|
||||||
return;
|
return;
|
||||||
@@ -380,8 +380,6 @@ void neat_bar_layer_set_icon(NeatBarLayer *neat_bar, ButtonId button_id, GBitmap
|
|||||||
bitmap_layer_set_bitmap(current_bitmap_layer, icon);
|
bitmap_layer_set_bitmap(current_bitmap_layer, icon);
|
||||||
#if PBL_COLOR
|
#if PBL_COLOR
|
||||||
bitmap_layer_set_compositing_mode(current_bitmap_layer, GCompOpSet);
|
bitmap_layer_set_compositing_mode(current_bitmap_layer, GCompOpSet);
|
||||||
#else
|
|
||||||
bitmap_layer_set_background_color(current_bitmap_layer, neat_bar->background_color);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user