#__________________________ENLIGHTENMENT_CONFIG_FILE___________________________

# If the first non-commented or blank line is "begin window" then this is a 
# window-styles config file. But it is possible to put several config files
# into one. Perhaps a main config-file specifying all config files to load in

% status /usr/local/enlightenment/images/default/stat_1.ppm shapemode on 255 0 255 WindowBorders...

begin window
# shapewindows (transparent bits) option on or off
  shaped on
# what type of window moving. currently opquae will do. more styles will be
# available
  move opaque
# same as the moving style.. but for resizing  
  resize opaque
# set the autoraise of, or off, and if on, the time in millisecond before the
# window is autoraised, if it is still in focus after that time...
  autoraise off 1000
# start a border definition section. this only defines the border widths  
  begin border
# lefto border width in pixels  
    left 24
# right border width etc etc etc    
    right 24
    top 24
    bottom 24
  end
# subwindow section. subwindows are the key to an enlightenment window
# border. these are "widgets" or buttos o the border of your window, and
# clicking on onew will invoke an action.. like resize, move, raise, lower
# or whatever is defined for the subwin. You can have a limitless number
# (okay current limit 64.. cause i use an array.. this is generous I belive
# ... using piles will slow things down too much)
  begin subwin
# type.. this defines if its a titlebar or not here.. so this button doesnt
# just display its backgroup pixmap, and change that when clicked etc., but
# alos will containty eh window title. there is no reason why you cant have
# several of these. infact of ay subwin type :-)
    type button
# define where this subwindow is to be drawn, by defining its top-left and
# bottom-right co-ordinates, and whihc corners of the window they are relative
# to. this will define the location, and how the window resizes itself. the
# window designer part of enlightenment should produce this stuff and allow
# it all to be visually defined.
    coord1_relative topleft
    coord1 0 0
    coord2_relative topleft
    coord2 37 31
# the background images to be used for the subwin. this defines the image file
# for various states of the window, the colour that will be transparent
# (seeing ppm's dont have support of transparent coloursd, they will be
# defined here instead. the window designer will allow the transparent colour
# to be picked interactively)
    image clicked    /usr/local/enlightenment/images/default/b3.ppm  shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/b2.ppm  shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/b1.ppm  shapecolor on 255 0 255
# whether to tile the image in the subwin, scale it ot even tilescale (where
# an integer number of the image will be tiled to fit the subwin)
    image scale_method scale
# whether the subwin is above or below the client window itself.. so you can
# infact have buttos overlapping the client windows of your xterm, rxvt or
# netscape or whatever.. not necessarily wise to have LOTS of overlap, but
# its up to the user. 1-5 pixels should still be fie and give a nice effect.
# above means the subwin is above the client window. below means its
# underneath it
    level above
# define the beahivor of the subwin. the number is the button number of the
# mouse (1= left, 2=middle, 3=right.. 4 & 5 are supported by X, and can be
# defied here if you want... but i cant test them myself... i only have 3
# buttons on my mouse
# the thing before the number is the modifier.. so none means just a plain
# button click.. shift = shift + button click.... and the part at the end
# after the number is the action to perform apon this interaction by the user
    action none 1 kill
    action none 2 none
    action none 3 kill_nasty
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
# end the wubwindow section    
  end
# we could have more subwin sections here.. 1 per subwindow "widget" or
# button... like buttons for killing, iconising, and "corner" and "border"
# widgets (they are fixesd in all other windowmanagers.. in enlightenment they
# merelty are more subwins) for resizing....
  begin subwin
    type button
    coord1_relative topleft
    coord1 0 31
    coord2_relative topleft
    coord2 24 49
    image clicked    /usr/local/enlightenment/images/default/c3.ppm shapecolor off 255 0 255 
    image selected   /usr/local/enlightenment/images/default/c2.ppm shapecolor off 255 0 255
    image unselected /usr/local/enlightenment/images/default/c1.ppm shapecolor off 255 0 255
    image scale_method scale
    level above
    action none 1 iconify
    action none 2 none
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative topleft
    coord1 0 49
    coord2_relative topleft
    coord2 24 73
    image clicked    /usr/local/enlightenment/images/default/d3.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/d2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/d1.ppm shapecolor on 255 0 255
    image scale_method scale
    level above
    action none 1 raise_lower
    action none 2 raise
    action none 3 lower
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative topleft
    coord1 19 73
    coord2_relative bottomleft
    coord2 24 -24
    image clicked    /usr/local/enlightenment/images/default/e2.ppm shapecolor off 255 0 255 
    image selected   /usr/local/enlightenment/images/default/e2.ppm shapecolor off 255 0 255
    image unselected /usr/local/enlightenment/images/default/e1.ppm shapecolor off 255 0 255
    image scale_method scale
    level above
    action none 1 resize
    action none 2 move
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative bottomleft
    coord1 19 -24
    coord2_relative bottomleft
    coord2 24 -20
    image clicked    /usr/local/enlightenment/images/default/f2.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/f2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/f1.ppm shapecolor on 255 0 255
    image scale_method scale
    level above
    action none 1 resize
    action none 2 move
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative bottomleft
    coord1 24 -24
    coord2_relative bottomright
    coord2 -64 -20
    image clicked    /usr/local/enlightenment/images/default/g2.ppm shapecolor off 255 0 255 
    image selected   /usr/local/enlightenment/images/default/g2.ppm shapecolor off 255 0 255
    image unselected /usr/local/enlightenment/images/default/g1.ppm shapecolor off 255 0 255
    image scale_method scale
    level above
    action none 1 resize
    action none 2 move
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative bottomright
    coord1 -64 -24
    coord2_relative bottomright
    coord2 -52 -6
    image clicked    /usr/local/enlightenment/images/default/h2.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/h2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/h1.ppm shapecolor on 255 0 255
    image scale_method scale
    level above
    action none 1 resize
    action none 2 move
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative bottomright
    coord1 -52 -24
    coord2_relative bottomright
    coord2 -26 -8
    image clicked    /usr/local/enlightenment/images/default/i2.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/i2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/i1.ppm shapecolor on 255 0 255
    image scale_method scale
    level above
    action none 1 resize
    action none 2 move
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative bottomright
    coord1 -26 -26
    coord2_relative bottomright
    coord2 -1 -1
    image clicked    /usr/local/enlightenment/images/default/j3.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/j2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/j1.ppm shapecolor on 255 0 255
    image scale_method scale
    level above
    action none 1 resize
    action none 2 none
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative topright
    coord1 -24 24
    coord2_relative bottomright
    coord2 -14 -26
    image clicked    /usr/local/enlightenment/images/default/k2.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/k2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/k1.ppm shapecolor on 255 0 255
    image scale_method scaletile
    level above
    action none 1 resize
    action none 2 move
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative topright
    coord1 -24 0
    coord2_relative topright
    coord2 -19 24
    image clicked    /usr/local/enlightenment/images/default/p2.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/p2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/p1.ppm shapecolor on 255 0 255
    image scale_method scale
    level above
    action none 1 resize
    action none 2 move
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type decoration
    coord1_relative topleft
    coord1 100 0
    coord2_relative topright
    coord2 -24 24
    image clicked    /usr/local/enlightenment/images/default/q2.ppm shapecolor off 255 0 255 
    image selected   /usr/local/enlightenment/images/default/q2.ppm shapecolor off 255 0 255
    image unselected /usr/local/enlightenment/images/default/q1.ppm shapecolor off 255 0 255
    image scale_method scale
    level above
    action none 1 none
    action none 2 none
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative topleft
    coord1 94 0
    coord2_relative topleft
    coord2 100 24
    image clicked    /usr/local/enlightenment/images/default/o2.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/o2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/o1.ppm shapecolor on 255 0 255
    image scale_method scale
    level above
    action none 1 resize
    action none 2 move
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type title
    coord1_relative topleft
    coord1 100 4
    coord2_relative topright
    coord2 -25 19
    image clicked    /usr/local/enlightenment/images/default/m3.ppm shapecolor off 255 0 255 
    image selected   /usr/local/enlightenment/images/default/m2.ppm shapecolor off 255 0 255
    image unselected /usr/local/enlightenment/images/default/m1.ppm shapecolor off 255 0 255
    image scale_method scale
    level above
    action none 1 move
    action none 2 max_height
    action none 3 max_width
    action shift 1 max_size
    action shift 2 none
    action shift 3 none
    action ctrl 1 raise
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 lower
    action alt 2 none
    action alt 3 none
  end
  begin subwin
    type button
    coord1_relative topleft
    coord1 37 7
    coord2_relative topleft
    coord2 94 24
    image clicked    /usr/local/enlightenment/images/default/n2.ppm shapecolor on 255 0 255 
    image selected   /usr/local/enlightenment/images/default/n2.ppm shapecolor on 255 0 255
    image unselected /usr/local/enlightenment/images/default/n1.ppm shapecolor on 255 0 255
    image scale_method scale
    level above
    action none 1 iconify
    action none 2 none
    action none 3 none
    action shift 1 none
    action shift 2 none
    action shift 3 none
    action ctrl 1 none
    action ctrl 2 none
    action ctrl 3 none
    action alt 1 none
    action alt 2 none
    action alt 3 none
  end

# end the windowstyle config section. in a multi-file system, this will end
# the file, but you can thow it all into one file if you so please...
end

