From: Enlightenment S. <no-...@en...> - 2012-12-13 09:17:06
|
Log: ok - have your pixel border. and a blue focus color - but i'm npot fixing maximized state, shaded state, hung,urgent etc. - thats why i didnt want to... the can of worms. Author: raster Date: 2012-12-13 01:16:58 -0800 (Thu, 13 Dec 2012) New Revision: 80802 Trac: http://trac.enlightenment.org/e/changeset/80802 Modified: trunk/e/data/themes/edc/border.edc Modified: trunk/e/data/themes/edc/border.edc =================================================================== --- trunk/e/data/themes/edc/border.edc 2012-12-13 09:02:20 UTC (rev 80801) +++ trunk/e/data/themes/edc/border.edc 2012-12-13 09:16:58 UTC (rev 80802) @@ -834,6 +834,139 @@ } } +group { name: "e/widgets/border/pixel/border"; + parts { + part { name: "e.swallow.client"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "top"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 0.0; + max: 99999 1; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + } + } + part { name: "bottom"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 1.0; + max: 99999 1; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + } + } + part { name: "left"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 0.0; + max: 1 99999; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + } + } + part { name: "right"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 1.0 0.0; + max: 1 99999; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + } + } + part { name: "e.event.resize.tl"; type: RECT; + description { state: "default" 0.0; + rel2.relative: 0.0 0.0; + min: 32 4; + align: 0.0 0.0; + color: 0 0 0 0; + } + } + part { name: "e.event.resize.t"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.event.resize.tl"; + rel2.relative: 0.0 0.0; + rel2.to_x: "e.event.resize.tr"; + min: 0 4; + align: 0.5 0.0; + color: 0 0 0 0; + } + } + part { name: "e.event.resize.tr"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + min: 32 4; + align: 1.0 0.0; + color: 0 0 0 0; + } + } + part { name: "e.event.resize.bl"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 0.0 1.0; + min: 32 5; + align: 0.0 1.0; + color: 0 0 0 0; + fixed: 1 1; + } + } + part { name: "e.event.resize.b"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 1.0; + rel1.to_x: "e.event.resize.tl"; + rel2.relative: 0.0 1.0; + rel2.to_x: "e.event.resize.tr"; + min: 0 5; + align: 0.5 1.0; + color: 0 0 0 0; + fixed: 0 1; + } + } + part { name: "e.event.resize.br"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + min: 32 5; + align: 1.0 1.0; + color: 0 0 0 0; + fixed: 1 1; + } + } + } + programs { + program { + signal: "e,state,focused"; source: "e"; + action: STATE_SET "focused" 0.0; + target: "top"; + target: "bottom"; + target: "left"; + target: "right"; + } + program { + signal: "e,state,unfocused"; source: "e"; + action: STATE_SET "default" 0.0; + target: "top"; + target: "bottom"; + target: "left"; + target: "right"; + } + } +} + group { name: "e/widgets/border/default/move"; images.image: "vgrad_tall.png" COMP; images.image: "bevel_out.png" COMP; |