##########################################################################
# Look by Ethan Fischer
#
#------------------------------------------------------------------------
# Styles :
#
# If there is a style named "default" and no default style is specified, 
#  the "default" style will be used as the default
# Inherited styles will override options.
# 

# default should never be used, so let's make it obvious when it *is* used
MyStyle "default"
  Font		-*-helvetica-*-r-*-*-20-*-*-*-*-*-*-*
  ForeColor	#ff2f3f
  BackColor	#10ff10
  MaxColors	32
  ~MyStyle

##########################################################################
# let's define some color sets

MyStyle "blue_night"
  ForeColor     Grey80
  BackColor     #1b2d3b
  BackGradient 1 #000010 #0000DD
  ~MyStyle

MyStyle "blue_sticky"
  ForeColor     White
  BackColor     #1b2d3b
  BackGradient 1 #0000DD #000010
  ~MyStyle

MyStyle "blue"
  ForeColor	White
  BackColor	#000050
  BackGradient 1 #000050 #000050
  ~MyStyle

MyStyle "rain_colors"
  ForeColor	Grey20
  BackColor	#98c8ff
  BackPixmap	128 Rain.xpm
  ~MyStyle

MyStyle "rain_hi_colors"
  ForeColor	Black
  BackColor	#b2d6ff
  BackPixmap	128 RainHi.xpm
  ~MyStyle

##########################################################################
# now the fonts

MyStyle "window_font"
  Font		-*-helvetica-*-r-*-*-14-*-*-*-*-*-*-*
  TextStyle	0
  ~MyStyle

##########################################################################
# here's the styles we'll actually use

MyStyle "focused_window_style"
  Inherit	window_font
  Inherit	blue
  ~MyStyle

MyStyle "unfocused_window_style"
 Inherit	window_font
  Inherit	blue_night
  ~MyStyle

MyStyle "sticky_window_style"
  Inherit	window_font
  Inherit	bleu_sticky
  ~MyStyle

MyStyle "menu_title_style"
  Inherit       window_font
  Inherit       blue
  ~MyStyle

MyStyle "menu_item_style"
  Font          -*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*
  Inherit       rain_colors
  ~MyStyle

MyStyle "menu_hilite_style"
  Inherit       window_font
  Inherit	rain_hi_colors
  ~MyStyle

# make the stipple background color the same as the menu item, or 
# strange border drawing artifacts could occur
MyStyle "menu_stipple_style"
  Inherit       menu_item_style
  ForeColor	Grey50
  ~MyStyle

DefaultStyle "default"
FWindowStyle "focused_window_style"
UWindowStyle "unfocused_window_style"
SWindowStyle "sticky_window_style"
MenuItemStyle "menu_item_style"
MenuTitleStyle "menu_title_style"
MenuHiliteStyle "menu_hilite_style"
MenuStippleStyle "menu_stipple_style"

#
# 2) Textures : avoid them on 8bpp !
#
#   0 - No texture
#   1 - Wharf-style gradient                            ^-
#   2 - Horizontal one way gradient                     ¯-_
#   3 - Horizontal from top/bottom to center            =-=
#   4 - Vertical one way gradient from left to right    ||| | |  | |
#   5 - Vertical from left/right to center              >>>>>><<<<<<
# 128 - User defined pixmap
# 129 - Transparent menu (must be 128) & menutitle (130)
#
# 2-1) Texture types
#		title	unfocused    sticky   menutitle   menu   menuhilite
#TextureTypes	
#ButtonTextureType       128
#
# 2-2) Maximum colors allowed
#
#ButtonMaxColors         128
#
# 2-3) Now the pixmap
#
#ButtonPixmap           ASBBlockDefault.xpm
MenuPinOn		as-kill.xpm
#MenuPinOff		as-kill-pressed.xpm
#
# 2-4) Or the gradients (can't choose both, except for TextGradientColor)
#
#ButtonTextureColor	#FF0000		#0000FF
#ButtonBgColor		#bfbfbf
#
# 2-5) Various texturing options
#
#  Textures/Pixmaps on windows lowbar ?
TexturedHandle
#  Gradient on windows title ?
#GradientText
#  Border around iconifyied windows ?
ButtonNoBorder
#  [0/1/2] Draw lines between menu options ?
DrawMenuBorders 2
#  [0/1] Texture menu options individually, or the whole menu ?
TextureMenuItemsIndividually 0
#  [0/1] Do you want minipixmaps in startmenu ?
MenuMiniPixmaps 1
#  [0/1] Sort Start menu entries by 1=alphabetical order, 0=date (default)
StartMenuSortMode 1
#  [0/1] make a space, or don't make a space (WM) beside buttons
TitleButtonStyle  0
#  Define the number of pixels between titlebar buttons
TitleButtonSpacing       0

# 3) TextStyle :
#  Mode is either 0 (normal), 1 (big 3d), 2 (nice 3d)
#  Corner where the resize box goes to : ++, +-, -+, -- (clockwise)
ResizeMoveGeometry -+

# 3-1) Text : fonts
#Font                   -*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*
#WindowFont             -*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*
IconFont                -*-helvetica-*-r-*-*-8-*-*-*-*-*-*-*
IconBox                 0 -64 -1 -1
TitleTextAlign          0
#TitlebarNoPush

#------------------------------------------------------------------------
# TitleButtons : [1] [3] [5] [7] [9] (title) [0] [8] [6] [4] [2]
#
TitleButton 1 as-switchwindow-a.xpm as-switchwindow-a-pressed.xpm
TitleButton 2 as-kill.xpm as-kill-pressed.xpm
TitleButton 3 as-menu-a.xpm as-menu-a-pressed.xpm
TitleButton 4 as-shade-a.xpm as-shade-a-pressed.xpm
TitleButton 6 as-iconize.xpm as-iconize-pressed.xpm
