princeamd pushed a commit to branch enlightenment-0.17.

commit ef6583b7bc97b1890049e33ffca77885b6ed08f8
Author: Christopher Michael <[email protected]>
Date:   Wed Jan 16 13:33:18 2013 +0000

    Backport: a654fac :: Add position text to monitor.
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 82885
    Signed-off-by: Deon Thomas <[email protected]>
---
 data/themes/edc/randr.edc | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/data/themes/edc/randr.edc b/data/themes/edc/randr.edc
index d2fcc2e..281f8d2 100644
--- a/data/themes/edc/randr.edc
+++ b/data/themes/edc/randr.edc
@@ -38,6 +38,11 @@ group { name: "e/conf/randr/main/frame";
          tag: "br" "\n";
          tag: "hilight" "+ font=Sans:style=Bold";
       }
+      style { name: "randr_position_style";
+         base: "font=Sans font_size=10 text_class=randr_position align=center 
color=#3399ffff wrap=mixed style=glow glow_color=#3399ff18 align=center 
glow2_color=#3399ff12";
+         tag: "br" "\n";
+         tag: "hilight" "+ font=Sans:style=Bold";
+      }
    }
    script {
       public refresh_open;
@@ -160,6 +165,20 @@ group { name: "e/conf/randr/main/frame";
             }
          }
       }
+      part { name: "e.text.position"; type: TEXTBLOCK; mouse_events: 0;
+         clip_to: "clip";
+         scale: 1;
+         description { state: "default" 0.0;
+            rel1.relative: 0.5 0.5;
+            rel1.to: "e.swallow.preview";
+            rel2.relative: 0.5 0.5;
+            rel2.to: "e.swallow.preview";
+            align: 0.5 0.0;
+            text { style: "randr_position_style";
+               min: 1.0 1.0;
+            }
+         }
+      }
       part { name: "scr_shine"; mouse_events: 0;
          description { state: "default" 0.0;
             image.normal: "shine.png";

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to