home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Enlightenment
/
afterstep_theme.tar.gz
/
afterstep_theme.tar
/
afterstep
/
windowstyles
< prev
Wrap
Text File
|
1997-05-26
|
9KB
|
299 lines
#__________________________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 off
# what type of window moving. currently opquae, shape and box are available.
# 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 1
# right border width etc etc etc
right 1
top 22
bottom 8
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)
# Top Left Min Button
begin subwin
type button
coord1_relative topleft
coord1 0 0
coord2_relative topleft
coord2 21 22
image clicked @DIR@/themes/afterstep/images/min2.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/min.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/min3.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
# Top part of Title bar
begin subwin
type decoration
coord1_relative topleft
coord1 21 0
coord2_relative topright
coord2 -21 4
image clicked @DIR@/themes/afterstep/images/toptitle.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/toptitle.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/toptitle3.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
# Title Bar
begin subwin
type title
coord1_relative topleft
coord1 21 4
coord2_relative topright
coord2 -21 19
image clicked @DIR@/themes/afterstep/images/title.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/title.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/title3.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
# Bottom part of Title bar
begin subwin
type decoration
coord1_relative topleft
coord1 21 19
coord2_relative topright
coord2 -21 22
image clicked @DIR@/themes/afterstep/images/btmtitle.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/btmtitle.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/btmtitle3.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
# Top Right Kill Button
begin subwin
type button
coord1_relative topright
coord1 -21 0
coord2_relative topright
coord2 0 22
image clicked @DIR@/themes/afterstep/images/kill2.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/kill.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/kill3.ppm shapecolor off 255 0 255
image scale_method scale
level above
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
# Left Side
begin subwin
type button
coord1_relative topleft
coord1 0 22
coord2_relative bottomleft
coord2 1 -8
image clicked @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/sides.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
# Right Side
begin subwin
type button
coord1_relative topright
coord1 -1 22
coord2_relative bottomleft
coord2 0 -8
image clicked @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/sides.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
# Bottom Left Move Button
begin subwin
type button
coord1_relative bottomleft
coord1 0 -8
coord2_relative bottomleft
coord2 30 0
image clicked @DIR@/themes/afterstep/images/leftbtm.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/leftbtm.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/leftbtm.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
# Bottom Line
begin subwin
type button
coord1_relative bottomleft
coord1 30 -8
coord2_relative bottomright
coord2 -29 0
image clicked @DIR@/themes/afterstep/images/btm.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/btm.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/btm.ppm shapecolor off 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
# Bottom Right Scale Button
begin subwin
type button
coord1_relative bottomright
coord1 -29 -8
coord2_relative bottomright
coord2 0 0
image clicked @DIR@/themes/afterstep/images/rtbtm.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/rtbtm.ppm shapecolor off 255 0 255
image unselected @DIR@/themes/afterstep/images/rtbtm.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
# 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