Struct ImPaneStyle
Stores the color states for the Pane.
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: InitialPrefabs.NimGui
Assembly: InitialPrefabs.ImGui.dll
Syntax
public struct ImPaneStyle : IStyle
Fields
CloseDefaultFg
Default close button color.
Declaration
public Color32 CloseDefaultFg
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
CloseHoverFg
Close button color when the mouse is over it.
Declaration
public Color32 CloseHoverFg
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
ClosePressedFg
Close pressed color when the mouse clicks it.
Declaration
public Color32 ClosePressedFg
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
CollapseDefaultFg
Default collapse button color.
Declaration
public Color32 CollapseDefaultFg
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
CollapseHoverFg
Collapse button color when the mouse is over it.
Declaration
public Color32 CollapseHoverFg
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
CollapsePressedFg
Collapse button color when the mouse clicks it.
Declaration
public Color32 CollapsePressedFg
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
Column
Column wise alignment.
Declaration
public HorizontalAlignment Column
Field Value
| Type | Description |
|---|---|
| HorizontalAlignment |
DefaultButtonBackground
Default color of the button.
Declaration
public Color32 DefaultButtonBackground
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
DefaultButtonHover
Color of the button when the mouse is over it.
Declaration
public Color32 DefaultButtonHover
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
DefaultButtonPress
Color of the button when the mouse clicks it.
Declaration
public Color32 DefaultButtonPress
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
DefaultFontSize
The default size of the font.
Declaration
public int DefaultFontSize
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Padding
Amount of spacing between the current and next widget.
Declaration
public float2 Padding
Field Value
| Type | Description |
|---|---|
| Unity.Mathematics.float2 |
Pane
Background color.
Declaration
public Color32 Pane
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
Row
Row wise alignment.
Declaration
public VerticalAlignment Row
Field Value
| Type | Description |
|---|---|
| VerticalAlignment |
Text
Text color.
Declaration
public Color32 Text
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
TitleBar
Color of the top bar.
Declaration
public Color32 TitleBar
Field Value
| Type | Description |
|---|---|
| UnityEngine.Color32 |
TitleFontSize
The size of the font for the title (top bar).
Declaration
public int TitleFontSize
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
New()
Constructs a new instance of the PaneStyle with default settings.
Declaration
public static ImPaneStyle New()
Returns
| Type | Description |
|---|---|
| ImPaneStyle |