| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474 |
- theme mainMenu
- {
- texture = default-theme.png
- /////////////////////////////////////////////////////////////////////
- // Global theme variables //
- /////////////////////////////////////////////////////////////////////
- ${normalColor} = #ffffffff
- ${hoverColor} = #eeeeeeff
- ${activeColor} = #aaaaaaff
- ${focusColor} = ${normalColor}
- ${textColor} = #ffffffff
- ${font} = arial.gpb
- ${fontSize} = 16
- ${disabledOpacity} = 0.5
- /////////////////////////////////////////////////////////////////////
- // Image lists //
- /////////////////////////////////////////////////////////////////////
- imageList normalImages
- {
- color = ${normalColor}
- image unchecked
- {
- region = 83, 3, 34, 34
- }
- image checked
- {
- region = 83, 37, 34, 34
- }
- image unselected
- {
- region = 120, 3, 34, 34
- }
- image selected
- {
- region = 120, 37, 34, 34
- }
- image minCap
- {
- region = 3, 41, 8, 17
- }
- image track
- {
- region = 11, 41, 62, 17
- }
- image maxCap
- {
- region = 73, 41, 8, 17
- }
- image marker
- {
- region = 6, 59, 15, 27
- }
- image textCaret
- {
- region = 6, 92, 7, 22
- }
- image scrollBarTopCap
- {
- region = 65, 59, 13, 6
- }
- image verticalScrollBar
- {
- region = 65, 65, 13, 2
- }
- image scrollBarBottomCap
- {
- region = 65, 88, 13, 6
- }
- image scrollBarLeftCap
- {
- region = 25, 59, 6, 13
- }
- image horizontalScrollBar
- {
- region = 32, 59, 2, 13
- }
- image scrollBarRightCap
- {
- region = 55, 59, 6, 13
- }
- }
- imageList hoverImages : normalImages
- {
- color = ${hoverColor}
- image textCaret
- {
- color = ${normalColor}
- region = 6, 92, 7, 22
- }
- }
- imageList activeImages : normalImages
- {
- color = ${activeColor}
- image unchecked
- {
- region = 83, 37, 34, 34
- }
- image checked
- {
- region = 83, 37, 34, 34
- }
- image selected
- {
- region = 120, 37, 34, 34
- }
- image unselected
- {
- region = 120, 37, 34, 34
- }
- image textCaret
- {
- color = ${normalColor}
- region = 6, 92, 7, 22
- }
- }
- /////////////////////////////////////////////////////////////////////
- // Skin definitions //
- /////////////////////////////////////////////////////////////////////
- skin FormSkin
- {
- border
- {
- left = 8
- right = 8
- top = 8
- bottom = 8
- }
- region = 4, 4, 32, 32
- color = ${normalColor}
- }
- skin ButtonSkin
- {
- border
- {
- left = 12
- right = 12
- top = 12
- bottom = 12
- }
- region = 42, 3, 34, 34
- color = ${normalColor}
- }
- skin ButtonSkinHover : ButtonSkin
- {
- color = ${hoverColor}
- }
- skin ButtonSkinActive : ButtonSkin
- {
- color = ${activeColor}
- }
- skin ButtonSkinFocus : ButtonSkin
- {
- color = ${focusColor}
- }
- skin TextBoxSkin
- {
- border
- {
- left = 8
- right = 8
- top = 8
- bottom = 8
- }
- region = 159, 3, 34, 34
- color = ${normalColor}
- }
- skin TextBoxSkinHover : TextBoxSkin
- {
- color = ${hoverColor}
- }
- skin TextBoxSkinActive : TextBoxSkin
- {
- color = ${normalColor}
- }
- skin PanelSkin
- {
- border
- {
- left = 10
- right = 10
- top = 10
- bottom = 10
- }
- region = 83, 3, 34, 34
- color = ${normalColor}
- }
- style Form
- {
- padding
- {
- left = 2
- right = 2
- top = 2
- bottom = 2
- }
- stateNormal
- {
- skin = FormSkin
- imageList = normalImages
- }
- stateHover
- {
- imageList = hoverImages
- }
- stateActive
- {
- imageList = activeImages
- }
- stateDisabled
- {
- opacity = ${disabledOpacity}
- }
- }
- style Container
- {
- stateNormal
- {
- imageList = normalImages
- }
- stateHover
- {
- imageList = hoverImages
- }
- stateActive
- {
- imageList = activeImages
- }
- stateDisabled
- {
- opacity = ${disabledOpacity}
- }
- }
- style Label
- {
- stateNormal
- {
- font = ${font}
- fontSize = ${fontSize}
- textColor = ${textColor}
- textAlignment = ALIGN_VCENTER_LEFT
- }
- stateDisabled
- {
- opacity = ${disabledOpacity}
- }
- }
- style Button
- {
- padding
- {
- left = 8
- right = 8
- top = 4
- bottom = 4
- }
- stateNormal
- {
- skin = ButtonSkin
- font = ${font}
- textColor = ${textColor}
- fontSize = ${fontSize}
- textAlignment = ALIGN_VCENTER_HCENTER
- }
- stateHover
- {
- skin = ButtonSkinHover
- }
- stateActive
- {
- skin = ButtonSkinActive
- }
- stateFocus
- {
- skin = ButtonSkinFocus
- }
- stateDisabled
- {
- opacity = ${disabledOpacity}
- }
- }
- style CheckBox : Label
- {
- stateNormal
- {
- imageList = normalImages
- }
- stateHover
- {
- imageList = hoverImages
- }
- stateActive
- {
- imageList = activeImages
- }
- stateFocus
- {
- imageList = hoverImages
- }
- }
- style RadioButton : CheckBox
- {
- }
- style TextBox
- {
- stateNormal
- {
- skin = TextBoxSkin
- imageList = normalImages
- font = ${font}
- fontSize = ${fontSize}
- textColor = ${textColor}
- textAlignment = ALIGN_TOP_LEFT
- }
- stateHover
- {
- skin = TextBoxSkinHover
- }
- stateActive
- {
- skin = TextBoxSkinActive
- imageList = activeImages
- }
- stateFocus
- {
- skin = TextBoxSkinHover
- }
- stateDisabled
- {
- opacity = ${disabledOpacity}
- }
- }
- style Slider
- {
- stateNormal
- {
- imageList = normalImages
- font = ${font}
- fontSize = ${fontSize}
- textColor = ${textColor}
- textAlignment = ALIGN_TOP_LEFT
- }
- stateHover
- {
- imageList = hoverImages
- }
- stateActive
- {
- imageList = activeImages
- }
- stateFocus
- {
- imageList = hoverImages
- }
- stateDisabled
- {
- opacity = ${disabledOpacity}
- }
- }
- style Image
- {
- stateDisabled
- {
- opacity = ${disabledOpacity}
- }
- }
- // Empty style that has no skin
- style Empty
- {
- }
- // Style that can be used as a background for a container
- style Panel
- {
- stateNormal
- {
- skin = PanelSkin
- font = ${font}
- fontSize = ${fontSize}
- textColor = ${textColor}
- textAlignment = ALIGN_VCENTER_HCENTER
- imageList = normalImages
- }
- stateHover
- {
- imageList = hoverImages
- }
- stateActive
- {
- imageList = activeImages
- }
- stateDisabled
- {
- opacity = ${disabledOpacity}
- }
- }
- }
|