group {
name, GRP_PHOTO;
parts {
+ part {
+ name, "up";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel2.relative, 1.0 0.0;
+ min, 0 104;
+ fixed, 0 1;
+ align, 0.5 0.0;
+ }
+ }
+ part {
+ name, "title";
+ type, TEXT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.to, "title";
+ rel2.to, "title";
+ fixed, 1 1;
+ text {
+ text, "Select photo";
+ size, 46;
+ font, "TizenSans";
+ }
+ color, 51 51 51 255;
+ }
+ }
+ part {
+ name, "bottom";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.relative, 0.0 1.0;
+ min, 0 148;
+ fixed, 0 1;
+ align, 0.5 1.0;
+ }
+ }
+ part {
+ name, PART_PHOTO_LIST;
+ type, SWALLOW;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "title";
+ relative, 0.0 1.0;
+ }
+ rel2 {
+ to, "bottom";
+ relative, 1.0 0.0;
+ }
+ fixed, 1 1;
+ }
+ }
+ }
+}
+
+group {
+ name, GRP_PHOTO_VIEWER;
+ parts {
+ part {
+ name, "bg";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 740 650;
+ }
+ }
+ part {
+ name, "pad.title";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.relative, 0.5 0.0;
+ rel2.relative, 0.5 0.0;
+ min, 0 46;
+ fixed, 1 1;
+ align, 0.5 0.0;
+ visible, 0;
+ }
+ }
+ part {
+ name, "title";
+ type, TEXT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "pad.title";
+ relative, 1.0 1.0;
+ }
+ rel2.to, "pad.title";
+ min, 488 42;
+ fixed, 1 1;
+ align, 0.5 0.0;
+ text {
+ font, "TizenSans";
+ size, 42;
+ text, "Preview image";
+ }
+ color, 51 51 51 255;
+ }
+ }
+ part {
+ name, "pad.viewer";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "title";
+ relative, 0.5 1.0;
+ }
+ rel2 {
+ to, "title";
+ relative, 0.5 1.0;
+ }
+ min, 0 40;
+ fixed, 1 1;
+ align, 0.5 0.0;
+ visible, 0;
+ }
+ }
+ part {
+ name, PART_PHOTO_VIEWER;
+ type, SWALLOW;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "pad.viewer";
+ relative, 1.0 1.0;
+ }
+ rel2.to, "pad.viewer";
+ min, 488 368;
+ fixed, 1 1;
+ align, 0.5 0.0;
+ }
+ }
+ part {
+ name, "crop.left";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.to, PART_PHOTO_VIEWER;
+ rel2 {
+ to, PART_PHOTO_VIEWER;
+ relative, 0.0 1.0;
+ }
+ min, 58 0;
+ fixed, 1 0;
+ align, 0.0 0.5;
+ color, 0 0 0 102;
+ }
+ }
+ part {
+ name, "crop.left.line";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "crop.left";
+ relative, 1.0 0.0;
+ }
+ rel2.to, "crop.left";
+ min, 2 0;
+ fixed, 1 0;
+ align, 0.0 0.5;
+ }
+ }
+ part {
+ name, "crop.right";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, PART_PHOTO_VIEWER;
+ relative, 1.0 0.0;
+ }
+ rel2.to, PART_PHOTO_VIEWER;
+ min, 58 0;
+ fixed, 1 1;
+ align, 1.0 0.5;
+ color, 0 0 0 102;
+ }
+ }
+ part {
+ name, "crop.right.line";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.to, "crop.right";
+ rel2 {
+ to, "crop.right";
+ relative, 0.0 1.0;
+ }
+ min, 2 0;
+ fixed, 1 1;
+ align, 1.0 0.5;
+ }
+ }
+ part {
+ name, PART_PHOTO_VIEWER_CANCEL;
+ type, SWALLOW;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.relative, 0.5 1.0;
+ rel2.relative, 0.5 1.0;
+ min, 370 90;
+ align, 1.0 1.0;
+ fixed, 1 1;
+ }
+ }
+ part {
+ name, PART_PHOTO_VIEWER_DONE;
+ type, SWALLOW;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.relative, 0.5 1.0;
+ rel2.relative, 0.5 1.0;
+ min, 370 90;
+ align, 0.0 1.0;
+ fixed, 1 1;
+ }
+ }
}
}
#define GRP_USER_EDIT_ICON_LIST_ITEM "group.user.edit.icon.list.item"
#define GRP_BAR_ITEM "group.bar.item"
#define GRP_PHOTO "group.photo"
+#define GRP_PHOTO_VIEWER "group.photo.viewer"
#define PART_HOME_MENU_BAR "part.home.menu.bar"
#define PART_HOME_UP_ARROW "part.home.up.arrow"
#define PART_BAR_ITEM_LOCK "part.bar.item.lock"
#define PART_BAR_ITEM_LOCK_FOCUS "part.bar.item.lock.focus"
#define PART_USER_BAR "part.user.bar"
+#define PART_PHOTO_LIST "part.photo.list"
+#define PART_PHOTO_VIEWER "part.photo.viewer"
+#define PART_PHOTO_VIEWER_CANCEL "part.photo.viewer.cancel"
+#define PART_PHOTO_VIEWER_DONE "part.photo.viewer.done"
#define SIG_SHOW_NAVIGATION "sig.show.navigation"
#define SIG_HIDE_NAVIGATION "sig.hide.navigation"