mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-22 05:14:46 -07:00
Merge remote-tracking branch 'ul/dev' into mntm-dev --nobuild
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
View* view_alloc(void) {
|
||||
View* view = malloc(sizeof(View));
|
||||
view->orientation = ViewOrientationHorizontal;
|
||||
view_init(view);
|
||||
return view;
|
||||
}
|
||||
|
||||
@@ -12,6 +12,10 @@ void view_free(View* view) {
|
||||
free(view);
|
||||
}
|
||||
|
||||
void view_init(View* view) {
|
||||
view->orientation = ViewOrientationHorizontal;
|
||||
}
|
||||
|
||||
void view_tie_icon_animation(View* view, IconAnimation* icon_animation) {
|
||||
furi_check(view);
|
||||
icon_animation_set_update_callback(icon_animation, view_icon_animation_callback, view);
|
||||
|
||||
Reference in New Issue
Block a user