}
}
-group { name: "elm/border/base/dialog";
- inherit: "elm/border/base/default";
+group { name: "elm/border/dialog/default";
+ inherit: "elm/border/base/default";
parts {
text { "elm.text.title";
clip: "top_clip";
}
}
-group { name: "elm/border/base/naviframe";
+group { name: "elm/border/naviframe/default";
+ inherit: "elm/border/dialog/default";
images.image: "sym_left_dark_normal.png" COMP;
images.image: "sym_left_glow_normal.png" COMP;
images.image: "sym_left_light_normal.png" COMP;
- inherit: "elm/border/base/dialog";
parts {
image { "close1";
desc { "default";
static void
_elm_win_img_callbacks_del(Evas_Object *obj, Evas_Object *imgobj);
static Elm_Theme_Apply _elm_win_theme_internal(Eo *obj, Efl_Ui_Win_Data *sd);
-static void _elm_win_frame_add(Efl_Ui_Win_Data *sd, const char *style);
+static void _elm_win_frame_add(Efl_Ui_Win_Data *sd, const char *element, const char *style);
static void _elm_win_frame_style_update(Efl_Ui_Win_Data *sd, Eina_Bool force_emit, Eina_Bool calc);
static inline void _elm_win_need_frame_adjust(Efl_Ui_Win_Data *sd, const char *engine);
static void _elm_win_resize_objects_eval(Evas_Object *obj);
}
static void
-_elm_win_frame_add(Efl_Ui_Win_Data *sd, const char *style)
+_elm_win_frame_add(Efl_Ui_Win_Data *sd, const char *element, const char *style)
{
Evas_Object *obj = sd->obj;
int w, h, mw, mh, v;
if (EINA_LIKELY(v >= FRAME_OBJ_THEME_MIN_VERSION))
{
if (!elm_widget_theme_object_set
- (sd->obj, sd->frame_obj, "border", "base", style))
+ (sd->obj, sd->frame_obj, "border", element, style))
{
ERR("Failed to set main border theme for the window.");
ELM_SAFE_FREE(sd->frame_obj, evas_object_del);
/* do not append to list; all windows render as black rects */
if (type != ELM_WIN_FAKE)
{
- const char *style = "default";
+ const char *element = "base";
+ const char *style;
_elm_win_list = eina_list_append(_elm_win_list, obj);
_elm_win_count++;
{
TRAP(sd, fullscreen_set, 1);
}
+ style = elm_widget_style_get(obj);
+ if (!style) style = "default";
switch (type)
{
- case EFL_UI_WIN_DIALOG_BASIC: style = "dialog"; break;
- case EFL_UI_WIN_NAVIFRAME_BASIC: style = "naviframe"; break;
+ case EFL_UI_WIN_DIALOG_BASIC: element = "dialog"; break;
+ case EFL_UI_WIN_NAVIFRAME_BASIC: element = "naviframe"; break;
default: break;
}
- _elm_win_frame_add(sd, style);
+ _elm_win_frame_add(sd, element, style);
if (_elm_config->focus_highlight_enable)
elm_win_focus_highlight_enabled_set(obj, EINA_TRUE);