// +------------------------------------------------------------------+
// | Theme Name:		QNX-Orange                                    |
// | Porter:			hewbert <josh@hewbert.com>                    |
// | Last Modified:		2005-03-10                                    |
// | Pekwm Version:		20050227 and comptatible                      |
// | Changes:			See ChangeLog for details                     |
// +------------------------------------------------------------------+

// Fonts:
$TAB_FO			= "Arial-10#CENTER#XFT"		// Focused titlebar font
$TAB_FS			= "Arial-10#CENTER#XFT"		// Focused-Selected titlebar font
$TAB_UN			= "Arial-10#CENTER#XFT"		// Unfocused titlebar font
$TAB_US			= "Arial-10#CENTER#XFT"		// Unfocused-Selected titlebar font
$MENU_FONT		= "Arial-10#LEFT#XFT"		// Font for menu items
$STATUS_FONT	= "Arial-8#CENTER#XFT"		// Status window font
$CMD_FONT		= "Arial-10#LEFT#XFT"		// CMDDIALOG font


PDecor {

Decor = "DEFAULT" {
	Title {
		Height = "21"
		Pad = "5 5 5 5"

		Focused = "Image title-fo.xpm"
		Unfocused = "Image title-un.xpm"

		Tab {
			Focused = "Image title-fo.xpm"
			FocusedSelected = "Image title-fo.xpm"
			Unfocused = "Image title-un.xpm"
			UnfocusedSelected = "Image title-un.xpm"
		}
		Separator {
			Focused = "Image sep-fo.xpm"
			Unfocused = "Image sep-un.xpm"
		}
		Font {
			Focused = "$TAB_FO"
			FocusedSelected = "$TAB_FS"
			Unfocused = "$TAB_UN"
			UnfocusedSelected = "$TAB_US"
		}
		FontColor {
			Focused = "#d9d9d9"
			FocusedSelected = "#ffffff"
			Unfocused = "#575757"
			UnfocusedSelected = "#444444"
		}
		Buttons {
			Right {
				Focused = "Image btn-close-fo.xpm"
				Unfocused = "Image btn-close-un.xpm"
				Pressed = "Image btn-close-pr.xpm"
				Button = "1" { Actions = "Close" }
			}
			Right {
				Focused = "Image btn-max-fo.xpm"
				Unfocused = "Image btn-max-un.xpm"
				Pressed = "Image btn-max-pr.xpm"
				Button = "1" { Actions = "Toggle Maximized 1 1" }
			}
			Right {
				Focused = "Image btn-min-fo.xpm"
				Unfocused = "Image btn-min-un.xpm"
				Pressed = "Image btn-min-pr.xpm"
				Button = "1" { Actions = "Set Iconified" }
			}

			Right {
				Focused = "Image title-decor-fo.xpm"
				Unfocused = "Image title-decor-un.xpm"
				Pressed = "Image title-decor-fo.xpm"
				Button = "1" { Actions = "EMPTY" }
			}

			Left {
				Focused = "Image btn-menu-fo.xpm"
				Unfocused = "Image btn-menu-un.xpm"
				Pressed = "Image btn-menu-pr.xpm"
				Button = "1" { Actions = "ShowMenu Window" }
			}
		}
		Border {
			Focused {
				TopLeft = "Image tl-fo.xpm"
				Top = "Image top.xpm"
				TopRight = "Image tr.xpm"
				Left =  "Image left.xpm"
				Right = "Image right.xpm"
				BottomLeft = "Image bl.xpm"
				Bottom = "Image bottom.xpm"
				BottomRight = "Image br-fo.xpm"
			}
			Unfocused {
				TopLeft = "Image tl-un.xpm"
				Top = "Image top.xpm"
				TopRight = "Image tr.xpm"
				Left =  "Image left.xpm"
				Right = "Image right.xpm"
				BottomLeft = "Image bl.xpm"
				Bottom = "Image bottom.xpm"
				BottomRight = "Image br-un.xpm"
			}
		}
	}
} # Decor->DEFAULT{}

Decor = "TITLEBARLESS" {
	Title {
		Height = "0"
		Pad = "0 0 0 0"
		
		Focused = "EMPTY"
		Unfocused = "EMPTY"

		Tab {
			Focused = "EMPTY"
			FocusedSelected = "EMPTY"
			Unfocused = "EMPTY"
			UnfocusedSelected = "EMPTY"
		}
		Separator {
			Focused = "EMPTY"
			Unfocused = "EMPTY"
		}
		Font {
			Focused = "EMPTY"
		}
		FontColor {
			Focused = "EMPTY"
			FocusedSelected = "EMPTY"
			Unfocused = "EMPTY"
			UnfocusedSelected = "EMPTY"
		}

		Buttons {
		}
		Border {
			Focused {
				TopLeft = "Image tl-tbls.xpm"
				Top = "Image top-tbls.xpm"
				TopRight = "Image tr-tbls.xpm"
				Left =  "Image left.xpm"
				Right = "Image right.xpm"
				BottomLeft = "Image bl.xpm"
				Bottom = "Image bottom.xpm"
				BottomRight = "Image br-fo.xpm"
			}
			Unfocused {
				TopLeft = "Image tl-tbls.xpm"
				Top = "Image top-tbls.xpm"
				TopRight = "Image tr-tbls.xpm"
				Left =  "Image left.xpm"
				Right = "Image right.xpm"
				BottomLeft = "Image bl.xpm"
				Bottom = "Image bottom.xpm"
				BottomRight = "Image br-un.xpm"
			}
		}
	}
} # Decor->TITLEBARLESS{}


Decor = "BORDERLESS" {
	Title {
		Height = "21"
		Pad = "5 5 5 5"

		Focused = "Image title-fo.xpm"
		Unfocused = "Image title-un.xpm"

		Tab {
			Focused = "Image title-fo.xpm"
			FocusedSelected = "Image title-fo.xpm"
			Unfocused = "Image title-un.xpm"
			UnfocusedSelected = "Image title-un.xpm"
		}
		Separator {
			Focused = "Image sep-fo.xpm"
			Unfocused = "Image sep-un.xpm"
		}
		Font {
			Focused = "$TAB_FO"
			FocusedSelected = "$TAB_FS"
			Unfocused = "$TAB_UN"
			UnfocusedSelected = "$TAB_US"
		}
		FontColor {
			Focused = "#d9d9d9"
			FocusedSelected = "#ffffff"
			Unfocused = "#575757"
			UnfocusedSelected = "#444444"
		}
		Buttons {
			// Simulate top-right as a button
			Right {
				Focused = "Image tr-btn.xpm"
				Unfocused = "Image tr-btn.xpm"
				Pressed = "Image tr-btn.xpm"
				Button = "1" { Actions = "EMPTY" }
			}

			Right {
				Focused = "Image btn-close-fo.xpm"
				Unfocused = "Image btn-close-un.xpm"
				Pressed = "Image btn-close-pr.xpm"
				Button = "1" { Actions = "Close" }
			}
			Right {
				Focused = "Image btn-max-fo.xpm"
				Unfocused = "Image btn-max-un.xpm"
				Pressed = "Image btn-max-pr.xpm"
				Button = "1" { Actions = "Toggle Maximized 1 1" }
			}
			Right {
				Focused = "Image btn-min-fo.xpm"
				Unfocused = "Image btn-min-un.xpm"
				Pressed = "Image btn-min-pr.xpm"
				Button = "1" { Actions = "Set Iconified" }
			}

			Right {
				Focused = "Image title-decor-fo.xpm"
				Unfocused = "Image title-decor-un.xpm"
				Pressed = "Image title-decor-fo.xpm"
				Button = "1" { Actions = "EMPTY" }
			}

			// Simulate top-left as button
			Left {
				Focused = "Image tl-fo-btn.xpm"
				Unfocused = "Image tl-un-btn.xpm"
				Pressed = "Image tl-fo-btn.xpm"
				Button = "1" { Actions = "EMPTY" }
			}

			Left {
				Focused = "Image btn-menu-fo.xpm"
				Unfocused = "Image btn-menu-un.xpm"
				Pressed = "Image btn-menu-pr.xpm"
				Button = "1" { Actions = "ShowMenu Window" }
			}

		}
		Border {
			Focused {
				TopLeft = "EMPTY"
				Top = "EMPTY"
				TopRight = "EMPTY"
				Left =  "EMPTY"
				Right = "EMPTY"
				BottomLeft = "EMPTY"
				Bottom = "EMPTY"
				BottomRight = "EMPTY"
			}
			Unfocused {
				TopLeft = "EMPTY"
				Top = "EMPTY"
				TopRight = "EMPTY"
				Left =  "EMPTY"
				Right = "EMPTY"
				BottomLeft = "EMPTY"
				Bottom = "EMPTY"
				BottomRight = "EMPTY"
			}
		}
	}
} # Decor->BORDERLESS{}


Decor = "MENU" {
	Title {
		Height = "21"
		Pad = "5 5 5 5"

		Focused = "Image title-fo.xpm"
		Unfocused = "Image title-un.xpm"

		Tab {
			Focused = "Image title-fo.xpm"
			FocusedSelected = "Image title-fo.xpm"
			Unfocused = "Image title-un.xpm"
			UnfocusedSelected = "Image title-un.xpm"
		}
		Separator {
			Focused = "EMPTY"
			Unfocused = "EMPTY"
		}
		Font {
			Focused = "$TAB_FO"
			FocusedSelected = "$TAB_FS"
			Unfocused = "$TAB_UN"
			UnfocusedSelected = "$TAB_US"
		}
		FontColor {
			Focused = "#d9d9d9"
			FocusedSelected = "#ffffff"
			Unfocused = "#575757"
			UnfocusedSelected = "#444444"
		}
		Buttons {
		}
		Border {
			Focused {
				TopLeft = "Image tl-fo.xpm"
				Top = "Image top.xpm"
				TopRight = "Image tr-alt.xpm"
				Left =  "Image left.xpm"
				Right = "Image right.xpm"
				BottomLeft = "Image bl.xpm"
				Bottom = "Image bottom.xpm"
				BottomRight = "Image br-fo.xpm"
			}
			Unfocused {
				TopLeft = "Image tl-un.xpm"
				Top = "Image top.xpm"
				TopRight = "Image tr-alt-un.xpm"
				Left =  "Image left.xpm"
				Right = "Image right.xpm"
				BottomLeft = "Image bl.xpm"
				Bottom = "Image bottom.xpm"
				BottomRight = "Image br-un.xpm"
			}
		}
	}
} # Decor->MENU{}

Decor = "STATUSWINDOW" {
	Title {
		Height = "0"
		Pad = "0 0 0 0"
		Focused = "EMPTY"
		Unfocused = "EMPTY"
		Tab {
			Focused = "EMPTY"
			FocusedSelected = "EMPTY"
			Unfocused = "EMPTY"
			UnfocusedSelected = "EMPTY"
		}
		Separator {
			Focused = "EMPTY"
			Unfocused = "EMPTY"
		}
		Font {
			Focused = "EMPTY"
		}
		FontColor {
			Focused = "EMPTY"
			FocusedSelected = "EMPTY"
			Unfocused = "EMPTY"
			UnfocusedSelected = "EMPTY"
		}
		Buttons {
		}
		Border {
			Focused {
				TopLeft = "Solid #888888 1x1"
				Top = "Solid #888888 1x1"
				TopRight = "Solid #888888 1x1"
				Left = "Solid #888888 1x1"
				Right = "Solid #888888 1x1"
				BottomLeft = "Solid #888888 1x1"
				Bottom = "Solid #888888 1x1"
				BottomRight = "Solid #888888 1x1"
			}
			Unfocused {
				TopLeft = "Solid #666666 1x1"
				Top = "Solid #666666 1x1"
				TopRight = "Solid #666666 1x1"
				Left = "Solid #666666 1x1"
				Right = "Solid #666666 1x1"
				BottomLeft = "Solid #666666 1x1"
				Bottom = "Solid #666666 1x1"
				BottomRight = "Solid #666666 1x1"
			}
		}

	}

} # Decor->STATUSWINDOW{}

Decor = "CMDDIALOG" {
	Title {
		Height = "21"
		Pad = "5 5 5 5"

		Focused = "Image title-fo.xpm"
		Unfocused = "Image title-un.xpm"

		Tab {
			Focused = "Image title-fo.xpm"
			FocusedSelected = "Image title-fo.xpm"
			Unfocused = "Image title-un.xpm"
			UnfocusedSelected = "Image title-un.xpm"
		}
		Separator {
			Focused = "EMPTY"
			Unfocused = "EMPTY"
		}
		Font {
			Focused = "$TAB_FO"
			FocusedSelected = "$TAB_FS"
			Unfocused = "$TAB_UN"
			UnfocusedSelected = "$TAB_US"
		}
		FontColor {
			Focused = "#d9d9d9"
			FocusedSelected = "#ffffff"
			Unfocused = "#575757"
			UnfocusedSelected = "#444444"
		}
		Buttons {
			Right {
				Focused = "Image btn-close-fo.xpm"
				Unfocused = "Image btn-close-un.xpm"
				Pressed = "Image btn-close-pr.xpm"
				Button = "1" { Actions = "Close" }
			}
			Right {
				Focused = "Image title-decor-fo.xpm"
				Unfocused = "Image title-decor-un.xpm"
				Pressed = "Image title-decor-fo.xpm"
				Button = "1" { Actions = "EMPTY" }
			}
		}
		Border {
			Focused {
				TopLeft = "Image tl-fo.xpm"
				Top = "Image top.xpm"
				TopRight = "Image tr.xpm"
				Left =  "Image left.xpm"
				Right = "Image right.xpm"
				BottomLeft = "Image bl.xpm"
				Bottom = "Image bottom.xpm"
				BottomRight = "Image br-fo.xpm"
			}
			Unfocused {
				TopLeft = "Image tl-un.xpm"
				Top = "Image top.xpm"
				TopRight = "Image tr.xpm"
				Left =  "Image left.xpm"
				Right = "Image right.xpm"
				BottomLeft = "Image bl.xpm"
				Bottom = "Image bottom.xpm"
				BottomRight = "Image br-un.xpm"
			}
		}
	}
} # Decor->CMDDIALOG{}

} # PDecor{}

Harbour {
	Texture = "Solid #ffffff #ffffff #ffffff #ffffff 0 0"
}

Menu {
	Focused {
    		Font = "$MENU_FONT"
			Background = "Solid #c5cbcf"
    		Item = "Solid #eeeeee"
    		Text = "#2c2c2c"
			Separator = "Solid #bbbbbb 0x1"
			Arrow = "Image submenu.xpm"
  	}
  	Unfocused {
    		Font = "$MENU_FONT"
    		Background = "Solid #eeeeee"
    		Item = "Solid #b3b7b5"
    		Text = "#2c2c2c"
			Separator = "Solid #bbbbbb 0x1"
			Arrow = "Image submenu.xpm"
  	}
  	Selected {
    		Font = "$MENU_FONT"
    		Background = "Solid #cccccc"
    		Item = "Solid #cccccc"
    		Text = "#000000"
			Arrow = "Image submenu.xpm"
  	}

  	Pad = "5 5 5 3"
}

CmdDialog {
 	Font = "$CMD_FONT"
	Texture = "Solid #bbbbbb"
	Text = "#000000"
	Pad = "4 4 4 4"
}

Status {
	Font = "$STATUS_FONT"
	Texture = "Solid #cd722f"
	Text = "#eeeeee"
	Pad = "2 2 2 2"
}

Root {
	Command = "false"
}
