The actual GUI to render the frame dumps differences of multiple dumps send by different clients. Uses Unity Immediate Mode GUI. More...
Classes | |
class | FrameDifferState |
The state saves multiple frame dumps. More... | |
Public Member Functions | |
abstract void | DrawHeader () |
Draws the header of the GUI. More... | |
void | OnGUI () |
Should be invoked from Unity OnGUI method to draw the GUI. More... | |
virtual void | Repaint () |
Toggles a windows repaint. More... | |
void | Show () |
Toggles the _hidden flag. More... | |
Public Attributes | |
int | ReferenceActorId = 0 |
The actor id to use as a reference state when comparing differences. More... | |
virtual float | ScrollWidth => 16.0f |
Returns the scroll width. Default is 16. More... | |
Protected Member Functions | |
QuantumFrameDifferGUI (FrameDifferState state) | |
Create a new GUI frame differ instance using the given state. More... | |
Protected Attributes | |
Boolean | _hidden |
True if the GUI is not rendered. More... | |
Properties | |
virtual GUIStyle | BoldLabel [get] |
Returns the bold label style. Can be customized in derived classes. More... | |
virtual GUIStyle | DiffBackground [get] |
Returns the background style. Can be customized in derived classes. More... | |
virtual GUIStyle | DiffHeader [get] |
Returns the header style. Can be customized in derived classes. More... | |
virtual GUIStyle | DiffHeaderError [get] |
Returns the error header style. Can be customized in derived classes. More... | |
virtual GUIStyle | DiffLineOverlay [get] |
Returns the line overlay style. Can be customized in derived classes. More... | |
virtual Boolean | IsEditor [get] |
Returns true or derived classes if the GUI is running inside the Unity Editor. More... | |
virtual GUIStyle | MiniButton [get] |
Returns the button style. Can be customized in derived classes. More... | |
virtual GUIStyle | MiniButtonLeft [get] |
Returns the left button style. More... | |
virtual GUIStyle | MiniButtonRight [get] |
Returns the right button style. More... | |
abstract Rect | Position [get] |
Returns the position of the screen/window. More... | |
FrameDifferState | State [get, set] |
Get or set the state of the frame differ. More... | |
virtual GUIStyle | TextLabel [get] |
Returns the text label style. Can be customized in derived classes. More... | |
virtual Int32 | TextLineHeight [get] |
Returns the text line height. Default is 16. Can be customized in derived classes. More... | |
The actual GUI to render the frame dumps differences of multiple dumps send by different clients. Uses Unity Immediate Mode GUI.
|
inlineprotected |
Create a new GUI frame differ instance using the given state.
state |
|
inlinevirtual |
Toggles a windows repaint.
|
pure virtual |
Draws the header of the GUI.
|
inline |
Toggles the _hidden flag.
|
inline |
Should be invoked from Unity OnGUI method to draw the GUI.
int Quantum.QuantumFrameDifferGUI.ReferenceActorId = 0 |
The actor id to use as a reference state when comparing differences.
|
protected |
True if the GUI is not rendered.
virtual float Quantum.QuantumFrameDifferGUI.ScrollWidth => 16.0f |
Returns the scroll width. Default is 16.
|
getset |
Get or set the state of the frame differ.
|
get |
Returns true or derived classes if the GUI is running inside the Unity Editor.
|
get |
Returns the text line height. Default is 16. Can be customized in derived classes.
|
get |
Returns the background style. Can be customized in derived classes.
|
get |
Returns the header style. Can be customized in derived classes.
|
get |
Returns the error header style. Can be customized in derived classes.
|
get |
Returns the line overlay style. Can be customized in derived classes.
|
get |
Returns the button style. Can be customized in derived classes.
|
get |
Returns the text label style. Can be customized in derived classes.
|
get |
Returns the bold label style. Can be customized in derived classes.
|
get |
Returns the left button style.
|
get |
Returns the right button style.
|
get |
Returns the position of the screen/window.