GUI.GUIController
- Extends
- BaseGUIController
- Modifiers
- Config ( GuiBase ) HideCategories ( Menu , Object ) Native
Core.Object
|
+-- Engine.Interactions
|
+-- Engine.Interaction
|
+-- Engine.BaseGUIController
|
+-- GUI.GUIController
Direct Known Subclasses:
TribesGUIControllerBase
Functions Summary |
| | AlignControlsInGroup (GUIComponent Ctrl, eComponentAlign align ))
|
| | AutoLoadMenus ()))
|
| | CenterOfControl (GUIComponent Ctrl, out float left, out float top ))
|
| | ChangeActiveStyle (String newStyle))
|
| | ChangeFocus (GUIComponent NewFocus))
|
| | ChangeGridSize (int newSize))
|
| | ChangeResolutionX (int newSize))
|
| | ChangeResolutionY (int newSize))
|
| | CloseAll ()))
|
| bool | CloseMenu ()))
|
| bool | ComponentIsRegisteredForResolutionChanged (GUIComponent Component))
|
| GUIComponent | CreateComponent (string ComponentClass, ptional string ComponentName))
|
| GUIPage | CreateMenu (string NewMenuName, ptional string MenuNameOverride))
|
| | DoScalingOnComponent (GUIComponent Ctrl, bool bScaleIt, optional bool bPropagate ))
|
| GUIComponent | FindPersistentComponent (string theName, optional bool bExact ))
|
| String | FixGUIComponentName (String ComponentName ))
|
| string | GetCurrentRes ()
|
| bool | GetDEMHeader (string DemoName, out string MapName, out string GameType, out int ScoreLimit, out int TimeLimit, out int ClientSide, out string RecordedBy, out string Timestamp, out String ReqPackages)
|
| | GetDEMList (out array<string> DEMFiles)
|
| | GetGuiResolution ()))
|
| | GetMapList (string Prefix, GUIList list)
|
| GUIFont | GetMenuFont (string FontName)
|
| GUIStyles | GetStyle (string StyleName)
|
| | GroupControl (GUIComponent Ctrl, int group ))
|
| bool | HasMouseMoved ()))
|
| | InitializeController ()))
|
| bool | InternalOpenMenu (GUIPage NewMenu, optional string Param1, optional string Param2, optional int param3 ))
|
| bool | IsPageActive (string MenuClass))
|
| | KillControlGroup (int group ))
|
| LevelSummary | LoadLevelSummary (string LevelSummaryName)
|
| | LoadLocalizedPerObjectConfig ()))
|
| | LoadLocalizedPerObjectConfigGUI ()))
|
| | LogGUI ()))
|
| | LogGUIComponent (GUIComponent Ctrl, optional int level ))
|
| | LogGUIPage (GUIPage Page ))
|
| | MakeMoveGroup ()))
|
| | MouseEmulation (bool On)
|
| | MoveControlGroup (int fromGroup, int toGroup ))
|
| | MoveFocused (GUIComponent Ctrl, int bmLeft, int bmTop, int bmWidth, int bmHeight, float ClipX, float ClipY, optional bool bMoveGroup))
|
| | NotifyLevelChange ()))
|
| | onGameplayMessage (Message msg))
|
| | OnProgress (string Str1, string Str2))
|
| | OnResolutionChanged (int OldResolutionX, int OldResolutionY, int NewResolutionX, int NewResolutionY))
|
| bool | OpenMenu (string NewMenuName, optional string MenuNameOverride, optional string Param1, optional string Param2, optional int param3))
|
| | PaintProgress ()
|
| GUIPage | ParentPage ()))
|
| | PostLevelChange (LevelInfo newLevel, bool bSaveGame))
|
| | PreLevelChange (string DestURL, LevelSummary NewSummary))
|
| | RedoActiveComponent (GUIComponent Ctrl, optional bool bMoveGroup))
|
| bool | RegisterFont (String FontClass))
|
| | RegisterNotifyResolutionChanged (GUIComponent Component))
|
| bool | RegisterStyle (String StyleClass))
|
| | ReloadGUI ()))
|
| | RemoveMenu (string MenuName)
|
| | RemovePersistentComponent (GUIComponent Ctrl ))
|
| bool | ReplaceMenu (string NewMenuName, optional string MenuNameOverride, optional string Param1, optional string Param2, optional int param3))
|
| | ResetFocus ()))
|
| | ResetKeyboard ()
|
| | ResolutionToScale (GUIComponent Ctrl, optional bool bPropagate))
|
| | SaveActiveComponent (GUIComponent Ctrl, optional bool bMoveGroup))
|
| | SaveComponent (GUIComponent Ctrl))
|
| | ScaleToResolution (GUIComponent Ctrl, optional bool bPropagate))
|
| | SelectNextControlInMoveGroup ()))
|
| | SetCaptureScriptExec (bool bCapture))
|
| | SetChildrenDirty (GUIMultiComponent C))
|
| | SetControllerStatus (bool On))
|
| | SetFocusedPos (GUIComponent Ctrl, float bmLeft, float bmTop, int ClipX, int ClipY))
|
| | SetGuiResolution ()))
|
| | SizeControlsInGroup (GUIComponent Ctrl, eComponentSize size ))
|
| | SizeOfControl (GUIComponent Ctrl, out float size ))
|
| | SnapToGrid (GUIComponent Ctrl, bool bResized))
|
| | ToggleActiveComponentSizing (GUIComponent Ctrl, optional bool bPropagate, optional bool bMoveGroup))
|
| | ToggleSnapToGrid ()))
|
| GUIPage | TopPage ()))
|
| | UndoActiveComponent (GUIComponent Ctrl, optional bool bMoveGroup))
|
| | UnRegisterNotifyResolutionChanged (GUIComponent Component))
|
| | UpdateControl (GUIComponent Ctrl, bool bResized))
|
Inherited Functions from Engine.BaseGUIController |
AutoLoadMenuClass, AutoLoadMenus, CloseAll, CloseMenu, InitializeController, IsPageActive, onGameplayMessage, OnMojoFinished, OnNetworkBrowse, OnProgress, OpenMenu, PostLevelChange, PostPrecache, PreLevelChange, RemoveMenu, ReplaceMenu, SetControllerStatus, ShouldSuppressLevelRender |
Inherited Functions from Engine.Interaction |
ConsoleCommand, Initialize, Initialized, KeyEvent, KeyType, Message, PostBeginPlay, PostRender, PreRender, ScreenToWorld, SetFocus, Tick, WorldToScreen |
InterestedResolutionChanged Source code
var private array<
GUIComponent> InterestedResolutionChanged;
var Byte JoyButtons[64];
var float JoyControlsDelta[16];
var Float JoyLeftXAxis[4];
var Float JoyLeftYAxis[4];
var Float JoyRightXAxis[4];
var Float JoyRightYAxis[4];
ActorAdjustments
var(ActorAdjustments) config float GUI_TO_WORLD_X;
var(ActorAdjustments) config float GUI_TO_WORLD_Y;
Clipboard
var(Clipboard) EditConst Editinline
GUIComponent SaveControl;
var(Clipboard) EditConst Editinline
GUIStyles SaveStyle;
Cursors
var(Cursors) editinline config Array<
vector> MouseCursorOffset;
var(Cursors) editinline config Array<
Material> MouseCursors;
DEBUG
var(DEBUG) private bool CaptureScriptExec;
EditorState
var(EditorState) EditConst Editinline
GUIPage ActivePage;
var(EditorState) EditConst bool bComponentMenu;
var(EditorState) EditConst bool bEditing;
var(EditorState) editconst bool bHasLoadedPackages;
var(EditorState) EditConst bool bHelpDisplay;
var(EditorState) EditConst bool bLastScaled;
var(EditorState) EditConst bool bMemberDisplay;
var(EditorState) EditConst bool bMemberEdit;
var(EditorState) EditConst bool bMousePositioning;
var(EditorState) EditConst bool bShowConfigMembers;
var(EditorState) EditConst bool bShowGUIMembers;
var(EditorState) EditConst bool bShowPageList;
var(EditorState) EditConst bool bStyleCreate;
var(EditorState) EditConst bool bStylesDisplay;
var(EditorState) EditConst int CurrentMember;
var(EditorState) EditConst string CurrentMemberObjName;
var(EditorState) EditConst array<string> CurrentMemberObjValue;
var(EditorState) EditConst Editinline Array<
GUIFont> FontStack;
var(EditorState) EditConst int MemberEditLevel;
var(EditorState) EditConst int MemberEditPosition;
var(EditorState) EditConst Editinline export array<
GUIPage> MenuStack;
var(EditorState) EditInline EditConst array<
sMoveGroup> MoveGroups;
var(EditorState) EditConst Editinline Array<
GUIStyles> StyleStack;
Grid
var(Grid) config bool bSnapToGrid;
var(Grid) config int GridSize;
var(Grid) EditConst config int ResolutionX;
var(Grid) EditConst config int ResolutionY;
GUIController
var(
GUIController) editinline config array<
string> ComponentClassList;
var(
GUIController) editinline config localized array<
string> HelpStack;
GUIPages
var(GUIPages) Editinline EditConst Array<
GUIComponent> PersistentStack;
Misc
var(Misc) config bool bEmulatedJoypad;
var(Misc) config bool bHideMouseCursor;
var(Misc) config bool bJoyMouse;
var(Misc) config float JoyDeadZone;
var(Misc) config float MenuMouseSens;
MiscState
var(MiscState) Editconst bool AltPressed;
var(MiscState) Editconst bool bDesignMode;
var(MiscState) config bool bDontDisplayHelpText;
var(MiscState) Editconst bool bForceMouseCheck;
var(MiscState) Editconst bool bHighlightCurrent;
var(MiscState) config bool bModAuthor;
var(MiscState) Editconst bool bPlayerDesignMode;
var(MiscState) Editconst bool bSwallowNextKeyType;
var(MiscState) Editconst float ButtonRepeatDelay;
var(MiscState) Editconst byte ControllerId;
var(MiscState) Editconst byte ControllerMask;
var(MiscState) Editconst bool CtrlPressed;
var(MiscState) Editconst float CursorFade;
var(MiscState) Editconst int CursorStep;
var(MiscState) Config float DblClickWindow;
var(MiscState) Editconst float FastCursorFade;
var(MiscState) Editconst int FastCursorStep;
var(MiscState) Editconst float LastClickTime;
var(MiscState) Editconst int LastClickX;
var(MiscState) Editconst int LastClickY;
var(MiscState) Editconst float LastMouseX;
var(MiscState) Editconst float LastMouseY;
var(MiscState) Editconst float MouseX;
var(MiscState) Editconst float MouseY;
var(MiscState) Editconst float RepeatDelta[4];
var(MiscState) Editconst byte RepeatKey[4];
var(MiscState) Editconst float RepeatTime[4];
var(MiscState) Editconst float SavedMoveOffsetX;
var(MiscState) Editconst float SavedMoveOffsetY;
var(MiscState) Editconst bool ShiftPressed;
Sounds
var(Sounds) config sound ClickSound;
var(Sounds) config sound DownSound;
var(Sounds) config sound EditSound;
var(Sounds) config sound MouseOverSound;
var(Sounds) config sound UpSound;
enum
eComponentAlign
{
cALIGN_Left,
cALIGN_Right,
cALIGN_Top,
cALIGN_Bottom,
};
delegate bool OnNeedRawKeyPress ( byte NewKey )
event AutoLoadMenus ( ) )
function CenterOfControl (
GUIComponent Ctrl, out
float left, out
float top ) )
function ChangeActiveStyle ( String newStyle) )
function ChangeGridSize ( int newSize) )
function ChangeResolutionX ( int newSize) )
function ChangeResolutionY ( int newSize) )
event CloseAll ( ) )
event bool CloseMenu ( ) )
ComponentIsRegisteredForResolutionChanged Source code
function bool ComponentIsRegisteredForResolutionChanged (
GUIComponent Component) )
event
GUIComponent CreateComponent (
string ComponentClass,optional
string ComponentName) )
event
GUIPage CreateMenu (
string NewMenuName,optional
string MenuNameOverride) )
private
function DoScalingOnComponent (
GUIComponent Ctrl,
bool bScaleIt, optional
bool bPropagate ) )
FindPersistentComponent Source code
event
GUIComponent FindPersistentComponent (
string theName, optional
bool bExact ) )
function String FixGUIComponentName ( String ComponentName ) )
native function string GetCurrentRes ( )
native function bool GetDEMHeader ( string DemoName, out string MapName, out string GameType,
out int ScoreLimit, out int TimeLimit, out int ClientSide,
out string RecordedBy, out string Timestamp, out String ReqPackages )
native function GetDEMList ( out array<string> DEMFiles )
event GetGuiResolution ( ) )
native
function GetMapList (
string Prefix,
GUIList list )
native event
GUIFont GetMenuFont (
string FontName )
native event
GUIStyles GetStyle (
string StyleName )
function bool HasMouseMoved ( ) )
event InitializeController ( ) )
event
bool InternalOpenMenu (
GUIPage NewMenu, optional
string Param1, optional
string Param2, optional
int param3 ) )
event bool IsPageActive ( string MenuClass) )
event KillControlGroup ( int group ) )
native
function LevelSummary LoadLevelSummary (
string LevelSummaryName )
LoadLocalizedPerObjectConfig Source code
exec function LoadLocalizedPerObjectConfig ( ) )
LoadLocalizedPerObjectConfigGUI Source code
exec function LoadLocalizedPerObjectConfigGUI ( ) )
event LogGUI ( ) )
event LogGUIComponent (
GUIComponent Ctrl, optional
int level ) )
event LogGUIPage (
GUIPage Page ) )
function MakeMoveGroup ( ) )
native function MouseEmulation ( bool On )
event MoveControlGroup ( int fromGroup, int toGroup ) )
event MoveFocused (
GUIComponent Ctrl,
int bmLeft,
int bmTop,
int bmWidth,
int bmHeight,
float ClipX,
float ClipY, optional
bool bMoveGroup) )
event NotifyLevelChange ( ) )
function onGameplayMessage (
Message msg) )
function OnProgress ( string Str1, string Str2) )
event OnResolutionChanged ( int OldResolutionX, int OldResolutionY, int NewResolutionX, int NewResolutionY) )
event bool OpenMenu ( string NewMenuName, optional string MenuNameOverride, optional string Param1, optional string Param2, optional int param3) )
native function PaintProgress ( )
event PostLevelChange (
LevelInfo newLevel,
bool bSaveGame) )
event PreLevelChange (
string DestURL,
LevelSummary NewSummary) )
event RedoActiveComponent (
GUIComponent Ctrl, optional
bool bMoveGroup) )
event bool RegisterFont ( String FontClass) )
RegisterNotifyResolutionChanged Source code
function RegisterNotifyResolutionChanged (
GUIComponent Component) )
event bool RegisterStyle ( String StyleClass) )
event ReloadGUI ( ) )
native function RemoveMenu ( string MenuName )
RemovePersistentComponent Source code
event bool ReplaceMenu ( string NewMenuName, optional string MenuNameOverride, optional string Param1, optional string Param2, optional int param3) )
function ResetFocus ( ) )
native function ResetKeyboard ( )
function ResolutionToScale (
GUIComponent Ctrl, optional
bool bPropagate) )
event SaveActiveComponent (
GUIComponent Ctrl, optional
bool bMoveGroup) )
function ScaleToResolution (
GUIComponent Ctrl, optional
bool bPropagate) )
SelectNextControlInMoveGroup Source code
event SelectNextControlInMoveGroup ( ) )
function SetCaptureScriptExec ( bool bCapture) )
function SetControllerStatus ( bool On) )
event SetFocusedPos (
GUIComponent Ctrl,
float bmLeft,
float bmTop,
int ClipX,
int ClipY) )
function SetGuiResolution ( ) )
function SizeOfControl (
GUIComponent Ctrl, out
float size ) )
ToggleActiveComponentSizing Source code
event ToggleActiveComponentSizing (
GUIComponent Ctrl, optional
bool bPropagate, optional
bool bMoveGroup) )
event ToggleSnapToGrid ( ) )
event UndoActiveComponent (
GUIComponent Ctrl, optional
bool bMoveGroup) )
UnRegisterNotifyResolutionChanged Source code
function UnRegisterNotifyResolutionChanged (
GUIComponent Component) )
defaultproperties
{
ButtonRepeatDelay=0.25
CursorStep=3
FastCursorStep=3
WhiteBorder=Material'GUITribes.Outline'
DblClickWindow=0.5
MenuMouseSens=1.0
bHighlightCurrent=true
ControllerMask=255
bEmulatedJoypad=false
bJoyMouse=false
bHideMouseCursor=false
JoyDeadZone=0.3
GridSize=2
bSnapToGrid=false
ResolutionX=720
ResolutionY=540
bMousePositioning=false
GUI_TO_WORLD_X=160.0
GUI_TO_WORLD_Y=125.0
bShowGUIMembers=true
bDontDisplayHelpText=true
CaptureScriptExec=0
}
|
Creation time: st 23.5.2018 00:10:30.136 - Created with
UnCodeX