@@ -26,7 +26,6 @@ public:
|
||||
0)...);
|
||||
|
||||
gui = static_cast<Gui*>(furi_record_open("gui"));
|
||||
view_dispatcher_attach_to_gui(view_dispatcher, gui, ViewDispatcherTypeFullscreen);
|
||||
};
|
||||
|
||||
~ViewController() {
|
||||
@@ -96,6 +95,10 @@ public:
|
||||
furi_check(result == FuriStatusOk);
|
||||
}
|
||||
|
||||
void attach_to_gui(ViewDispatcherType type) {
|
||||
view_dispatcher_attach_to_gui(view_dispatcher, gui, type);
|
||||
}
|
||||
|
||||
private:
|
||||
/**
|
||||
* @brief ViewModulesHolder
|
||||
|
Reference in New Issue
Block a user