FairyGUI.Window
class FairyGUI.Window
Fields and Properties:
bool bringToFontOnClick
- Description:
FairyGUI.GComponent contentPane
- Description:
FairyGUI.GComponent frame
- Description:
FairyGUI.GObject closeButton
- Description:
FairyGUI.GObject dragArea
- Description:
FairyGUI.GObject contentArea
- Description:
FairyGUI.GObject modalWaitingPane
- Description:
bool isShowing
- Description:
bool isTop
- Description:
bool modal
- Description:
bool modalWaiting
- Description:
Constructors:
FairyGUI.Window.New()
Methods:
void Show()
- Description:
void ShowOn(FairyGUI.GRoot)
- Description:
- Parameter r:
void Hide()
- Description:
void HideImmediately()
- Description: Hide window immediately, no OnHide will be called.
void CenterOn(FairyGUI.GRoot, bool)
- Description: Make the window be center of the screen.
- Parameter r:
- Parameter restraint: Add relations to ensure keeping center on screen size changed.
void ToggleStatus()
- Description: Switch show and hide status.
void BringToFront()
- Description:
void ShowModalWait()
- Description:
void ShowModalWait(int)
- Description: Display a modal waiting sign in the front. Displays a modal waiting sign at the front. The resource for the modal waiting sign can be configured through UIConfig.windowModalWaiting. The modal waiting sign component is set to the screen size, so ensure the relevant settings are made internally. You can also specify a requestingCmd command word for waiting. If the same command word is passed to CloseModalWait, the ModalWait will end; otherwise, CloseModalWait will be ineffective.
- Parameter requestingCmd:
bool CloseModalWait()
- Description:
- Return:
bool CloseModalWait(int)
- Description: Close modal waiting. If rquestingCmd is equal to the value you transfer in ShowModalWait, mowal wait will be closed. Otherwise, this function has no effect.
- Parameter requestingCmd:
- Return:
void Init()
- Description:
void Dispose()