enventor - improve uis

This commit is contained in:
ChunEon Park 2013-09-20 21:43:22 +09:00
parent 609cc9cb59
commit 09c62ee084
6 changed files with 26 additions and 19 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
styles {
style { name: "entry_statusbar_style";
base: "font="FN" font_size=11 text_class=entry color=#ffffff";
base: "font="FN" font_size=11 text_class=entry color=#ffffff style=shadow,bottom shadow_color=#00000080 glow_color=#3399ff18 valign=0.5";
}
}
@ -153,8 +153,8 @@ group { name: "statusbar_layout";
align: 0 0.5;
min: 120 18;
fixed: 1 1;
rel1.offset: 0 -1;
rel2.offset: -1 -2;
rel1.offset: 0 -2;
rel2.offset: -1 -3;
text.style: "entry_statusbar_style";
}
}
@ -182,7 +182,9 @@ group { name: "statusbar_layout";
rel1.relative: 1 0.0;
rel2.to: "elm.text.line";
rel2.relative: 0 1.0;
min: 180 18;
align: 1 0.5;
fixed: 1 1;
text.style: "entry_statusbar_style";
}
}
@ -192,8 +194,8 @@ group { name: "statusbar_layout";
clip_to: "base_clip";
description {
rel1.relative: 1 0;
rel1.offset: 0 -1;
rel2.offset: -1 -2;
rel1.offset: 0 -2;
rel2.offset: -1 -3;
align: 1 0.5;
min: 100 18;
fixed: 1 1;
@ -203,9 +205,9 @@ group { name: "statusbar_layout";
part { name: "elm.text.info_msg";
type: TEXT;
scale: 1;
effect: GLOW;
description { state: "default" 0.0;
align: 0 0.5;
color: 0 0 0 0;
rel1.offset: 0 -1;
rel2.offset: -1 -2;
text {
@ -213,10 +215,15 @@ group { name: "statusbar_layout";
size: 11;
align: 0 0.5;
}
color: 51 153 255 0;
color2: 51 153 255 0;
color3: 51 153 255 0;
}
description { state: "show" 0.0;
inherit: "default" 0.0;
color: 255 0 0 255;
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
}
}
program { name: "info_msg_show";

View File

@ -2110,15 +2110,15 @@ group { name: "elm/panes/vertical/enventor";
part { name: "whole_left"; type: RECT;
description { state: "default" 0.0;
rel2.to_x: "elm.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -4 -1;
rel2.relative: 0.0 1.0;
fixed: 1 0;
}
}
part { name: "whole_right"; type: RECT;
description { state: "default" 0.0;
rel1.to_x: "elm.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 3 0;
rel1.relative: 1.0 0.0;
fixed: 1 0;
}
}
part { name: "right_bg"; type: RECT;
@ -2133,7 +2133,6 @@ group { name: "elm/panes/vertical/enventor";
description { state: "default" 0.0;
rel2.to_x: "elm.bar";
rel2.relative: 0.0 1.0;
rel2.offset: -4 -1;
fixed: 1 0;
}
}
@ -2142,7 +2141,6 @@ group { name: "elm/panes/vertical/enventor";
description { state: "default" 0.0;
rel1.to_x: "elm.bar";
rel1.relative: 1.0 0.0;
rel1.offset: 3 0;
fixed: 1 0;
}
}

View File

@ -182,6 +182,8 @@ group { name: "statusbar_layout";
rel1.relative: 1 0.0;
rel2.to: "elm.text.line";
rel2.relative: 0 1.0;
min: 180 18;
fixed: 1 1;
align: 1 0.5;
text.style: "entry_statusbar_style";
}
@ -216,7 +218,7 @@ group { name: "statusbar_layout";
}
description { state: "show" 0.0;
inherit: "default" 0.0;
color: 255 0 0 255;
color: 0 0 0 255;
}
}
program { name: "info_msg_show";

View File

@ -14,7 +14,7 @@ stats_line_num_update(stats_data *sd, int cur_line, int max_line)
char buf[128];
if (DARK_THEME)
snprintf(buf, sizeof(buf),
"<align=right>Line [<color=#008bac>%d</color>:<color=#008bac>%d</color>]</align>", cur_line, max_line);
"<align=right>Line [<style=glow><color=#3399ff>%d</color></style>:<style=glow><color=#3399ff>%d</color></style>]</align>", cur_line, max_line);
else
snprintf(buf, sizeof(buf),
"<align=right>Line [<color=#000000>%d</color>:<color=#000000>%d</color>]</align>", cur_line, max_line);
@ -27,7 +27,7 @@ stats_edc_file_set(stats_data *sd, Eina_Stringshare *group_name)
char buf[PATH_MAX];
const char *filename = ecore_file_file_get(config_edc_path_get(sd->cd));
if (DARK_THEME)
snprintf(buf, sizeof(buf), "<align=right>File [<color=#008bac>%s</color>] Group [<color=#008bac>%s</color>]</align>", filename, group_name);
snprintf(buf, sizeof(buf), "<align=right>File [<style=glow><color=#3399ff>%s</color></style>] Group [<style=glow><color=#3399ff>%s</color></style>]</align>", filename, group_name);
else
snprintf(buf, sizeof(buf), "<align=right>File [<color=#000000>%s</color>] Group [<color=#000000>%s</color>]</align>", filename, group_name);
@ -48,7 +48,7 @@ stats_init(Evas_Object *parent, config_data *cd)
//FIXME: temporarily setup
if (DARK_THEME)
elm_object_part_text_set(layout, "elm.text.cur_pos",
"Cursor [<color=#008bac>0</color>,<color=#008bac>0</color>] [<color=#008bac>0.00</color>,<color=#008bac>0.00</color>]");
"Cursor [<style=glow><color=#3399ff>0</color></style>,<style=glow><color=#3399ff>0</color></style>], [<style=glow><color=#3399ff>0.00</color></style>,<style=glow><color=#3399ff>0.00</color></style>]");
else
elm_object_part_text_set(layout, "elm.text.cur_pos",
"Cursor [<color=#000000>0</color>,<color=#000000>0</color>] [<color=#000000>0.00</color>,<color=#000000>0.00</color>]");
@ -99,7 +99,7 @@ stats_view_size_update(stats_data *sd)
char buf[128];
if (DARK_THEME)
snprintf(buf, sizeof(buf),
"Size [<color=#008bac>%d</color>x<color=#008bac>%d</color>]", w, h);
"Size [<style=glow><color=#3399ff>%d</color></style>x<style=glow><color=#3399ff>%d</color></style>]", w, h);
else
snprintf(buf, sizeof(buf),
"Size [<color=#000000>%d</color>x<color=#000000>%d</color>]", w, h);
@ -113,7 +113,7 @@ stats_cursor_pos_update(stats_data *sd, Evas_Coord x, Evas_Coord y, float rel_x,
char buf[128];
if (DARK_THEME)
snprintf(buf, sizeof(buf),
"Cursor [<color=#008bac>%d</color>,<color=#008bac>%d</color>] [<color=#008bac>%0.2f</color>,<color=#008bac>%0.2f</color>]", x, y, rel_x, rel_y);
"Cursor [<style=glow><color=#3399ff>%d</color>,<color=#3399ff>%d</color>] [<color=#3399ff>%0.2f</color>,<color=#3399ff>%0.2f</color>]", x, y, rel_x, rel_y);
else
snprintf(buf, sizeof(buf),
"Cursor [<color=#000000>%d</color>,<color=#000000>%d</color>] [<color=#000000>%0.2f</color>,<color=#000000>%0.2f</color>]", x, y, rel_x, rel_y);