OmegaEngine API  1.0.3
Classes | Enumerations | Functions
OmegaGUI.Model Namespace Reference

ditor-friendly, XML-serializable data model of the GUI. No render code. More...

Classes

class  Button
 Button control More...
 
class  ButtonBase
 A basis for Button-like control More...
 
class  ButtonStyle
 Represents a custom style for a GUI button More...
 
class  CheckBox
 CheckBox control More...
 
class  Control
 Abstract base class for all control views More...
 
class  Dialog
 An XML-serializable dialog view More...
 
class  DropdownList
 Combo box control More...
 
class  GroupBox
 GroupBox control More...
 
class  Label
 Label text control More...
 
class  ListBox
 List box control More...
 
class  LocaleFile
 A wrapper around an XmlDictionary used to store localized strings. More...
 
class  PictureBox
 
class  RadioButton
 Radio button control More...
 
class  ScrollBar
 A scroll bar control More...
 
class  Slider
 Slider control More...
 
class  TextBox
 A basic edit box More...
 

Enumerations

enum  HorizontalMode { HorizontalMode.FromLeft, HorizontalMode.FromRight, HorizontalMode.Center }
 
See also
Control.AlignHorizontal
More...
 
enum  VerticalMode { VerticalMode.FromTop, VerticalMode.FromBottom, VerticalMode.Center }
 
See also
Control.AlignVertical
More...
 

Functions

delegate void ScriptExecution (string script, string source)
 A delegate for executing a script More...
 

Detailed Description

ditor-friendly, XML-serializable data model of the GUI. No render code.

Enumeration Type Documentation

◆ HorizontalMode

See also
Control.AlignHorizontal

Enumerator
FromLeft 

X-values are interpreted as right-ward distance from the left border

FromRight 

X-values are interpreted as left-ward distance from the right border

Center 

X-values are interpreted as right-ward distance from the center

◆ VerticalMode

See also
Control.AlignVertical

Enumerator
FromTop 

Y-values are interpreted as down-ward distance from the top border

FromBottom 

Y-values are interpreted as up-ward distance from the bottom border

Center 

Y-values are interpreted as down-ward distance from the center

Function Documentation

◆ ScriptExecution()

delegate void OmegaGUI.Model.ScriptExecution ( string  script,
string  source 
)

A delegate for executing a script

Parameters
scriptThe script to be executed
sourceFrom where the script is being called
See also
Dialog.ScriptFired