C# Class ImGuiNET.Style

Datei anzeigen Open project: mellinoe/ImGui.NET Class Usage Examples

Public Methods

Method Description
GetColor ( ColorTarget target ) : Vector4

Gets the current style color for the given UI element type.

SetColor ( ColorTarget target, Vector4 value ) : void

Sets the style color for a particular UI element type.

Style ( NativeStyle style ) : System.Numerics

Method Details

GetColor() public method

Gets the current style color for the given UI element type.
public GetColor ( ColorTarget target ) : Vector4
target ColorTarget The type of UI element.
return Vector4

SetColor() public method

Sets the style color for a particular UI element type.
public SetColor ( ColorTarget target, Vector4 value ) : void
target ColorTarget The type of UI element.
value Vector4 The new color.
return void

Style() public method

public Style ( NativeStyle style ) : System.Numerics
style NativeStyle
return System.Numerics