SpaceVIL
Public Member Functions | Static Public Attributes | List of all members
SpaceVIL.Decorations.ThemeStyle Class Reference

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 ()
 Set this theme as default More...
 
void AddSpecificItemStyle (IBaseItem current_item, Style style)
 Add unique style for the item More...
 
void RemoveSpecificItemStyle (IBaseItem current_item, Style style)
 Remove unique style for the item More...
 
bool ReplaceDefaultItemStyle (Type class_type, Style style)
 Replace default style for the items with class name class_type More...
 
void AddDefaultCustomItemStyle (Type class_type, Style style)
 Add custom style to default theme for the items with class name class_type More...
 

Static Public Attributes

static bool ApplyEmbedded = true
 

Constructor & Destructor Documentation

◆ ThemeStyle()

SpaceVIL.Decorations.ThemeStyle.ThemeStyle ( )

Constructs a default ThemeStyle

Member Function Documentation

◆ AddDefaultCustomItemStyle()

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

Add custom style to default theme for the items with class name class_type

◆ AddSpecificItemStyle()

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

Add unique style for the item

◆ GetThemeStyle()

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

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

◆ RemoveSpecificItemStyle()

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

Remove unique style for the item

◆ ReplaceDefaultItemStyle()

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

Replace default style for the items with class name class_type

◆ SetCurrentAsDefault()

void SpaceVIL.Decorations.ThemeStyle.SetCurrentAsDefault ( )

Set this theme as default


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