Modularizing theme; adding few missing parts

This commit is contained in:
Sanel Zukan 2011-11-05 21:31:06 +00:00
parent 8e796e0800
commit 99d2ac6d03

View File

@ -4,12 +4,13 @@
$font = "Sans-9Left#XFT" $font = "Sans-9Left#XFT"
PDecor { Require {
Decor = "Default" { Templates = "True"
Title { }
Define = "DecorBase" {
Height = "25" Height = "25"
Pad = "6 10 10 8" Pad = "6 10 10 8"
Focused = "Image title.png" Focused = "Image title.png"
Unfocused = "Image title-unfocus.png" Unfocused = "Image title-unfocus.png"
@ -35,9 +36,11 @@ PDecor {
Unfocused = "#4b6983" Unfocused = "#4b6983"
UnfocusedSelected = "#4b6983" UnfocusedSelected = "#4b6983"
} }
}
Define = "DecorButtons" {
Buttons { Buttons {
Right { Right = "Close" {
Focused = "Image close.png" Focused = "Image close.png"
Unfocused = "Image close-unfocus.png" Unfocused = "Image close-unfocus.png"
Pressed = "Image close-press.png" Pressed = "Image close-press.png"
@ -45,21 +48,23 @@ PDecor {
Button = "3" { Actions = "Kill" } Button = "3" { Actions = "Kill" }
} }
Right { Right = "Maximize" {
Focused = "Image max.png" Focused = "Image max.png"
Unfocused = "Image max-unfocus.png" Unfocused = "Image max-unfocus.png"
Pressed = "Image max-press.png" Pressed = "Image max-press.png"
Button = "1" { Actions = "Toggle Maximized 1 1" } Button = "1" { Actions = "Toggle Maximized 1 1" }
} }
Right { Right = "Iconify" {
Focused = "Image min.png" Focused = "Image min.png"
Unfocused = "Image min-unfocus.png" Unfocused = "Image min-unfocus.png"
Pressed = "Image min-press.png" Pressed = "Image min-press.png"
Button = "1" { Actions = "Set Iconified" } Button = "1" { Actions = "Set Iconified" }
} }
} }
}
Define = "DecorBorder" {
Border { Border {
Focused { Focused {
TopLeft = "Image border.png" TopLeft = "Image border.png"
@ -71,6 +76,7 @@ PDecor {
Bottom = "Image border.png" Bottom = "Image border.png"
BottomRight = "Image border.png" BottomRight = "Image border.png"
} }
Unfocused { Unfocused {
TopLeft = "Image border.png" TopLeft = "Image border.png"
Top = "Image border.png" Top = "Image border.png"
@ -82,11 +88,9 @@ PDecor {
BottomRight = "Image border.png" BottomRight = "Image border.png"
} }
} }
} }
}
Decor = "Titlebarless" { Define = "DecorEmpty" {
Title {
Focused = "Empty" Focused = "Empty"
Unfocused = "Empty" Unfocused = "Empty"
@ -101,15 +105,18 @@ PDecor {
Focused = "Empty" Focused = "Empty"
Unfocused = "Empty" Unfocused = "Empty"
} }
Font { Font {
Focused = "Empty" Focused = "Empty"
} }
FontColor { FontColor {
Focused = "Empty" Focused = "Empty"
FocusedSelected = "Empty" FocusedSelected = "Empty"
Unfocused = "Empty" Unfocused = "Empty"
UnfocusedSelected = "Empty" UnfocusedSelected = "Empty"
} }
Border { Border {
Focused { Focused {
TopLeft = "Empty" TopLeft = "Empty"
@ -121,6 +128,7 @@ PDecor {
Bottom = "Empty" Bottom = "Empty"
BottomRight = "Empty" BottomRight = "Empty"
} }
Unfocused { Unfocused {
TopLeft = "Empty" TopLeft = "Empty"
Top = "Empty" Top = "Empty"
@ -132,6 +140,41 @@ PDecor {
BottomRight = "Empty" BottomRight = "Empty"
} }
} }
}
PDecor {
Decor = "Default" {
Title {
@DecorBase
@DecorButtons
@DecorBorder
}
}
Decor = "Menu" {
Title {
@DecorBase
@DecorBorder
}
}
Decor = "Titlebarless" {
Title {
@DecorEmpty
}
}
Decor = "Statuswindow" {
Title {
@DecorEmpty
}
}
Decor = "WorkspaceIndicator" {
Title {
@DecorEmpty
@DecorBorder
} }
} }
} }
@ -141,7 +184,7 @@ Harbour {
} }
Menu { Menu {
Pad = "2 4 7 7" Pad = "2 2 7 7"
Focused { Focused {
Font = "$font" Font = "$font"