SpaceVIL
Public Member Functions | List of all members
SpaceVIL.MessageBox Class Reference

Inherits SpaceVIL.DialogWindow.

Public Member Functions

bool Result ()
 Get MessageBox boolean result More...
 
String GetMessageText ()
 MessageBox text More...
 
void SetMessageText (String text)
 
 MessageBox (String m="", String t="")
 Constructs a MessageBox with message and title More...
 
override void InitWindow ()
 Initialize MessageBox window More...
 
override void Show ()
 Show MessageBox More...
 
- Public Member Functions inherited from SpaceVIL.DialogWindow
 DialogWindow ()
 Constructs a DialogWindow More...
 
- Public Member Functions inherited from SpaceVIL.CoreWindow
 CoreWindow ()
 Constructs a CoreWindow More...
 
void SetParameters (String name, String title)
 
void SetParameters (String name, String title, int width, int height)
 
void SetParameters (String name, String title, int width, int height, bool isBorder)
 
virtual void Close ()
 Close the CoreWindow More...
 
int GetCount ()
 
Returns
count of all CoreWindows

 
Guid GetWindowGuid ()
 
Returns
CoreWindow unique ID

 
void SetBackground (Color color)
 
void SetBackground (int r, int g, int b)
 
void SetBackground (int r, int g, int b, int a)
 
void SetBackground (float r, float g, float b)
 
void SetBackground (float r, float g, float b, float a)
 
Color GetBackground ()
 
void SetPadding (Indents padding)
 
void SetPadding (int left, int top, int right, int bottom)
 
List< IBaseItemGetItems ()
 
void AddItem (IBaseItem item)
 
void AddItems (params IBaseItem[] items)
 
void InsertItem (IBaseItem item, int index)
 
bool RemoveItem (IBaseItem item)
 
void clear ()
 
void SetWindowName (String value)
 
String GetWindowName ()
 
void SetWindowTitle (String title)
 
String GetWindowTitle ()
 
void SetMinWidth (int width)
 
void SetWidth (int width)
 
void SetMaxWidth (int width)
 
void SetMinHeight (int height)
 
void SetHeight (int height)
 
void SetMaxHeight (int height)
 
int GetMinWidth ()
 
int GetWidth ()
 
int GetMaxWidth ()
 
int GetMinHeight ()
 
int GetHeight ()
 
int GetMaxHeight ()
 
void SetSize (int width, int height)
 
void SetMinSize (int width, int height)
 
void SetMaxSize (int width, int height)
 
int [] GetSize ()
 
void SetX (int x)
 
int GetX ()
 
void SetY (int y)
 
int GetY ()
 
void SetAntiAliasingQuality (MSAA msaa)
 
void SetFocus (Boolean value)
 
void SetWindowFocused ()
 
void Minimize ()
 
void Maximize ()
 
Prototype GetFocusedItem ()
 
void SetFocusedItem (Prototype item)
 
void SetFocus ()
 
void ResetItems ()
 
void ResetFocus ()
 
void SetIcon (Image icon_big, Image icon_small)
 
void SetHidden (Boolean value)
 
void SetRenderFrequency (RedrawFrequency value)
 
RedrawFrequency GetRenderFrequency ()
 
void SetAspectRatio (int w, int h)
 

Additional Inherited Members

- Public Attributes inherited from SpaceVIL.CoreWindow
bool IsDialog
 
bool IsClosed
 
bool IsHidden
 
bool IsResizable
 
bool IsAlwaysOnTop
 
bool IsBorderHidden
 
bool IsCentered
 
bool IsFocusable
 
bool IsOutsideClickClosable
 
bool IsMaximized = false
 
bool IsFocused
 
EventCommonMethod EventClose
 
EventCommonMethod EventMinimize
 
EventCommonMethod EventHide
 
EventCommonMethodState EventResize
 
EventCommonMethodState EventDestroy
 
EventMouseMethodState EventMouseHover
 
EventMouseMethodState EventMouseLeave
 
EventMouseMethodState EventMouseClick
 
EventMouseMethodState EventMouseDoubleClick
 
EventMouseMethodState EventMousePress
 
EventMouseMethodState EventMouseDrag
 
EventMouseMethodState EventMouseDrop
 
EventMouseMethodState EventScrollUp
 
EventMouseMethodState EventScrollDown
 
EventKeyMethodState EventKeyPress
 
EventKeyMethodState EventKeyRelease
 
EventInputTextMethodState EventTextInput
 
EventWindowDropMethod EventDrop
 
- Properties inherited from SpaceVIL.DialogWindow
String DialogTitle [get, set]
 DialogWindow title text More...
 

Constructor & Destructor Documentation

◆ MessageBox()

SpaceVIL.MessageBox.MessageBox ( String  m = "",
String  t = "" 
)

Constructs a MessageBox with message and title

Member Function Documentation

◆ GetMessageText()

String SpaceVIL.MessageBox.GetMessageText ( )

MessageBox text

◆ InitWindow()

override void SpaceVIL.MessageBox.InitWindow ( )
virtual

Initialize MessageBox window

Implements SpaceVIL.CoreWindow.

◆ Result()

bool SpaceVIL.MessageBox.Result ( )

Get MessageBox boolean result

◆ Show()

override void SpaceVIL.MessageBox.Show ( )
virtual

Show MessageBox

Reimplemented from SpaceVIL.CoreWindow.


The documentation for this class was generated from the following file: