![]() |
Advanced Menu System
1.0
|
The Advanced Menu System leverages Common UI to deliver a robust and flexible multi-layered user interface, enhancing both the development process and the end-user experience.
Here are the key reasons for this choice:
UMenuScreenWidget is a widget class which has a container inside. It is used for switching screens. For Example: Intro -> Menu -> Loading Screen.
| Name | Description |
|---|---|
| bool bHasIntro | Whether or not widget has intro on spawn. |
| TSubclassOf<UCommonActivatableWidget> IntroWidget | Intro widget. |
| TSubclassOf<UCommonActivatableWidget> MainMenuWidget | Menu Widget. |
| Name | Description |
|---|---|
| OpenWidget | Dispalys the widget. |
UMenuBaseWidget is a fundamental menu class. Which is heart of the interface communication.
TabActivatableWidget is a Tab container which is optional. Tab mode can be turned on by setting bOpenTabFullScreen to false.
WindowActivatableWidget is a container for dialogs such as quit game etc.
| Name | Description |
|---|---|
| bool bOpenTabFullScreen | Open Widgets in fullscreen |
| bool bHasStartButton | Optional start button |
| EOpenWidgetTypes DoOnStartType | Do on start (Open Widget or custom event only) |
| bool bHasSettings | Optional settings button |
| EOpenWidgetTypes DoOnSettingsType | Do on settings (Open Widget or custom event only) |
| bool bHasQuitGame | Optional Quit game button |
| EOpenWidgetTypes DoOnQuitGameType | Do on quit (Open dialog window or custom event only) |
| TSubclassOf<UCommonActivatableWidget> StartWidget | Start widget class |
| TSubclassOf<UCommonActivatableWidget> SettingsWidget | Settings widget class |
| TSubclassOf<UCommonActivatableWidget> QuitGameWidget | Quit game widget class |
| Name | Description |
|---|---|
| OpenWidget | Dispalys the widget. |
| ShowDialogWindow | Opens dialog window |
| RemoveDialogWindow | Clears the dialog window |
UMenuSettingsWidget is a fundamental settings class.
SettingsActivatableWidget is a Tab container for settings(Vide/Graphics/Audio/Controls).
| Name | Description |
|---|---|
| TSubclassOf<UCommonActivatableWidget> MainMenuWidget | Menu widget class |
| TSubclassOf<UCommonActivatableWidget> VideoSettingsWidget | Video settings widget class |
| TSubclassOf<UCommonActivatableWidget> GraphicsSettingsWidget | Graphics settings widget class |
| TSubclassOf<UCommonActivatableWidget> AudioSettingsWidget | Audio settings widget class |
| TSubclassOf<UCommonActivatableWidget> ControlsSettingsWidget | Controls settings widget class |
| TSubclassOf<UCommonActivatableWidget> WindowSaveWidget | Save changes widget class |
Each setting tab has parametrs.The basic are instant apply and save class. Save class is used for saving the setting and for the defaults.
UQuestionWindowBaseWidget is a class for dialog windows.
| Name | Description |
|---|---|
| FText MessageText | Text |
| FColor MessageTextColor | Color |
| FSlateFontInfo MessageTextFont | Font |