#define POPUP_ITEM_TEXT_DISABLED_COLOR_INC 128 128 128 255
#define POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC 128 128 128 255
+#define POPUP_ITEM_BG_LANDCAPE_MIN_INC 828 112
+
#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC "#3b73b6"
#define POPUP_DEFAULT_TITLE_TEXT_SHADOW_COLOR "#ffffff"
#define POPUP_DEFAULT_TITLE_TEXT_SHADOW_STYLE "far_shadow,bottom"
action: STATE_SET "landscape" 0.0;
target: "base";
target: "elm.bg.title";
+ after: "orientation_change";
+ }
+ program { name: "orientation_change";
+ action: SIGNAL_EMIT "elm,state,orientation,changed" "";
}
program { name: "change_to_portrait";
signal: "elm,state,portrait";
action: STATE_SET "default" 0.0;
target: "base";
target: "elm.bg.title";
+ after: "orientation_change";
}
program { name: "landscape_mode";
source: "elm";
action: SIGNAL_EMIT "elm,state,portrait" "elm";
}
program { name: "portrait_mode2";
- source: "elm";
- signal: "elm,state,orient,180";
- action: SIGNAL_EMIT "elm,state,portrait" "elm";
+ source: "elm";
+ signal: "elm,state,orient,180";
+ action: SIGNAL_EMIT "elm,state,portrait" "elm";
}
} /* end of programs */
}
}
}
+/////////////////////////////////////////////////////////////////////////////////////////
+group { name: "elm/popup/item/landscape/default";
+ inherit: "elm/popup/item/default";
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_LIST_BG_COLOR;
+ min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
+ align: 0.5 0.0;
+ }
+ description { state: "clicked" 0.0;
+ color: GENLIST_LIST_PRESS_COLOR;
+ }
+ }
+ }
+}
+
////////////////////////////////////////////////////////////////////////////////////////
group { name: "elm/label/base/popup/verticalbuttonstyle";
styles