[FL-867] GUI: ViewPort arrangement API, better input and draw dispatching (#333)
* Input: refactoring, platform agnostic key configuration, update usage across project. Minor queue usage fixes and tick timings. * Gui: lighter and more efficient input and draw call dispatching, ViewPort rearranging API. View: conditional model updates, API usage update. * BT: smaller update delay * GUI: ViewPort visibility check
This commit is contained in:
@@ -102,10 +102,10 @@ void* view_get_model(View* view) {
|
||||
return view->model;
|
||||
}
|
||||
|
||||
void view_commit_model(View* view) {
|
||||
void view_commit_model(View* view, bool update) {
|
||||
furi_assert(view);
|
||||
view_unlock_model(view);
|
||||
if(view->dispatcher) {
|
||||
if(update && view->dispatcher) {
|
||||
view_dispatcher_update(view->dispatcher, view);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user