API  0.9.10
CPTheme.j File Reference

Go to the source code of this file.

Functions

function CPThemeAttributeDecode (aCoder, attribute)
 
function CPThemeAttributeEncode (aCoder, aThemeAttribute)
 
function ThemeState (stateNames)
 

Variables

ThemeState prototype CPThemeAndTransform = {}
 
var CPThemeAttributesKey = @"@"CPThemeAttributesKey"
 
var CPThemeDefaultHudTheme = nil
 
var CPThemeDefaultTheme = nil
 
var CPThemeNameKey = @"@"CPThemeNameKey"
 
var CPThemesByName = { }
 
 CPThemeStateAutocompleting = CPThemeState("autocompleting")
 
 CPThemeStateBezeled = CPThemeState("bezeled")
 
 CPThemeStateBordered = CPThemeState("bordered")
 
 CPThemeStateCircular = CPThemeState("circular")
 
 CPThemeStateControlSizeMini = CPThemeState("controlSizeMini")
 
 CPThemeStateControlSizeRegular = CPThemeState("controlSizeRegular")
 
 CPThemeStateControlSizeSmall = CPThemeState("controlSizeSmall")
 
 CPThemeStateDefault = CPThemeState("default")
 
 CPThemeStateDisabled = CPThemeState("disabled")
 
 CPThemeStateEditable = CPThemeState("editable")
 
 CPThemeStateEditing = CPThemeState("editing")
 
 CPThemeStateFirstResponder = CPThemeState("firstResponder")
 
 CPThemeStateGroupRow = CPThemeState("CPThemeStateGroupRow")
 
 CPThemeStateHighlighted = CPThemeState("highlighted")
 
 CPThemeStateHovered = CPThemeState("hovered")
 
 CPThemeStateKeyWindow = CPThemeState("keyWindow")
 
 CPThemeStateMainWindow = CPThemeState("mainWindow")
 
 CPThemeStateNormalString = String(CPThemeStateNormal)
 
 CPThemeStateSelected = CPThemeState("selected")
 
 CPThemeStateSelectedDataView = CPThemeState("selectedTableDataView")
 
 CPThemeStateTableDataView = CPThemeState("tableDataView")
 
 CPThemeStateVertical = CPThemeState("vertical")
 
ThemeState prototype CPThemeWithoutTransform = {}
 
var ParentAttributeForCoder = nil
 
ThemeState prototype toString
 

Function Documentation

◆ CPThemeAttributeDecode()

function CPThemeAttributeDecode ( aCoder  ,
attribute   
)

Definition at line 850 of file CPTheme.j.

◆ CPThemeAttributeEncode()

function CPThemeAttributeEncode ( aCoder  ,
aThemeAttribute   
)

Definition at line 822 of file CPTheme.j.

◆ ThemeState()

function ThemeState ( stateNames  )

ThemeStates are immutable objects representing a particular ThemeState. Applications should never be creating ThemeStates directly but should instead use the CPThemeState function.

Definition at line 314 of file CPTheme.j.

Variable Documentation

◆ CPThemeAndTransform

ThemeState prototype CPThemeAndTransform = {}

Definition at line 448 of file CPTheme.j.

◆ CPThemeAttributesKey

var CPThemeAttributesKey = @"@"CPThemeAttributesKey"

Definition at line 283 of file CPTheme.j.

◆ CPThemeDefaultHudTheme

var CPThemeDefaultHudTheme = nil

Definition at line 27 of file CPTheme.j.

◆ CPThemeDefaultTheme

var CPThemeDefaultTheme = nil

Definition at line 26 of file CPTheme.j.

◆ CPThemeNameKey

var CPThemeNameKey = @"@"CPThemeNameKey"

Definition at line 282 of file CPTheme.j.

◆ CPThemesByName

var CPThemesByName = { }

Definition at line 25 of file CPTheme.j.

◆ CPThemeStateAutocompleting

CPThemeStateAutocompleting = CPThemeState("autocompleting")

Definition at line 559 of file CPTheme.j.

◆ CPThemeStateBezeled

CPThemeStateBezeled = CPThemeState("bezeled")

Definition at line 552 of file CPTheme.j.

◆ CPThemeStateBordered

CPThemeStateBordered = CPThemeState("bordered")

Definition at line 553 of file CPTheme.j.

◆ CPThemeStateCircular

CPThemeStateCircular = CPThemeState("circular")

Definition at line 558 of file CPTheme.j.

◆ CPThemeStateControlSizeMini

CPThemeStateControlSizeMini = CPThemeState("controlSizeMini")

Definition at line 565 of file CPTheme.j.

◆ CPThemeStateControlSizeRegular

CPThemeStateControlSizeRegular = CPThemeState("controlSizeRegular")

Definition at line 563 of file CPTheme.j.

◆ CPThemeStateControlSizeSmall

CPThemeStateControlSizeSmall = CPThemeState("controlSizeSmall")

Definition at line 564 of file CPTheme.j.

◆ CPThemeStateDefault

CPThemeStateDefault = CPThemeState("default")

Definition at line 557 of file CPTheme.j.

◆ CPThemeStateDisabled

CPThemeStateDisabled = CPThemeState("disabled")

Definition at line 545 of file CPTheme.j.

◆ CPThemeStateEditable

CPThemeStateEditable = CPThemeState("editable")

Definition at line 554 of file CPTheme.j.

◆ CPThemeStateEditing

CPThemeStateEditing = CPThemeState("editing")

Definition at line 555 of file CPTheme.j.

◆ CPThemeStateFirstResponder

CPThemeStateFirstResponder = CPThemeState("firstResponder")

Definition at line 560 of file CPTheme.j.

◆ CPThemeStateGroupRow

CPThemeStateGroupRow = CPThemeState("CPThemeStateGroupRow")

Definition at line 551 of file CPTheme.j.

◆ CPThemeStateHighlighted

CPThemeStateHighlighted = CPThemeState("highlighted")

Definition at line 547 of file CPTheme.j.

◆ CPThemeStateHovered

CPThemeStateHovered = CPThemeState("hovered")

Definition at line 546 of file CPTheme.j.

◆ CPThemeStateKeyWindow

CPThemeStateKeyWindow = CPThemeState("keyWindow")

Definition at line 562 of file CPTheme.j.

◆ CPThemeStateMainWindow

CPThemeStateMainWindow = CPThemeState("mainWindow")

Definition at line 561 of file CPTheme.j.

◆ CPThemeStateNormalString

CPThemeStateNormalString = String(CPThemeStateNormal)

Definition at line 567 of file CPTheme.j.

◆ CPThemeStateSelected

CPThemeStateSelected = CPThemeState("selected")

Definition at line 548 of file CPTheme.j.

◆ CPThemeStateSelectedDataView

CPThemeStateSelectedDataView = CPThemeState("selectedTableDataView")

Definition at line 550 of file CPTheme.j.

◆ CPThemeStateTableDataView

CPThemeStateTableDataView = CPThemeState("tableDataView")

Definition at line 549 of file CPTheme.j.

◆ CPThemeStateVertical

CPThemeStateVertical = CPThemeState("vertical")

Definition at line 556 of file CPTheme.j.

◆ CPThemeWithoutTransform

ThemeState prototype CPThemeWithoutTransform = {}

Definition at line 447 of file CPTheme.j.

◆ ParentAttributeForCoder

var ParentAttributeForCoder = nil

Definition at line 742 of file CPTheme.j.

◆ toString

ThemeState prototype toString

Definition at line 348 of file CPTheme.j.