Embed TouchActionsPanel directly into the Android editor UI
This commit is contained in:
@@ -99,6 +99,11 @@ class ProjectSettingsEditor;
|
||||
class SceneImportSettingsDialog;
|
||||
class ProjectUpgradeTool;
|
||||
|
||||
#ifdef ANDROID_ENABLED
|
||||
class HBoxContainer;
|
||||
class TouchActionsPanel;
|
||||
#endif
|
||||
|
||||
struct EditorProgress {
|
||||
String task;
|
||||
bool force_background = false;
|
||||
@@ -276,6 +281,12 @@ private:
|
||||
VBoxContainer *main_vbox = nullptr;
|
||||
OptionButton *renderer = nullptr;
|
||||
|
||||
#ifdef ANDROID_ENABLED
|
||||
HBoxContainer *main_hbox = nullptr; // Only created on Android for TouchActionsPanel.
|
||||
TouchActionsPanel *touch_actions_panel = nullptr;
|
||||
void _touch_actions_panel_mode_changed();
|
||||
#endif
|
||||
|
||||
ConfirmationDialog *video_restart_dialog = nullptr;
|
||||
|
||||
int renderer_current = 0;
|
||||
|
||||
Reference in New Issue
Block a user