Public Member Functions | Public Attributes | List of all members
SpaceVIL.CoreWindow Class Referenceabstract

Inherited by SpaceVIL.ActiveWindow, and SpaceVIL.DialogWindow.

Public Member Functions

 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 Show ()
 Show the CoreWindow More...
virtual void Close ()
 Close the CoreWindow More...
abstract void InitWindow ()
 Initialize the window More...
int GetCount ()
count of all CoreWindows

Guid GetWindowGuid ()
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)

Public Attributes

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

Constructor & Destructor Documentation

◆ CoreWindow()

SpaceVIL.CoreWindow.CoreWindow ( )

Constructs a CoreWindow

Member Function Documentation

◆ Close()

virtual void SpaceVIL.CoreWindow.Close ( )

Close the CoreWindow

◆ InitWindow()

abstract void SpaceVIL.CoreWindow.InitWindow ( )
pure virtual

Initialize the window

Implemented in SpaceVIL.MessageBox.

◆ Show()

virtual void SpaceVIL.CoreWindow.Show ( )

Show the CoreWindow

Reimplemented in SpaceVIL.MessageBox.

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