|
void | SetSize (int w, int h) |
| Called to set dialog's size More...
|
|
void | SetCaptionText (string text) |
| Called to set dialog's caption More...
|
|
void | SetBackgroundColors (Color4 topLeft, Color4 topRight, Color4 bottomLeft, Color4 bottomRight) |
| Called to set dialog's border colors More...
|
|
void | SetBackgroundColors (Color4 allCorners) |
| Called to set dialog's border colors More...
|
|
void | SetCaptionColor (Color4 color) |
|
| Dialog (DialogManager manager, Color4 defaultTextColor, string defaultTexture, string defaultFont, uint defaultFontSize) |
| Create a new instance of the dialog class More...
|
|
| Dialog (DialogManager manager, Color4 defaultTextColor) |
| Create a new instance of the dialog class More...
|
|
| Dialog (DialogManager manager) |
| Create a new instance of the dialog class More...
|
|
void | RemoveAllControls () |
| Removes all controls from this dialog More...
|
|
void | ClearRadioButtonGroup (uint groupIndex) |
| Clears the radio button group More...
|
|
bool | MessageProc (IntPtr hWnd, WindowMessage msg, IntPtr wParam, IntPtr lParam) |
| Handle messages for this dialog More...
|
|
Control | GetControlAtPoint (Point pt) |
| Returns the control located at a point (if one exists) More...
|
|
void | SetDefaultElement (ControlType ctype, uint index, Element e) |
| Sets the default element More...
|
|
Element | GetDefaultElement (ControlType ctype, uint index) |
| Gets the default element More...
|
|
void | SetFont (uint index, string faceName, uint fontHeight, FontWeight weight) |
| Shared resource access. Indexed fonts and textures are shared among all the controls. More...
|
|
FontNode | GetFont (uint index) |
| Shared resource access. Indexed fonts and textures are shared among all the controls. More...
|
|
void | SetTexture (uint index, string filename) |
| Shared resource access. Indexed fonts and textures are shared among all the controls. More...
|
|
TextureNode | GetTexture (uint index) |
| Shared resource access. Indexed fonts and textures are shared among all the controls. More...
|
|
void | InitializeControl (Control control) |
| Initializes a control More...
|
|
void | AddControl (Control control) |
| Adds a control to the dialog More...
|
|
Label | AddStatic (int id, string text, int x, int y, int w, int h, bool isDefault) |
| Adds a static text control to the dialog More...
|
|
Label | AddStatic (int id, string text, int x, int y, int w, int h) |
| Adds a static text control to the dialog More...
|
|
PictureBox | AddPictureBox (int id, int x, int y, int w, int h, Element fill) |
| Adds a picture box control to the dialog More...
|
|
GroupBox | AddGroupBox (int id, int x, int y, int w, int h, Color4 borderColor, Color4 fillCo) |
| Adds a group box control to the dialog More...
|
|
Button | AddButton (int id, string text, int x, int y, int w, int h, Keys hotkey, bool isDefault) |
| Adds a button control to the dialog More...
|
|
Button | AddButton (int id, string text, int x, int y, int w, int h) |
| Adds a button control to the dialog More...
|
|
CheckBox | AddCheckBox (int id, string text, int x, int y, int w, int h, bool ischecked, Keys hotkey, bool isDefault) |
| Adds a checkbox to the dialog More...
|
|
CheckBox | AddCheckBox (int id, string text, int x, int y, int w, int h, bool ischecked) |
| Adds a checkbox control to the dialog More...
|
|
RadioButton | AddRadioButton (int id, uint groupId, string text, int x, int y, int w, int h, bool ischecked, Keys hotkey, bool isDefault) |
| Adds a radiobutton to the dialog More...
|
|
RadioButton | AddRadioButton (int id, uint groupId, string text, int x, int y, int w, int h, bool ischecked) |
| Adds a radio button control to the dialog More...
|
|
DropdownList | AddDropdownList (int id, int x, int y, int w, int h, Keys hotkey, bool isDefault) |
| Adds a dropdown list control to the dialog More...
|
|
DropdownList | AddDropdownList (int id, int x, int y, int w, int h) |
| Adds a dropdown list control to the dialog More...
|
|
Slider | AddSlider (int id, int x, int y, int w, int h, int min, int max, int initialValue, bool isDefault) |
| Adds a slider control to the dialog More...
|
|
Slider | AddSlider (int id, int x, int y, int w, int h) |
| Adds a slider control to the dialog More...
|
|
ScrollBar | AddScrollBar (int id, int x, int y, int w, int h, int min, int max, int initialValue, bool isDefault) |
| Adds a scroll bar control to the dialog More...
|
|
ScrollBar | AddScrollBar (int id, int x, int y, int w, int h) |
| Adds a scroll bar control to the dialog More...
|
|
ListBox | AddListBox (int id, int x, int y, int w, int h, ListBoxStyle style) |
| Adds a listbox control to the dialog More...
|
|
ListBox | AddListBox (int id, int x, int y, int w, int h) |
| Adds a listbox control to the dialog More...
|
|
TextBox | AddTextBox (int id, string text, int x, int y, int w, int h, bool isDefault) |
| Adds an edit box control to the dialog More...
|
|
TextBox | AddTextBox (int id, string text, int x, int y, int w, int h) |
| Adds an edit box control to the dialog More...
|
|
void | OnRender (float elapsedTime) |
| Render the dialog More...
|
|
void | Refresh () |
| Refresh the dialog More...
|
|
void | DrawText (string text, Element element, Rectangle rect, bool shadow) |
| Draw's some text More...
|
|
void | DrawSprite (Element element, Rectangle rect) |
| Draw a sprite More...
|
|
void | DrawText (string text, Element element, Rectangle rect) |
| Draw's some text More...
|
|
void | DrawRectangle (Rectangle rect, Color4 color, bool filled) |
| Draw a rectangle More...
|
|
A dialog model containing DirectX-based controls