default look

Guylhem Aznar (guylhem@danmark.barberouge.linux.lmm.com)
Fri, 25 Sep 1998 23:58:23 +0200



--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii

Hi David !

What do you think about these look & pager files ?

Thery're based upon David's look.newdefault, but they introduce a kind of
"color code" :
 * black stands for sticky (window, pager, menu...)
 * blue stands for current option
 * grey stands for possible option

I like it but it's far from perfect ; feel free to improve it.

BTW, what about designing other titlebuttons ?

We need "original" buttons.  I think triangles, circles (...) could be ok,
but once again, feel free to design better buttons or try to uncomment any
other button section.

PS, after an update start menu, I can see a "nop", a "screensaver" and an
"afterstepdoc" in startmenu.

start dir. contains :
0_nop           3_screensaver   8_Eterm         Screen_savers
1_screensaver   4_afterstepdoc  Applications    Windows
2_afterstepdoc  5_xiterm        Decorations     
2_nop           6_xterm         Modules         
3_nop           7_rxvt          Quit            

I think only 1 "Screen saver", "AfterStep documentation" (...) should be
enought, so we should remove the 2 other files :)

-- 
____/|  "Letting people bear arms is letting them kill our children"
\ o.O|            Enlever rrremovethis / Remove rrremovethis
 =(_)=                           Salut / Best regards
  \u/          Guylhem AZNAR <guylhem@rrremovethis.oeil.qc.ca>


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=pager

#------------------------------------------------------------------------
# Pager
#

# Generalities
Balloons
BalloonFore          #E5E2E8
BalloonBack          #475293
BalloonFont          -adobe-helvetica-bold-o-*-*-10-*-*-*-*-*-*-*
#BalloonBorderWidth   2
#BalloonBorderColor   Grey30
#BalloonYOffset      2
#BalloonDelay	     120
HiBackColor          #475293
HiForeColor          Grey70
StickyPagerIcon

# Pager-executables name specific options
*PagerBack           grey30
*PagerFore           #E5E2E8
*PagerFont           -adobe-helvetica-bold-o-*-*-10-*-*-*-*-*-*-*
*PagerSmallFont      5x8
# To remove pager title
#*PagerFont          none
#*PagerSmallFont     none
*PagerHilight        #050505
*PagerGeometry       -1+19
#*PagerWallpaper     0       ~/GNUstep/Library/AfterStep/non-configurable/0_background
#*PagerWallpaper     1       ~/GNUstep/Library/AfterStep/non-configurable/1_background
#*PagerWallpaper     2       ~/GNUstep/Library/AfterStep/non-configurable/2_background
#*PagerWallpaper     3       ~/GNUstep/Library/AfterStep/non-configurable/3_background
*PagerXPM            0       ~/GNUstep/Library/AfterStep/non-configurable/0_background
*PagerXPM            1       ~/GNUstep/Library/AfterStep/non-configurable/1_background
*PagerXPM            2       ~/GNUstep/Library/AfterStep/non-configurable/2_background
*PagerXPM            3       ~/GNUstep/Library/AfterStep/non-configurable/3_background
# use *PagerRedrawBg 0 with xearth, xfishtank, ... to avoid redrawing background
*PagerRedrawBg       1
*PagerAlign          0
*PagerLabel          0       Work
*PagerLabel          1       WWW
*PagerLabel          2       Mail
*PagerLabel          3       Games
*PagerRows	     1
*PagerColumns        4

*WPagerBack           Grey30
*WPagerFore           Grey70
*WPagerFont           -adobe-helvetica-bold-o-*-*-10-*-*-*-*-*-*-*
*WPagerSmallFont      5x8
*WPagerHilight        #475293
*WPagerGeometry       -0-1
*WPagerXPM            0       ~/GNUstep/Library/AfterStep/non-configurable/0_background
*WPagerAlign          0
*WPagerLabel          0       Work
*WPagerRedrawBg       1
*WPagerRows           1
*WPagerColumns        1

*XPagerBack           Grey30
*XPagerFore           Grey70
*XPagerFont           -adobe-helvetica-bold-o-*-*-10-*-*-*-*-*-*-*
*XPagerSmallFont      5x8
*XPagerHilight        #475293
*XPagerGeometry       -0-1
*XPagerXPM            1       ~/GNUstep/Library/AfterStep/non-configurable/1_background
*XPagerAlign          0
*XPagerLabel          1       WWW
*XPagerRedrawBg       1
*XPagerRows           1
*XPagerColumns        1

*YPagerBack           Grey30
*YPagerFore           Grey70
*YPagerFont           -adobe-helvetica-bold-o-*-*-10-*-*-*-*-*-*-*
*YPagerSmallFont      5x8
*YPagerHilight        #475293
*YPagerGeometry       -0-1
*YPagerXPM            2       ~/GNUstep/Library/AfterStep/non-configurable/2_background
*YPagerAlign          0
*YPagerLabel          2       Mail
*YPagerRedrawBg       1
*YPagerRows           1
*YPagerColumns        1

*ZPagerBack           Grey30
*ZPagerFore           Grey70
*ZPagerFont           adobe-helvetica-bold-o-*-*-10-*-*-*-*-*-*-*
*ZPagerSmallFont      5x8
*ZPagerHilight        #475293
*ZPagerGeometry       -0-1
*ZPagerXPM            3       ~/GNUstep/Library/AfterStep/non-configurable/3_background
*ZPagerAlign          0
*ZPagerLabel          3       Games
*ZPagerRedrawBg       1
*ZPagerRows           1
*ZPagerColumns        1


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: My prefered default look
Content-Disposition: attachment; filename="look.def"

##########################################################################
# Look by David Mihm (look.NEW.DEFAULT)
#
#------------------------------------------------------------------------
# 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-*-*-12-*-*-*-*-*-*-*
  ForeColor	red
  BackColor	green
  ~MyStyle

MyStyle "menu_title_font"
  Font		-*-lucida-bold-r-*-*-13-*-*-*-*-*-*-*
  TextStyle	0
  ~MyStyle

MyStyle "menu_font"
  Font		-b&h-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
  TextStyle	0
  ~MyStyle

MyStyle "menu_title_style"
  Inherit	menu_title_font
  ForeColor	grey70
  BackColor	#050505				#basically black
  ~MyStyle

MyStyle "menu_item_style"
  Inherit	menu_font
  ForeColor	#E5E2E8				#basically white
  BackColor	grey30
  ~MyStyle

MyStyle "menu_hilite_style"
  Font		-*-helvetica-bold-r-*-*-13-*-*-*-*-*-*-*
  ForeColor	white
  BackColor	#475293
  ~MyStyle

MyStyle "focused_window_style"
  Font          -*-helvetica-bold-r-*-*-13-*-*-*-*-*-*-*
  ForeColor     #E5E2E8                         #basically white
  BackColor	#475293
  ~MyStyle

MyStyle "unfocused_window_style"
  Inherit       menu_font
  ForeColor     #E5E2E8                         #basically white
  BackColor     grey30
  ~MyStyle

MyStyle "sticky_window_style"
  Inherit       menu_font
  ForeColor     white
  BackColor	#050505				#basically black
  ~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	grey70
  ~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) : types
#NOTE:  to use Button*, one needs to ./configure 
#	AfterStep with --enable-iconbackground !!
#	[enabled here for those that did the above]
ButtonTextureType	128

# 2-3) : pixmaps
ButtonPixmap		Back.xpm
MenuPinOn		as1.5-kill.xpm
#MenuPinOff		as1.5-kill.xpm
MArrowPixmap		arrow-dots.xpm

# 2-4) : gradients (can't choose both, except for TextGradientColor)
#ButtonTextureColor	#FF0000  #0000FF
#ButtonBgColor		#0a3b5b

# 2-5) : misc 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 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 0
# [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	2

# 3) TextStyle :
#  Mode is either 0 (normal), 1 (big 3d), 2 (nice 3d)
# 3-1) Text : fonts
IconFont                -adobe-helvetica-medium-r-*-*-8-*-*-*-*-*-*-*
IconBox                 1 -64 -1 -1
TitleTextAlign          0

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

# Flat buttons
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
#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 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

--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: Other possibility
Content-Disposition: attachment; filename="look.wm"

##########################################################################
# Look by David Mihm (look.NEW.DEFAULT)
#
#------------------------------------------------------------------------
# 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-*-*-12-*-*-*-*-*-*-*
  ForeColor	red
  BackColor	green
  ~MyStyle

MyStyle "menu_title_font"
  Font		-*-lucida-bold-r-*-*-13-*-*-*-*-*-*-*
  TextStyle	0
  ~MyStyle

MyStyle "menu_font"
  Font		-b&h-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
  TextStyle	0
  ~MyStyle

MyStyle "menu_title_style"
  Inherit	menu_title_font
  ForeColor	grey70
  BackColor	#050505				#basically black
  ~MyStyle

MyStyle "menu_item_style"
  Inherit	menu_font
  ForeColor	#E5E2E8				#basically white
  BackColor	grey30
  ~MyStyle

MyStyle "menu_hilite_style"
  Font		-*-helvetica-bold-r-*-*-13-*-*-*-*-*-*-*
  ForeColor	white
  BackColor	#475293
  ~MyStyle

MyStyle "focused_window_style"
  Font          -*-helvetica-bold-r-*-*-13-*-*-*-*-*-*-*
  ForeColor     #E5E2E8                         #basically white
  BackColor	#475293
  ~MyStyle

MyStyle "unfocused_window_style"
  Inherit       menu_font
  ForeColor     #E5E2E8                         #basically white
  BackColor     grey30
  ~MyStyle

MyStyle "sticky_window_style"
  Inherit       menu_font
  ForeColor     white
  BackColor	#050505				#basically black
  ~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	grey70
  ~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) : types
#NOTE:  to use Button*, one needs to ./configure 
#	AfterStep with --enable-iconbackground !!
#	[enabled here for those that did the above]
ButtonTextureType	128

# 2-3) : pixmaps
ButtonPixmap		Back.xpm
MenuPinOn		as1.5-kill.xpm
#MenuPinOff		as1.5-kill.xpm
MArrowPixmap		arrow-dots.xpm

# 2-4) : gradients (can't choose both, except for TextGradientColor)
#ButtonTextureColor	#FF0000  #0000FF
#ButtonBgColor		#0a3b5b

# 2-5) : misc 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 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 0
# [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	1
#  define the number of pixels between titlebar buttons
TitleButtonSpacing	0

# 3) TextStyle :
#  Mode is either 0 (normal), 1 (big 3d), 2 (nice 3d)
# 3-1) Text : fonts
IconFont                -adobe-helvetica-medium-r-*-*-8-*-*-*-*-*-*-*
IconBox                 1 -64 -1 -1
TitleTextAlign          0

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

# Flat buttons
#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
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 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

--OXfL5xGRrasGEqWY--