build_setting: add build setting tooltip messeges
Summary: add build setting tooltip messeges Test Plan: 1. launch enventor 2. go settign menu 3. click EDC build tab 4. move mouse cursor on each item 5. see the tooltip messeges Reviewers: Hermet, Jaehyun_Cho, NikaWhite Differential Revision: https://phab.enlightenment.org/D4034
This commit is contained in:
parent
87a67d4237
commit
29d91c48b3
|
@ -318,6 +318,14 @@ group { "build_setting_layout";
|
|||
rel2.to: "img_path_frame";
|
||||
}
|
||||
}
|
||||
swallow { "img_path_tooltip";
|
||||
repeat_events: 1;
|
||||
desc {
|
||||
rel1.to: "img_path_frame";
|
||||
rel2.to: "img_path_frame";
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
image { "snd_path_icon";
|
||||
scale: 1;
|
||||
desc {
|
||||
|
@ -361,6 +369,14 @@ group { "build_setting_layout";
|
|||
rel2.to: "snd_path_frame";
|
||||
}
|
||||
}
|
||||
swallow { "snd_path_tooltip";
|
||||
repeat_events: 1;
|
||||
desc {
|
||||
rel1.to: "snd_path_frame";
|
||||
rel2.to: "snd_path_frame";
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
image { "fnt_path_icon";
|
||||
scale: 1;
|
||||
desc {
|
||||
|
@ -404,6 +420,14 @@ group { "build_setting_layout";
|
|||
rel2.to: "fnt_path_frame";
|
||||
}
|
||||
}
|
||||
swallow { "fnt_path_tooltip";
|
||||
repeat_events: 1;
|
||||
desc {
|
||||
rel1.to: "fnt_path_frame";
|
||||
rel2.to: "fnt_path_frame";
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
image { "dat_path_icon";
|
||||
scale: 1;
|
||||
desc {
|
||||
|
@ -447,6 +471,14 @@ group { "build_setting_layout";
|
|||
rel2.to: "dat_path_frame";
|
||||
}
|
||||
}
|
||||
swallow { "data_path_tooltip";
|
||||
repeat_events: 1;
|
||||
desc {
|
||||
rel1.to: "dat_path_frame";
|
||||
rel2.to: "dat_path_frame";
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -142,6 +142,15 @@ build_setting_content_get(build_setting_data *bsd, Evas_Object *parent)
|
|||
img_path_entry);
|
||||
elm_layout_text_set(layout, "img_path_guide", _("Image Paths:"));
|
||||
|
||||
//Image Path Tooltip
|
||||
Evas_Object *img_path_tooltip = elm_button_add(layout);
|
||||
elm_object_style_set(img_path_tooltip, ENVENTOR_NAME);
|
||||
elm_object_part_content_set(layout, "img_path_tooltip", img_path_tooltip);
|
||||
|
||||
elm_object_tooltip_text_set(img_path_tooltip,
|
||||
_("Image path used for EDC editing."));
|
||||
elm_object_focus_allow_set(img_path_tooltip, EINA_FALSE);
|
||||
|
||||
//Sound Path Entry
|
||||
Evas_Object *snd_path_entry = entry_create(layout);
|
||||
snd_path_entry_update(snd_path_entry,
|
||||
|
@ -150,6 +159,15 @@ build_setting_content_get(build_setting_data *bsd, Evas_Object *parent)
|
|||
snd_path_entry);
|
||||
elm_layout_text_set(layout, "snd_path_guide", _("Sound Paths:"));
|
||||
|
||||
//Sound Path Tooltip
|
||||
Evas_Object *snd_path_tooltip = elm_button_add(layout);
|
||||
elm_object_style_set(snd_path_tooltip, ENVENTOR_NAME);
|
||||
elm_object_part_content_set(layout, "snd_path_tooltip", snd_path_tooltip);
|
||||
|
||||
elm_object_tooltip_text_set(snd_path_tooltip,
|
||||
_("Sound path used for EDC editing."));
|
||||
elm_object_focus_allow_set(snd_path_tooltip, EINA_FALSE);
|
||||
|
||||
//Font Path Entry
|
||||
Evas_Object *fnt_path_entry = entry_create(layout);
|
||||
fnt_path_entry_update(fnt_path_entry,
|
||||
|
@ -158,6 +176,15 @@ build_setting_content_get(build_setting_data *bsd, Evas_Object *parent)
|
|||
fnt_path_entry);
|
||||
elm_layout_text_set(layout, "fnt_path_guide", _("Font Paths:"));
|
||||
|
||||
//Font Path Tooltip
|
||||
Evas_Object *font_path_tooltip = elm_button_add(layout);
|
||||
elm_object_style_set(font_path_tooltip, ENVENTOR_NAME);
|
||||
elm_object_part_content_set(layout, "fnt_path_tooltip", font_path_tooltip);
|
||||
|
||||
elm_object_tooltip_text_set(font_path_tooltip,
|
||||
_("Font path used for EDC editing."));
|
||||
elm_object_focus_allow_set(font_path_tooltip, EINA_FALSE);
|
||||
|
||||
//Data Path Entry
|
||||
Evas_Object *dat_path_entry = entry_create(layout);
|
||||
dat_path_entry_update(dat_path_entry,
|
||||
|
@ -166,6 +193,15 @@ build_setting_content_get(build_setting_data *bsd, Evas_Object *parent)
|
|||
dat_path_entry);
|
||||
elm_layout_text_set(layout, "dat_path_guide", _("Data Paths:"));
|
||||
|
||||
//Data Path Tooltip
|
||||
Evas_Object *data_path_tooltip = elm_button_add(layout);
|
||||
elm_object_style_set(data_path_tooltip, ENVENTOR_NAME);
|
||||
elm_object_part_content_set(layout, "data_path_tooltip", data_path_tooltip);
|
||||
|
||||
elm_object_tooltip_text_set(data_path_tooltip,
|
||||
_("Data path used for EDC editing."));
|
||||
elm_object_focus_allow_set(data_path_tooltip, EINA_FALSE);
|
||||
|
||||
bsd->layout = layout;
|
||||
bsd->img_path_entry = img_path_entry;
|
||||
bsd->snd_path_entry = snd_path_entry;
|
||||
|
|
Loading…
Reference in New Issue