forked from enlightenment/enventor
update text & textblock template code
This commit is contained in:
parent
8b28c062d9
commit
e94c7bdc12
|
@ -30,17 +30,16 @@ collections {
|
|||
}
|
||||
text { "text";
|
||||
scale: 1;
|
||||
effect: FAR_SOFT_SHADOW;
|
||||
effect: SOFT_OUTLINE;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.relative: 0.5 1.0;
|
||||
color: 0 136 170 255;
|
||||
color2: 0 136 170 50;
|
||||
color3: 0 136 170 25;
|
||||
color: 255 255 255 255;
|
||||
color2: 0 136 170 100;
|
||||
text {
|
||||
size: 25;
|
||||
font: "Sans";
|
||||
text: "Enventor";
|
||||
text: "enventor";
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,11 +22,10 @@ collections {
|
|||
parts {
|
||||
text { "text";
|
||||
scale: 1;
|
||||
effect: FAR_SOFT_SHADOW;
|
||||
effect: SOFT_OUTLINE;
|
||||
desc { "default";
|
||||
color: 0 136 170 255;
|
||||
color2: 0 136 170 50;
|
||||
color3: 0 136 170 25;
|
||||
color: 255 255 255 255;
|
||||
color2: 0 136 170 100;
|
||||
text {
|
||||
size: 30;
|
||||
font: "Sans";
|
||||
|
|
|
@ -42,17 +42,16 @@ collections {
|
|||
}
|
||||
text { "text";
|
||||
scale: 1;
|
||||
effect: FAR_SOFT_SHADOW;
|
||||
effect: SOFT_OUTLINE;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.relative: 0.5 1.0;
|
||||
color: 0 136 170 255;
|
||||
color2: 0 136 170 50;
|
||||
color3: 0 136 170 25;
|
||||
color: 255 255 255 255;
|
||||
color2: 0 136 170 100;
|
||||
text {
|
||||
size: 25;
|
||||
font: "Sans";
|
||||
text: "Enventor";
|
||||
text: "enventor";
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
map {
|
||||
|
|
|
@ -4,13 +4,12 @@ collections {
|
|||
parts {
|
||||
text { "text";
|
||||
scale: 1;
|
||||
effect: FAR_SOFT_SHADOW;
|
||||
effect: SOFT_OUTLINE;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
color: 0 136 170 255;
|
||||
color2: 0 136 170 50;
|
||||
color3: 0 136 170 25;
|
||||
color: 255 255 255 255;
|
||||
color2: 0 136 170 100;
|
||||
text {
|
||||
size: 50;
|
||||
font: "Sans";
|
||||
|
|
|
@ -2,7 +2,7 @@ collections {
|
|||
base_scale: 1.0;
|
||||
styles {
|
||||
style { "text_style";
|
||||
base: "font="Sans" font_size=30 text_class=entry color=#0088AA style=shadow,bottom shadow_color=#00000080 valign=0.5 ellipsis=1.0 wrap=none align=center";
|
||||
base: "font="Sans" font_size=30 text_class=entry color=#FFFFFF style=soft_outline outline_color=#0088AA64 valign=0.5 ellipsis=1.0 wrap=none align=center";
|
||||
}
|
||||
}
|
||||
group { "main";
|
||||
|
|
|
@ -7,7 +7,7 @@ images {
|
|||
|
||||
styles {
|
||||
style { name: "default_style";
|
||||
base: "font="Sans" font_size=30 text_class=entry color=#0088AA style=shadow,bottom shadow_color=#00000080 valign=0.5 ellipsis=1.0 wrap=none align=center";
|
||||
base: "font="Sans" font_size=30 text_class=entry color=#FFFFFF style=soft_outline outline_color=#0088AA64 valign=0.5 ellipsis=1.0 wrap=none align=center";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -33,11 +33,10 @@ group { "Text_bg";
|
|||
parts {
|
||||
text { name: "text";
|
||||
scale: 1;
|
||||
effect: FAR_SOFT_SHADOW;
|
||||
effect: SOFT_OUTLINE;
|
||||
desc {
|
||||
color: 0 136 170 255;
|
||||
color2: 0 136 170 50;
|
||||
color3: 0 136 170 25;
|
||||
color: 255 255 255 255;
|
||||
color2: 0 136 170 100;
|
||||
text {
|
||||
size: 50;
|
||||
font: FN;
|
||||
|
|
|
@ -93,19 +93,18 @@ const char *TEMPLATE_PART_SPACER[TEMPLATE_PART_SPACER_LINE_CNT] =
|
|||
" min: 0 0;<br/>"
|
||||
};
|
||||
|
||||
#define TEMPLATE_PART_TEXT_LINE_CNT 17
|
||||
#define TEMPLATE_PART_TEXT_LINE_CNT 16
|
||||
|
||||
const char *TEMPLATE_PART_TEXT[TEMPLATE_PART_TEXT_LINE_CNT] =
|
||||
{
|
||||
" scale: 1;<br/>",
|
||||
" effect: FAR_SOFT_SHADOW;<br/>",
|
||||
" effect: SOFT_OUTLINE;<br/>",
|
||||
" desc { \"default\";<br/>",
|
||||
" align: 0.5 0.5;<br/>",
|
||||
" fixed: 0 0;<br/>",
|
||||
" min: 0 0;<br/>",
|
||||
" color: 0 136 170 255;<br/>",
|
||||
" color2: 0 136 170 50;<br/>",
|
||||
" color3: 0 136 170 25;<br/>",
|
||||
" color: 255 255 255 255;<br/>",
|
||||
" color2: 0 136 170 100;<br/>",
|
||||
" visible: 1;<br/>",
|
||||
" text {<br/>",
|
||||
" size: 50;<br/>",
|
||||
|
@ -192,7 +191,7 @@ const char *TEMPLATE_TEXTBLOCK_STYLE_BLOCK[TEMPLATE_TEXTBLOCK_STYLE_LINE_CNT] =
|
|||
{
|
||||
"styles {<br/>",
|
||||
" style { \"%s\";<br/>",
|
||||
" base: \"font=\"Sans\" font_size=30 text_class=entry color=#0088AA style=shadow,bottom shadow_color=#00000080 valign=0.5 ellipsis=1.0 wrap=none align=center\";<br/>",
|
||||
" base: \"font=\"Sans\" font_size=30 text_class=entry color=#FFFFFF style=soft_outline outline_color=#0088AA64 valign=0.5 ellipsis=1.0 wrap=none align=center\";<br/>",
|
||||
" }<br/>",
|
||||
"}<br/>"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue