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   
Text File  |  1997-05-26  |  9KB  |  299 lines

  1. #__________________________ENLIGHTENMENT_CONFIG_FILE___________________________
  2.  
  3. # If the first non-commented or blank line is "begin window" then this is a 
  4. # window-styles config file. But it is possible to put several config files
  5. # into one. Perhaps a main config-file specifying all config files to load in
  6.  
  7. % status /usr/local/enlightenment/images/default/stat_1.ppm shapemode on 255 0 255 WindowBorders...
  8.  
  9. begin window
  10. # shapewindows (transparent bits) option on or off
  11.   shaped off
  12. # what type of window moving. currently opquae, shape and box are available.
  13. # available
  14.   move opaque
  15. # same as the moving style.. but for resizing  
  16.   resize opaque
  17. # set the autoraise of, or off, and if on, the time in millisecond before the
  18. # window is autoraised, if it is still in focus after that time...
  19.   autoraise off 1000
  20. # start a border definition section. this only defines the border widths  
  21.   begin border
  22. # lefto border width in pixels  
  23.     left 1
  24. # right border width etc etc etc    
  25.     right 1
  26.     top 22
  27.     bottom 8
  28.   end
  29. # subwindow section. subwindows are the key to an enlightenment window
  30. # border. these are "widgets" or buttos o the border of your window, and
  31. # clicking on onew will invoke an action.. like resize, move, raise, lower
  32. # or whatever is defined for the subwin. You can have a limitless number
  33. # (okay current limit 64.. cause i use an array.. this is generous I belive
  34. # ... using piles will slow things down too much)
  35.  
  36. # Top Left Min Button
  37.   begin subwin
  38.     type button
  39.     coord1_relative topleft
  40.     coord1 0 0
  41.     coord2_relative topleft
  42.     coord2 21 22
  43.     image clicked    @DIR@/themes/afterstep/images/min2.ppm  shapecolor off 255 0 255 
  44.     image selected   @DIR@/themes/afterstep/images/min.ppm  shapecolor off 255 0 255 
  45.     image unselected @DIR@/themes/afterstep/images/min3.ppm  shapecolor off 255 0 255 
  46.     image scale_method scale
  47.     level above
  48.     action none 1 iconify
  49.     action none 2 none
  50.     action none 3 none
  51.     action shift 1 none
  52.     action shift 2 none
  53.     action shift 3 none
  54.     action ctrl 1 none
  55.     action ctrl 2 none
  56.     action ctrl 3 none
  57.     action alt 1 none
  58.     action alt 2 none
  59.     action alt 3 none
  60.   end
  61.  
  62. # Top part of Title bar
  63.   begin subwin
  64.     type decoration
  65.     coord1_relative topleft
  66.     coord1 21 0
  67.     coord2_relative topright
  68.     coord2 -21 4
  69.     image clicked    @DIR@/themes/afterstep/images/toptitle.ppm shapecolor off 255 0 255 
  70.     image selected   @DIR@/themes/afterstep/images/toptitle.ppm shapecolor off 255 0 255 
  71.     image unselected @DIR@/themes/afterstep/images/toptitle3.ppm shapecolor off 255 0 255 
  72.     image scale_method scale
  73.     level above
  74.     action none 1 move
  75.     action none 2 max_height
  76.     action none 3 max_width
  77.     action shift 1 max_size
  78.     action shift 2 none
  79.     action shift 3 none
  80.     action ctrl 1 raise
  81.     action ctrl 2 none
  82.     action ctrl 3 none
  83.     action alt 1 lower
  84.     action alt 2 none
  85.     action alt 3 none
  86.   end
  87.  
  88. # Title Bar
  89.   begin subwin
  90.     type title
  91.     coord1_relative topleft
  92.     coord1 21 4
  93.     coord2_relative topright
  94.     coord2 -21 19
  95.     image clicked    @DIR@/themes/afterstep/images/title.ppm shapecolor off 255 0 255 
  96.     image selected   @DIR@/themes/afterstep/images/title.ppm shapecolor off 255 0 255 
  97.     image unselected @DIR@/themes/afterstep/images/title3.ppm shapecolor off 255 0 255 
  98.     image scale_method scale
  99.     level above
  100.     action none 1 move
  101.     action none 2 max_height
  102.     action none 3 max_width
  103.     action shift 1 max_size
  104.     action shift 2 none
  105.     action shift 3 none
  106.     action ctrl 1 raise
  107.     action ctrl 2 none
  108.     action ctrl 3 none
  109.     action alt 1 lower
  110.     action alt 2 none
  111.     action alt 3 none
  112.   end
  113.  
  114. # Bottom part of Title bar
  115.   begin subwin
  116.     type decoration
  117.     coord1_relative topleft
  118.     coord1 21 19
  119.     coord2_relative topright
  120.     coord2 -21 22
  121.     image clicked    @DIR@/themes/afterstep/images/btmtitle.ppm shapecolor off 255 0 255 
  122.     image selected   @DIR@/themes/afterstep/images/btmtitle.ppm shapecolor off 255 0 255 
  123.     image unselected @DIR@/themes/afterstep/images/btmtitle3.ppm shapecolor off 255 0 255 
  124.     image scale_method scale
  125.     level above
  126.     action none 1 move
  127.     action none 2 max_height
  128.     action none 3 max_width
  129.     action shift 1 max_size
  130.     action shift 2 none
  131.     action shift 3 none
  132.     action ctrl 1 raise
  133.     action ctrl 2 none
  134.     action ctrl 3 none
  135.     action alt 1 lower
  136.     action alt 2 none
  137.     action alt 3 none
  138.   end
  139.  
  140. # Top Right Kill Button
  141.   begin subwin
  142.     type button
  143.     coord1_relative topright
  144.     coord1 -21 0
  145.     coord2_relative topright
  146.     coord2 0 22
  147.     image clicked    @DIR@/themes/afterstep/images/kill2.ppm shapecolor off 255 0 255 
  148.     image selected   @DIR@/themes/afterstep/images/kill.ppm shapecolor off 255 0 255 
  149.     image unselected @DIR@/themes/afterstep/images/kill3.ppm shapecolor off 255 0 255 
  150.     image scale_method scale
  151.     level above
  152.     action none 1 kill
  153.     action none 2 none
  154.     action none 3 kill_nasty
  155.     action shift 1 none
  156.     action shift 2 none
  157.     action shift 3 none
  158.     action ctrl 1 none
  159.     action ctrl 2 none
  160.     action ctrl 3 none
  161.     action alt 1 none
  162.     action alt 2 none
  163.     action alt 3 none
  164.   end
  165.  
  166. # Left Side
  167.   begin subwin
  168.     type button
  169.     coord1_relative topleft
  170.     coord1 0 22
  171.     coord2_relative bottomleft
  172.     coord2 1 -8
  173.     image clicked    @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255 
  174.     image selected   @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255 
  175.     image unselected @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255 
  176.     image scale_method scale
  177.     level above
  178.     action none 1 resize
  179.     action none 2 move
  180.     action none 3 none
  181.     action shift 1 none
  182.     action shift 2 none
  183.     action shift 3 none
  184.     action ctrl 1 none
  185.     action ctrl 2 none
  186.     action ctrl 3 none
  187.     action alt 1 none
  188.     action alt 2 none
  189.     action alt 3 none
  190.   end
  191.  
  192. # Right Side
  193.   begin subwin
  194.     type button
  195.     coord1_relative topright
  196.     coord1 -1 22
  197.     coord2_relative bottomleft
  198.     coord2 0 -8
  199.     image clicked    @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255 
  200.     image selected   @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255 
  201.     image unselected @DIR@/themes/afterstep/images/sides.ppm shapecolor off 255 0 255 
  202.     image scale_method scale
  203.     level above
  204.     action none 1 resize
  205.     action none 2 move
  206.     action none 3 none
  207.     action shift 1 none
  208.     action shift 2 none
  209.     action shift 3 none
  210.     action ctrl 1 none
  211.     action ctrl 2 none
  212.     action ctrl 3 none
  213.     action alt 1 none
  214.     action alt 2 none
  215.     action alt 3 none
  216.   end
  217.  
  218. # Bottom Left Move Button
  219.   begin subwin
  220.     type button
  221.     coord1_relative bottomleft
  222.     coord1 0 -8
  223.     coord2_relative bottomleft
  224.     coord2 30 0
  225.     image clicked    @DIR@/themes/afterstep/images/leftbtm.ppm shapecolor off 255 0 255 
  226.     image selected   @DIR@/themes/afterstep/images/leftbtm.ppm shapecolor off 255 0 255 
  227.     image unselected @DIR@/themes/afterstep/images/leftbtm.ppm shapecolor off 255 0 255 
  228.     image scale_method scale
  229.     level above
  230.     action none 1 resize
  231.     action none 2 move
  232.     action none 3 none
  233.     action shift 1 none
  234.     action shift 2 none
  235.     action shift 3 none
  236.     action ctrl 1 none
  237.     action ctrl 2 none
  238.     action ctrl 3 none
  239.     action alt 1 none
  240.     action alt 2 none
  241.     action alt 3 none
  242.   end
  243.  
  244. # Bottom Line
  245.   begin subwin
  246.     type button
  247.     coord1_relative bottomleft
  248.     coord1 30 -8
  249.     coord2_relative bottomright
  250.     coord2 -29 0
  251.     image clicked    @DIR@/themes/afterstep/images/btm.ppm shapecolor off 255 0 255 
  252.     image selected   @DIR@/themes/afterstep/images/btm.ppm shapecolor off 255 0 255 
  253.     image unselected @DIR@/themes/afterstep/images/btm.ppm shapecolor off 255 0 255 
  254.     image scale_method scaletile
  255.     level above
  256.     action none 1 resize
  257.     action none 2 move
  258.     action none 3 none
  259.     action shift 1 none
  260.     action shift 2 none
  261.     action shift 3 none
  262.     action ctrl 1 none
  263.     action ctrl 2 none
  264.     action ctrl 3 none
  265.     action alt 1 none
  266.     action alt 2 none
  267.     action alt 3 none
  268.   end
  269.  
  270. # Bottom Right Scale Button
  271.   begin subwin
  272.     type button
  273.     coord1_relative bottomright
  274.     coord1 -29 -8
  275.     coord2_relative bottomright
  276.     coord2 0 0
  277.     image clicked    @DIR@/themes/afterstep/images/rtbtm.ppm shapecolor off 255 0 255 
  278.     image selected   @DIR@/themes/afterstep/images/rtbtm.ppm shapecolor off 255 0 255 
  279.     image unselected @DIR@/themes/afterstep/images/rtbtm.ppm shapecolor off 255 0 255 
  280.     image scale_method scale
  281.     level above
  282.     action none 1 resize
  283.     action none 2 move
  284.     action none 3 none
  285.     action shift 1 none
  286.     action shift 2 none
  287.     action shift 3 none
  288.     action ctrl 1 none
  289.     action ctrl 2 none
  290.     action ctrl 3 none
  291.     action alt 1 none
  292.     action alt 2 none
  293.     action alt 3 none
  294.   end
  295.  
  296. # end the windowstyle config section. in a multi-file system, this will end
  297. # the file, but you can thow it all into one file if you so please...
  298. end
  299.