#########################################################################
# Look by Carl Bolduc (based on look.DEFAULT updated April 2006)
#
#------------------------------------------------------------------------
# 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		DefaultSans.ttf-14
  ForeColor	InactiveText1
  BackColor	Inactive1
  ~MyStyle

MyStyle "TitleButtonBalloon"
  ForeColor	HighActiveText
  BackColor	HighActiveBack
  Font		DefaultBold.ttf-14
#  BackGradient 2 Inactive1Dark Inactive1Light
  BackGradient 2 HighInactiveBackDark HighInactiveBackLight
  ~MyStyle

MyStyle "window_font"
  Font		DefaultSansBold.ttf-14
  TextStyle	7
  ~MyStyle

MyStyle "focused_window_style"
  Font		DefaultSans.ttf-14
  TextStyle	3
  ForeColor     ActiveText
  BackColor	Active
  BackGradient	2	ActiveLight	ActiveDark
  ~MyStyle

MyStyle "unfocused_window_style"
  Inherit       "window_font"
  ForeColor     InactiveText1
  BackColor	Inactive1
  BackGradient	2	Inactive1Light	Inactive1Dark
  ~MyStyle

MyStyle "sticky_window_style"
  Inherit       "window_font"
  ForeColor     InactiveText2
  BackColor	Inactive2
  BackGradient	2	Inactive2Light	Inactive2Dark
  ~MyStyle

MyStyle "focus_frame"
        BackGradient  3       ActiveDark     ActiveDark
~MyStyle
	
MyStyle "unfocus_frame"
	BackGradient  3       Inactive1Dark     Inactive1Dark
~MyStyle
		
MyStyle "sticky_frame"
	BackGradient  3       Inactive1Dark     Inactive1Dark
~MyStyle


#----------Menu MyStyles---------#
MyStyle "menu_title_font"
  Font          DefaultFancy.ttf-17
  TextStyle     7
  ~MyStyle

MyStyle "menu_font"
  Font          Default.ttf-16
  TextStyle     0
  ~MyStyle

MyStyle "unfocused_menu_title_style"
  Inherit       "menu_title_font"
  ForeColor     InactiveText1
  BackColor     HighInactive
  BackGradient	2	Inactive1Light	Inactive1Dark
  ~MyStyle

MyStyle "focused_menu_title_style"
  Inherit       "menu_title_font"
  ForeColor	ActiveText
  BackColor     HighActive
  BackGradient	2	ActiveLight	ActiveDark
  ~MyStyle

MyStyle "menu_item_style"
  Inherit       "menu_font"
  ForeColor     HighInactiveText
  BackColor     HighInactiveBack
  BackGradient  2	alpha(40,Inactive1Dark)	alpha(40,Inactive1Dark)
  ~MyStyle

MyStyle "menu_hilite_style"
  Font          DefaultBoldOblique.ttf-16
  TextStyle     7
  ForeColor     HighActiveText
  BackColor     HighActiveBack
#  BackGradient	5	ActiveDark	ActiveLight
  BackGradient 3	alpha(40,Inactive1Dark) ActiveLight
  ~MyStyle


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

MyStyle "menu_subitem_style"
  Inherit       "menu_item_style"
  Font		DefaultBold.ttf-12
  ~MyStyle

DefaultStyle "default"
FWindowStyle "focused_window_style"
UWindowStyle "unfocused_window_style"
SWindowStyle "sticky_window_style"
MenuItemStyle "menu_item_style"
MenuTitleStyle "unfocused_menu_title_style"
MenuHiliteStyle "menu_hilite_style"
MenuStippleStyle "menu_stipple_style"
MenuSubItemStyle  "menu_subitem_style"
MenuHiTitleStyle  "focused_menu_title_style"

#All this style does - is it defines an alias for folder image at 
# the background of menu minipixmaps.
# it can later be referenced in xml as : 
# <recall srcid="menu.folder_minipixmap"/>

MyStyle "menu_folder_pixmap"
	BackPixmap   128   mini/FolderAquaYellow
#	BackPixmap   128   mini/FolderOpenBlueAqua
#	BackPixmap   128   mini/FolderOpenRedAqua
#  standard NeXTish folder : 	
#	BackPixmap   128   mini/FolderNeXT        	
#  standard KDE folder : 	
#	BackPixmap   128   mini/FolderKDECyan
~MyStyle

#----------Pager MyStyles---------#

MyStyle "*PagerBalloon"
	Inherit "TitleButtonBalloon"
~MyStyle

MyStyle "DeskStyle"
# semitransparent gradient  :
	BackGradient 2	Inactive1Dark Inactive1Light
##  Gradiated Pager -
# 	BackGradient	2 cyan gray30
##  Pixmapped Pager -
# 	BackPixmap	128 Back.xpm
##  Transparent Pager -
#	BackPixmap	129
##  Translucent Pager tinted <color>
# 	BackPixmap	129 #a8a8a8
~MyStyle

MyStyle "*PagerActiveDesk"
   	Font 	       DefaultSansOblique.ttf-12
	ForeColor      ActiveText
   	BackColor      Active
	BackGradient  2       ActiveLight     ActiveDark
 ~MyStyle

MyStyle "*PagerInActiveDesk"
   	Font 	       DefaultSansOblique.ttf-12
	ForeColor      HighInactiveText
   	BackColor      HighInactiveBack
   	BackGradient 2 Inactive1Light   Inactive1Dark
 ~MyStyle

MyStyle "Pager_font"
  Font          DefaultBold.ttf-8
  TextStyle     0
  ~MyStyle


MyStyle "*PagerFWindowStyle"
    Inherit	"focused_window_style"
	Inherit "Pager_font"
# gradients, pixmap allowed, but no transparency
~MyStyle

MyStyle "*PagerUWindowStyle"
    Inherit	"unfocused_window_style"
	Inherit "Pager_font"
	# gradients, pixmap allowed, but no transparency
~MyStyle

MyStyle "*PagerSWindowStyle"
    Inherit	"sticky_window_style"
	Inherit "Pager_font"
# gradients, pixmap allowed, but no transparency
~MyStyle

#----------Wharf MyStyles---------#

MyStyle "*WharfBalloon"
	Inherit "TitleButtonBalloon"
~MyStyle

MyStyle "*WharfTile"
	Font 	       DefaultSans.ttf-10
	ForeColor      InactiveText2
	BackColor      Inactive2
	BackGradient 2 Inactive1Dark Inactive1Light
~MyStyle

MyStyle "*WharfFocusedTile"
	Font 	       DefaultSansBold.ttf-10
	ForeColor      ActiveText
	BackColor      Active
        BackGradient 2 ActiveDark      ActiveLight
~MyStyle


MyStyle "*MonitorWharfTile"
	Font 	       DefaultSansOblique.ttf-12
	ForeColor      InactiveText2
	BackColor      Inactive2
	BackGradient 2 alpha(50,Inactive1Dark)   alpha(50,Inactive1Dark)
~MyStyle

#----------WinList MyStyles---------#

MyStyle "*WinListBalloon"
	Inherit "TitleButtonBalloon"
~MyStyle

MyStyle "WinListUnFocusedBar"
	BackGradient 2 Inactive1Dark Inactive1Light
~MyStyle

MyStyle "WinListFocusedBar"
	BackGradient 2 ActiveDark      ActiveLight
~MyStyle

MyStyle "WinListStickyBar"
	BackGradient 2 Inactive2Dark   Inactive2Light
~MyStyle

MyStyle "WinListUrgent"
  Font          DefaultSans.ttf-14
  TextStyle     3
  ForeColor     ActiveText
  BackColor     Active
  BackGradient  2  HighActiveBackDark HighActiveBackLight
  ~MyStyle

#----------aterm MyStyles---------#

MyStyle "*aterm"
	ForeColor      InactiveText2
	BackColor      Inactive2
	BackGradient   3 ActiveDark  alpha(50,ActiveLight)
~MyStyle

#####################################################
#----------Minimized window Button MyStyles---------#

MyStyle "ButtonPixmap"
  	BackColor     Black
  	BackGradient  2	Inactive1Light Inactive1Dark
~MyStyle

MyStyle "ButtonText"
	TextStyle	0
  	Font		DefaultSans.ttf-13
	BackGradient  2 Inactive1Dark Inactive1Light
~MyStyle

MyStyle "ButtonTitleFocus"
  	Inherit		"focused_window_style"
	Inherit		"ButtonText"
	BackGradient  2 ActiveDark ActiveLight
  ~MyStyle

MyStyle "ButtonTitleSticky"
	Inherit "sticky_window_style"
	Inherit		"ButtonText"
	BackGradient  2 Inactive2Dark Inactive2Light
 ~MyStyle

MyStyle "ButtonTitleUnfocus"
	Inherit "unfocused_window_style"
	Inherit		"ButtonText"
  ~MyStyle

# [0|1] Show Title on Buttons how?
SeparateButtonTitle 0
#  Border around iconifyied windows ?
#ButtonNoBorder
ButtonBevel	None
ButtonAlign	Center
# button border defines an area to be drawn around the icon in addition to bevel
# 2(bevel)+2(spacing)+56(icon)+2(spacing)+2(bevel) == 64
ButtonIconSpacing  2
# [x y] Size of application icons ?
ButtonSize 64 64

# Finally the Icon box defines Left Top Right Bottom sides of an area where 
# minimized windows should go. Give it enough size so that both button and 
# title text will fit  in there ( 64+16 = 80 )
IconBox                 1 -80 -1 -1


###################################################################
# Title balloons : 

TitleButtonBalloons
TitleButtonBalloonBorderHilite	None
TitleButtonBalloonXOffset	10
TitleButtonBalloonYOffset	10
TitleButtonBalloonDelay		200
TitleButtonBalloonCloseDelay	2000
TitleButtonBalloonStyle 	"TitleButtonBalloon"


###################################################################
# Also lets define colors for the cursor ( from selected colorscheme ) :

CursorFore "Cursor"
CursorBack "ActiveText"

###################################################################
# 2-5) : misc options

#  [0/1/2] Draw lines between menu options ?
DrawMenuBorders 1
#  [0/1] Texture menu options individually, or the whole menu ?
TextureMenuItemsIndividually 0
#  Corner where the resize box goes to: ++, +-, -+, -- (clockwise)
#ResizeMoveGeometry ++
# [0/1] Do you want minipixmaps in root menu ?
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 ; 1
TitleButtonStyle	0
#  define the number of pixels between titlebar buttons ; 0
TitleButtonSpacing	2
#  [0-10] Allows selection of move/resize rubberband look
RubberBand 2

# 3) TextStyle :
#  Mode is either 0 (normal), 1 (big 3d), 2 (nice 3d)
# 3-1) Text : fonts
TitleTextAlign          2

# 4) TileBar options :
# TitleButtons : [1] [3] [5] [7] [9] (title) [0] [8] [6] [4] [2]

# Flat buttons (shaped)
#TitleButton 1 1.xpm 1p.xpm
#TitleButton 2 2.xpm 2p.xpm
#TitleButton 3 3.xpm 3p.xpm
#TitleButton 4 4.xpm 4p.xpm
#TitleButton 6 5.xpm 5p.xpm

# Little buttons
#TitleButton 2 os8-kill.xpm os8-kill-pressed.xpm
#TitleButton 4 os8-shade.xpm os8-shade-pressed.xpm
#TitleButton 3 os8-maximize.xpm os8-maximize-pressed.xpm
#TitleButton 6 os8-iconize.xpm os8-iconize-pressed.xpm

# Big buttons (shaped)
#TitleButton 1 as1.5-menu.xpm as1.5-menu-p.xpm
#TitleButton 3 as1.5-iconize.xpm as1.5-iconize-p.xpm
#TitleButton 2 as1.5-kill.xpm as1.5-kill-p.xpm
#TitleButton 4 as1.5-shade.xpm as1.5-shade-p.xpm

# Normal buttons
TitleButton 3 dots/abi-menu                       dots/abi-menu-push
TitleButton 2 dots/abi-close                      dots/abi-close-push
TitleButton 4 dots/abi-shade                      dots/abi-shade-push
TitleButton 6 dots/abi-icon-max                   dots/abi-icon-max-push

# the following is used instead of MenuPinOn :
TitleButton 5 dots/abi-pin                        dots/abi-pin-push

#----------Window MyStyles---------#

MyFrame "Abi"


	TitleBevel              None
	
	#       Side North      
	#        SideSize  North  4x1
	        Side West       
		SideSize  West  3x1
		Side East       
		SideSize  East  3x1
					
		Side South
		SideSize South  3x1
#        SideBevel  South Right,Bottom
          	Corner SW
	        CornerSize SW    20x3
		#        CornerBevel SW   Right,Bottom
		Corner SE
		CornerSize SE    20x3
#        CornerBevel SE   Right,Bottom
				
        NoBorder
				
	 FrameFStyle     "focus_frame"
	 FrameUStyle     "unfocus_frame"
	 FrameSStyle     "sticky_frame"
~MyFrame
							
DefaultFrame "Abi"
DecorateFrames 1
							

MArrowPixmap		arrow-dots.xpm


################################################################################
# Optional stuff :

# Window decorations Frame can be defined as such :
#
# MyFrame "name"
#     [Inherit     "some_other_name"]
#traditional form :
#     [North       <pixmap>]
#     [East        <pixmap>]
#     [South       <pixmap>]
#     [West        <pixmap>]
#     [NorthEast   <pixmap>]
#     [NorthWest   <pixmap>]
#     [SouthEast   <pixmap>]
#     [SouthWest   <pixmap>]
#alternative form :
#     [Side        North|South|East|West|Any [<pixmap>]] - if pixmap is ommited -
#                                                          empty bevel will be drawn
#     [NoSide      North|South|East|West|Any]
#     [Corner      NorthEast|SouthEast|NorthWest|SouthWest|Any <pixmap>] - if pixmap is ommited -
#                                                                          empty bevel will be drawn
#     [NoCorner    NorthEast|SouthEast|NorthWest|SouthWest|Any]
#new settings :
#  this MyStyles will override *WindowStyle "" setting above, allowing for example for frame
#  decoration to be drawn with different style then titlebar :
#     [TitleUnfocusedStyle   <style>
#     [TitleFocusedStyle     <style>
#     [TitleStickyStyle      <style>
#     [FrameUnfocusedStyle   <style>
#     [FrameFocusedStyle     <style>
#     [FrameStickyStyle      <style>
#     [TitleBackground       <pixmap>] - gets overlayed over background and under the text
#additional attributes :
#     [SideSize        North|South|East|West|Any <WIDTHxLENGTH>] - pixmap will be scaled to this size
#     [SideAlign       North|South|East|West|Any Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled]
#     [SideBevel       North|South|East|West|Any None|[Left,Top,Right,Bottom,Extra,NoOutline]]
#     [SideFocusedBevel      North|South|East|West|Any None|[Left,Top,Right,Bottom,Extra,NoOutline]]
#     [SideUnfocusedBevel    North|South|East|West|Any None|[Left,Top,Right,Bottom,Extra,NoOutline]]
#     [SideStickyBevel       North|South|East|West|Any None|[Left,Top,Right,Bottom,Extra,NoOutline]]
#     [CornerSize      NorthEast|SouthEast|NorthWest|SouthWest|Any <WIDTHxHEIGHT>]
#     [CornerAlign     NorthEast|SouthEast|NorthWest|SouthWest|Any Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled]
#     [CornerBevel     NorthEast|SouthEast|NorthWest|SouthWest|Any None|[Left,Top,Right,Bottom,Extra,NoOutline]]
#     [CornerFocusedBevel    NorthEast|SouthEast|NorthWest|SouthWest|Any None|[Left,Top,Right,Bottom,Extra,NoOutline]]
#     [CornerUnfocusedBevel  NorthEast|SouthEast|NorthWest|SouthWest|Any None|[Left,Top,Right,Bottom,Extra,NoOutline]]
#     [CornerStickyBevel     NorthEast|SouthEast|NorthWest|SouthWest|Any None|[Left,Top,Right,Bottom,Extra,NoOutline]]
#      TitleBevel      None
#     [TitleFocusedBevel     None|[Left,Top,Right,Bottom,Extra,NoOutline]
#     [TitleUnfocusedBevel   None|[Left,Top,Right,Bottom,Extra,NoOutline]
#     [TitleStickyBevel      None|[Left,Top,Right,Bottom,Extra,NoOutline]
#     [TitleAlign      None|[Left,Top,Right,Bottom]
#     [TitleBackgroundAlign  None|[Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled,LabelSize]]
#
# texture_type is the same as in MyStyle definitions for BackPIxmap ( valid values are in 130-160 range ):
#     [TitleCompositionMethod   testure_type]
#     [TitleFocusedCompositionMethod     testure_type]
#     [TitleUnfocusedCompositionMethod   testure_type]
#     [TitleStickyCompositionMethod      testure_type]
#
#     More fine tuned control of what makes up a titlebar 
#     ( note that these pixmap will be overlayed over Tbar MyStyle BackPixmap ): 
#     [LeftBtnBackground	<pixmap>
#     [LeftBtnBackAlign		None|[Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled,LabelSize]]
#     [LeftSpacerBackground	<pixmap>
#     [LeftSpacerBackAlign	None|[Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled,LabelSize]]
#     [LeftTitleSpacerBackground	<pixmap>
#     [LeftTitleSpacerBackAlign		None|[Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled,LabelSize]]
#     [RightTitleSpacerBackground	<pixmap>
#     [RightTitleSpacerBackAlign	None|[Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled,LabelSize]]
#     [RightSpacerBackground	<pixmap>
#     [RightSpacerBackAlign	None|[Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled,LabelSize]]
#     [RightBtnBackground	<pixmap>
#     [RightBtnBackAlign	None|[Left,Top,Right,Bottom,HTiled,VTiled,HScaled,VScaled,LabelSize]]

#  These gives you more options for the order of above titlebar pixmaps :
#     [LeftTitlebarLayout	Buttons,Spacer,TitleSpacer]
#     [RightTitlebarLayout	Buttons,Spacer,TitleSpacer]
#     [CondenseTitlebar		[Left[,Right]]]
#
#default layout is : Buttons,Spacer,TitleSpacer   Title   TitleSpacer,Spacer,Buttons
# The following lines will swap it around : 
#	LeftTitlebarLayout	Spacer,Buttons
#	RightTitlebarLayout	Buttons,Spacer
# This will make titlebar not to be sized same as the window :
#	CondenseTitlebar	Left
#
#~MyFrame
#
#
# Several MyFrame's could be defined. Whichever will be used is deternmined by MyFrame "name" setting in
# database entry. Otherwise Default Frame is used, as determined by the following setting :

# DefaultFrame "name"
#####################################################################
# Root background settings :
#
# To disable root background drawing by AfterStep uncomment this one :
#DontDrawBackground
#
#AfterStep by default will tile image in ~/.afterstep/non-configurable/#_background.
#To use different methods use config options previously used in asteroot module :

#MyBackground "back2"
#    Use 0 "~/GNUstep/Library/AfterStep/non-configurable/1_background"
#    Tint red
#    Cut  300x300
#    Scale 500x500
#    Pad 0 yellow
#    Align 4
#~MyBackground
#
#MyBackground "back3"
#    Use 1 "*WharfTile"
#    Tint green
#~MyBackground
#
#MyBackground "back4"
#    Use 2 "-onroot -quiet ~/GNUstep/Library/AfterStep/non-configurable/1_background"
#    Tint green
#~MyBackground
#
#DeskBack  0  "back2"

KillBackgroundThreshold 10000000

# modules specific look : 
# setting up WinList look : 
*WinListUnfocusedStyle  "WinListUnFocusedBar"
*WinListFocusedStyle  	"WinListFocusedBar"
*WinListStickyStyle  	"WinListStickyBar"
