evas_object_show(top_layout);
// focus
- Evas_Object* focus = elm_button_add(top_layout);
- elm_theme_extension_add(NULL, kEdjePath);
- elm_object_style_set(focus, "wrt");
+ Evas_Object* focus = elm_bg_add(top_layout);
+ evas_object_size_hint_align_set(focus, EVAS_HINT_FILL, EVAS_HINT_FILL);
+ evas_object_size_hint_weight_set(focus, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ elm_object_focus_allow_set(focus, EINA_TRUE);
elm_object_part_content_set(top_layout, "elm.swallow.content", focus);
EVAS_SIZE_EXPAND_FILL(focus);
elm_access_object_unregister(focus);
int main(int argc, char* argv[]) {
if (strcmp(argv[0], "/usr/bin/wrt-loader") == 0) {
elm_init(argc, argv);
+ elm_config_cache_flush_enabled_set(EINA_TRUE);
auto preload = [argv](void) {
g_prelaunch = true;
ewk_init();
}//end of programs
}//end of group
- group { name: "elm/button/base/wrt";
- #define BUTTON_HEIGHT 78.0
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- min: 0 BUTTON_HEIGHT;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- min: 0 1;
- style: "button_general_text_normal";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text.style: "button_general_text_dim";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- text.style: "button_general_text_press";
- }
- }
- part { name: "elm.swallow.content";
- clip_to: "elm.swallow.content.clip";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0; }
- }
- part { name: "elm.swallow.content.clip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- color_class: "F022L1i";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color_class: "F022L1iD";
- }
- }
- }//end of part
- }//end of group
-
group {
name: "PopupTextEntrySet";
parts{