From dd7595a3475407a7fa96a97393bae8c5220e8762 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 4 Jan 2012 18:41:13 +1000 Subject: Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje. Note that embryo wont be used, but I'm not sure yet if you can build edje without it. --- libraries/edje/src/examples/text.edc | 68 ++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 libraries/edje/src/examples/text.edc (limited to 'libraries/edje/src/examples/text.edc') diff --git a/libraries/edje/src/examples/text.edc b/libraries/edje/src/examples/text.edc new file mode 100644 index 0000000..257a078 --- /dev/null +++ b/libraries/edje/src/examples/text.edc @@ -0,0 +1,68 @@ +collections { + group { + name: "sel_group"; + parts { + part { + name: "rect"; + type: RECT; + description { + state: "default" 0.0; + color: 0 255 0 255; /* green */ + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + } + } + group { + name: "example_group"; + max: 500 500; + min: 50 50; + + styles { + style { + name: "textblock_style"; + base: "font=Sans font_size=22 color=#600 wrap=word"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { + name: "part_one"; + type: TEXT; + description { + min: 50 50; + state: "default" 0.0; + color: 0 0 255 255; /* blue */ + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.5; + text { + font: "arial"; + size: 22; + min: 1 1; + } + } + } + part { + name: "part_two"; + type: TEXTBLOCK; + select_mode: EXPLICIT; + source: "sel_group"; + entry_mode: PLAIN; + description { + min: 50 50; + state: "default" 0.0; + rel1.relative: 0.0 0.5; + rel2.relative: 1.0 1.0; + text { + style: "textblock_style"; + min: 1 1; + } + } + } + } + } +} -- cgit v1.1