Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/data/themes Modified Files: default_border.edc Log Message: Implement "maximize to fullscreen". Only the titlebar stays, the other borders disappear. Fixed the pos/size of "client" it should only have refs, no absolute positions. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_border.edc,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- default_border.edc 28 Apr 2005 10:42:04 -0000 1.15 +++ default_border.edc 18 Jun 2005 04:28:53 -0000 1.16 @@ -373,6 +373,25 @@ smooth: 0; } } + description { + state: "hidden" 0.0; + rel1 { + relative: 1.0 1.0; + offset: 0 0; + to_y: "t3"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + to_y: "b2"; + } + image { + normal: "e17_border4.png"; + } + fill { + smooth: 0; + } + } } part { name: "b2"; @@ -394,6 +413,23 @@ smooth: 0; } } + description { + state: "hidden" 0.0; + rel1 { + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_border5.png"; + } + fill { + smooth: 0; + } + } } part { name: "b3"; @@ -417,6 +453,25 @@ smooth: 0; } } + description { + state: "hidden" 0.0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to: "b4"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to: "b2"; + } + image { + normal: "e17_border6.png"; + } + fill { + smooth: 0; + } + } } part { name: "b4"; @@ -438,6 +493,23 @@ smooth: 0; } } + description { + state: "hidden" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_border7.png"; + } + fill { + smooth: 0; + } + } } part { name: "b5"; @@ -461,6 +533,25 @@ smooth: 0; } } + description { + state: "hidden" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_y: "t1"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 -1; + to_y: "b4"; + } + image { + normal: "e17_border4.png"; + } + fill { + smooth: 0; + } + } } part { name: "title_outline"; @@ -957,9 +1048,10 @@ description { state: "default" 0.0; rel1 { - relative: 0.0 1.0; - offset: 4 0; - to: "t1"; + relative: 1.0 1.0; + offset: 0 0; + to_x: "b5"; + to_y: "t1"; } rel2 { relative: 0.0 0.0; @@ -1479,6 +1571,36 @@ target: "button_2_detail"; transition: LINEAR 0.2; } + program { + name: "maximize_fullscreen"; + signal: "maximize,fullscreen"; + source: ""; + action: STATE_SET "hidden" 0.0; + target: "b1"; + action: STATE_SET "hidden" 0.0; + target: "b2"; + action: STATE_SET "hidden" 0.0; + target: "b3"; + action: STATE_SET "hidden" 0.0; + target: "b4"; + action: STATE_SET "hidden" 0.0; + target: "b5"; + } + program { + name: "unmaximize_fullscreen"; + signal: "unmaximize,fullscreen"; + source: ""; + action: STATE_SET "default" 0.0; + target: "b1"; + action: STATE_SET "default" 0.0; + target: "b2"; + action: STATE_SET "default" 0.0; + target: "b3"; + action: STATE_SET "default" 0.0; + target: "b4"; + action: STATE_SET "default" 0.0; + target: "b5"; + } } } ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs