![]() |
DeskSim v2 0.1
Train simulator prototype created for Lokførerskolen
|
The main menu widget. More...
#include <MainMenuWidget.h>
Public Member Functions | |
UMainMenuWidget (const FObjectInitializer &ObjectInitializer) | |
void | NativeOnInitialized () override |
Function for setting up native class members. | |
void | SetButtons () |
.Addign a function dynamic to all buttons | |
void | QuitGame () |
Quit's the game. | |
void | LogOut () |
Logs the user out of the game. | |
void | ChangeLayout (bool mode) |
Function for changing between Editor menu and Main menu. More... | |
void | ATCClicked () |
Changes the active widget in the menu to ATC. | |
void | ERTMSClicked () |
Changes the active widget in the menu to ERTMS. | |
void | INFRClicked () |
Changes the active widget in the menu to INFRASTRUKTUR. | |
void | FEILClicked () |
Changes the active widget in the menu to FEIL. | |
void | SKIFClicked () |
Changes the active widget in the menu to SKIFTING. | |
void | EKSTClicked () |
Changes the active widget in the menu to EKSTERN. | |
The main menu widget.
void UMainMenuWidget::ChangeLayout | ( | bool | mode | ) |
Function for changing between Editor menu and Main menu.
mode | - true = Editormode | false = MainMenuMode |