Reference for .Net version of SpaceVIL  0.3.5.8
SpaceVIL (Space of Visual Items Layout) is a cross-platform and multilingual framework for creating GUI client applications for .NET Standard, .NET Core and JVM. SpaceVIL is based on OpenGL graphic technology and GLFW. Using this framework in conjunction with .Net Core or with a JVM, you can work and create graphical client applications on Linux, Mac OS X and Windows.
SpaceVIL.Decorations.ThemeStyle Class Reference

A style theme to store styles for items in the current application. More...

Public Member Functions

 ThemeStyle ()
 Constructs a default ThemeStyle. More...
 
Style GetThemeStyle (Type type)
 Returns style of the theme for the object by its class name. More...
 
void SetCurrentAsDefault ()
 Setting this theme as default. More...
 
void AddSpecificItemStyle (IBaseItem item, Style style)
 Add unique style for the specified item (specific item, not type of item). More...
 
void RemoveSpecificItemStyle (IBaseItem item, Style style)
 Remove unique style for the item (specific item, not type of item). More...
 
bool ReplaceDefaultItemStyle (Type type, Style style)
 Replace default style for the items with specified class type. More...
 
void AddDefaultCustomItemStyle (Type type, Style style)
 Add custom style to default theme for the items with specified class type. More...
 

Static Public Attributes

static bool ApplyEmbedded = true
 

Detailed Description

A style theme to store styles for items in the current application.

Constructor & Destructor Documentation

◆ ThemeStyle()

SpaceVIL.Decorations.ThemeStyle.ThemeStyle ( )

Constructs a default ThemeStyle.

Member Function Documentation

◆ AddDefaultCustomItemStyle()

void SpaceVIL.Decorations.ThemeStyle.AddDefaultCustomItemStyle ( Type  type,
Style  style 
)

Add custom style to default theme for the items with specified class type.

Parameters
typeType of an item as System.Type.
styleA style as SpaceVIL.Decorations.Style.

◆ AddSpecificItemStyle()

void SpaceVIL.Decorations.ThemeStyle.AddSpecificItemStyle ( IBaseItem  item,
Style  style 
)

Add unique style for the specified item (specific item, not type of item).

Parameters
itemAn item as SpaceVIL.Core.IBaseItem.
styleA style as SpaceVIL.Decorations.Style.

◆ GetThemeStyle()

Style SpaceVIL.Decorations.ThemeStyle.GetThemeStyle ( Type  type)

Returns style of the theme for the object by its class name.

Parameters
typeType of an item as System.Type.
Returns
Assigned style as SpaceVIL.Decorations.Style.

◆ RemoveSpecificItemStyle()

void SpaceVIL.Decorations.ThemeStyle.RemoveSpecificItemStyle ( IBaseItem  item,
Style  style 
)

Remove unique style for the item (specific item, not type of item).

Parameters
itemAn item as SpaceVIL.Core.IBaseItem.
styleA style as SpaceVIL.Decorations.Style.

◆ ReplaceDefaultItemStyle()

bool SpaceVIL.Decorations.ThemeStyle.ReplaceDefaultItemStyle ( Type  type,
Style  style 
)

Replace default style for the items with specified class type.

Parameters
typeType of an item as System.Type.
styleA style as SpaceVIL.Decorations.Style.
Returns
If default style replaced

◆ SetCurrentAsDefault()

void SpaceVIL.Decorations.ThemeStyle.SetCurrentAsDefault ( )

Setting this theme as default.

Member Data Documentation

◆ ApplyEmbedded

bool SpaceVIL.Decorations.ThemeStyle.ApplyEmbedded = true
static

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