DemiLib
A collection of Demigiant's utility libraries for Unity (https://github.com/Demigiant/demilib)
DG.DemiEditor.DeStylePalette Class Reference

Stores a GUIStyle palette, which can be passed to default DeGUI layouts when calling More...

Public Attributes

readonly Box box = new Box()
 
readonly Button button = new Button()
 
readonly Label label = new Label()
 
readonly Misc misc = new Misc()
 
readonly Toolbar toolbar = new Toolbar()
 

Protected Attributes

bool initialized
 

Properties

static Texture2D blackSquare [get]
 
static Texture2D blackSquareAlpha10 [get]
 
static Texture2D blackSquareAlpha15 [get]
 
static Texture2D blackSquareAlpha25 [get]
 
static Texture2D blackSquareAlpha50 [get]
 
static Texture2D blackSquareAlpha80 [get]
 
static Texture2D blueSquare [get]
 
static Texture2D greenSquare [get]
 
static Texture2D orangeSquare [get]
 
static Texture2D purpleSquare [get]
 
static Texture2D redSquare [get]
 
static Texture2D whiteSquare [get]
 
static Texture2D whiteSquareAlpha10 [get]
 
static Texture2D whiteSquareAlpha15 [get]
 
static Texture2D whiteSquareAlpha25 [get]
 
static Texture2D whiteSquareAlpha50 [get]
 
static Texture2D whiteSquareAlpha80 [get]
 
static Texture2D yellowSquare [get]
 

Detailed Description

Stores a GUIStyle palette, which can be passed to default DeGUI layouts when calling

DeGUI.BeginGUI, and changed at any time by calling DeGUI.ChangePalette. You can inherit from this class to create custom GUIStyle palettes with more options. Each of the sub-options require a public Init method to initialize the styles, which will be called via Reflection.

Member Data Documentation

readonly Box DG.DemiEditor.DeStylePalette.box = new Box()
readonly Button DG.DemiEditor.DeStylePalette.button = new Button()
bool DG.DemiEditor.DeStylePalette.initialized
protected
readonly Label DG.DemiEditor.DeStylePalette.label = new Label()
readonly Misc DG.DemiEditor.DeStylePalette.misc = new Misc()
readonly Toolbar DG.DemiEditor.DeStylePalette.toolbar = new Toolbar()

Property Documentation

Texture2D DG.DemiEditor.DeStylePalette.blackSquare
staticget
Texture2D DG.DemiEditor.DeStylePalette.blackSquareAlpha10
staticget
Texture2D DG.DemiEditor.DeStylePalette.blackSquareAlpha15
staticget
Texture2D DG.DemiEditor.DeStylePalette.blackSquareAlpha25
staticget
Texture2D DG.DemiEditor.DeStylePalette.blackSquareAlpha50
staticget
Texture2D DG.DemiEditor.DeStylePalette.blackSquareAlpha80
staticget
Texture2D DG.DemiEditor.DeStylePalette.blueSquare
staticget
Texture2D DG.DemiEditor.DeStylePalette.greenSquare
staticget
Texture2D DG.DemiEditor.DeStylePalette.orangeSquare
staticget
Texture2D DG.DemiEditor.DeStylePalette.purpleSquare
staticget
Texture2D DG.DemiEditor.DeStylePalette.redSquare
staticget
Texture2D DG.DemiEditor.DeStylePalette.whiteSquare
staticget
Texture2D DG.DemiEditor.DeStylePalette.whiteSquareAlpha10
staticget
Texture2D DG.DemiEditor.DeStylePalette.whiteSquareAlpha15
staticget
Texture2D DG.DemiEditor.DeStylePalette.whiteSquareAlpha25
staticget
Texture2D DG.DemiEditor.DeStylePalette.whiteSquareAlpha50
staticget
Texture2D DG.DemiEditor.DeStylePalette.whiteSquareAlpha80
staticget
Texture2D DG.DemiEditor.DeStylePalette.yellowSquare
staticget

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