PixelCrushers.DialogueSystem.UnityGUI.Wrappers.GUIControl Class Reference

This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class. More...

Inheritance diagram for PixelCrushers.DialogueSystem.UnityGUI.Wrappers.GUIControl:
Collaboration diagram for PixelCrushers.DialogueSystem.UnityGUI.Wrappers.GUIControl:

Additional Inherited Members

- Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIControl
virtual void Awake ()
 
virtual void OnEnable ()
 Checks if the control needs to enable the first child for key/controller navigation.
 
void Draw (Vector2 relativeMousePosition)
 Draw the control and its children.
 
virtual void DrawSelf (Vector2 relativeMousePosition)
 Draws the control, but not its children.
 
virtual void DrawChildren (Vector2 relativeMousePosition)
 Draws the children, taking into account key/controller navigation if enabled.
 
virtual void Update ()
 If navigation is enabled, check if the selection button was pressed.
 
virtual void Refresh (Vector2 windowSize)
 Marks a control as needing to update its layout.
 
virtual void Refresh ()
 
virtual void UpdateLayout ()
 Updates the layout (size, position, formatting, etc.) of the control and its children.
 
virtual void UpdateLayoutSelf ()
 Updates the control's layout but not its children.
 
virtual void AutoSizeSelf ()
 Auto-sizes the control according to the autoSize settings.
 
- Public Attributes inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIControl
int depth = 0
 The drawing order depth.
 
bool depthSortChildren = false
 If true, children are drawn in depth order; otherwise no specific order.
 
ScaledRect scaledRect = new ScaledRect(ScaledRect.wholeScreen)
 The scaled rect defining the position of the control.
 
AutoSize autoSize
 Auto-size settings.
 
Fit fit
 Fit settings.
 
Navigation navigation
 Keyboard/controller navigation settings.
 
bool visible = true
 If true, this control and its children are visible.
 
bool clipChildren = true
 Clip children to the control's bounds?
 
- Protected Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIControl
virtual void FitSelf ()
 Fits the control according to the fit settings.
 
- Properties inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIControl
Rect rect [get, set]
 The pixel rect represented by scaledRect.
 
Vector2 Offset [get, set]
 Gets or sets the offset to apply to the screen rect for this control; useful for manual repositioning outside the normal GUI control system.
 
List< GUIControlChildren [get]
 The child controls.
 
bool NeedToUpdateLayout [get, set]
 When true, the control needs to update its style, size, position, etc.
 
Vector2 WindowSize [get, set]
 The size of the window most recently passed to Refresh().
 
bool IsNavigationEnabled [get]
 Gets a value indicating whether keyboard/controller navigation is enabled.
 
string FullName [get]
 Gets the full name of the GameObject, used to focus the control when using keyboard/controller navigation.
 
Vector2 dRect [get, set]
 Gets or sets dRect, which offsets the rect when the parent window isn't clipping.
 

Detailed Description

This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class.


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