Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/data/src
Modified Files:
e_logo.edc
Log Message:
and edje started supporting.... TEXTBLOCK2!!!!!
see e_logo.edc for an example. :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/data/src/e_logo.edc,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- e_logo.edc 26 Jul 2005 13:59:02 -0000 1.42
+++ e_logo.edc 12 Sep 2005 09:43:49 -0000 1.43
@@ -1,6 +1,6 @@
fonts {
font: "Vera.ttf" "Vera";
- font: "VeraBd.ttf" "Vera Bold";
+ font: "VeraBd.ttf" "Vera-Bold";
}
images {
image: "bg.png" LOSSY 95;
@@ -134,6 +134,17 @@
item: "The Key" "String data attached to the key";
}
+styles
+{
+ style {
+ name: "default";
+ base: "font=Vera font_size=10 align=left color=#ffffff style=soft_shadow
shadow_color=#00000020 wrap=word";
+
+ tag: "br" "\n";
+ tag: "hilight" "+ font_size=12 font=Vera-Bold style=glow
glow2_color=#fe87 glow_color=#fa14";
+ }
+}
+
collections {
group {
name: "test";
@@ -224,6 +235,28 @@
}
}
part {
+ name: "textblock";
+ type: TEXTBLOCK;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 10 10;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -11 -11;
+ }
+ text {
+ style: "default";
+ text:
+ "This is a longer test string<br>"
+ "after a newline some <hilight>HILIGHTED text can be
styled</hilight> by the edje...<br>"
+ "and more.";
+ }
+ }
+ }
+ part {
name: "text";
type: TEXT;
effect: SOFT_SHADOW;
@@ -583,7 +616,7 @@
get_text_class("plainjane", font, size);
snprintf(buf, 256, "%s SIZE: %f", font, size);
emit("DEBUG...", buf);
- set_text_class("plainjane", "Vera Bold", 10.0);
+ set_text_class("plainjane", "Vera-Bold", 10.0);
}
}
program {
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs