#define GALLERY_COLOR_AO0112P 0 0 0 102
#define GALLERY_COLOR_AO0112D 0 0 0 77
+#define GALLERY_COLOR_AO032 77 207 255 255
+
#define GALLERY_COLOR_IMG_EF_NORMAL GALLERY_COLOR_AO0112
#define GALLERY_COLOR_IMG_EF_PRESSED GALLERY_COLOR_AO0112P
#define GALLERY_COLOR_IMG_EF_DISABLED GALLERY_COLOR_AO0112D
+#define GALLERY_COLOR_SELECT_RING GALLERY_COLOR_AO032
+
#endif // __GALLERY_EDC_COLORS_H__
images {
image: "gallery_thumbnail_circle_04.png" COMP;
image: "gallery_circle_basic.png" COMP;
+ image: "gallery_thumbnail_select_ring_1x1.png" COMP;
}
group { "elm/layout/gallery_image_grid/hcomb_3x3_even";
parts {
}
group { "elm/layout/gallery_image_grid/linear";
parts {
- image { "image_mask_0";
+ spacer { "spacer";
scale;
+ desc { "default";
+ fixed: 0 1;
+ min: 360 360;
+ max: 360 360;
+ }
+ desc { "select_mode";
+ inherit: "default";
+ min: (25 + 216) (25 + 216);
+ max: (25 + 216) (25 + 216);
+ }
+ }
+ image { "image_mask_0";
precise;
desc { "default";
image.normal: "gallery_circle_basic.png";
- fixed: 0 1;
+ fixed: 1 1;
min: 360 360;
max: 360 360;
}
+ desc { "select_mode";
+ inherit: "default";
+ min: (216 + 4) (216 + 4);
+ max: (216 + 4) (216 + 4);
+ }
}
swallow { "swallow.cell_0";
desc { "default";
rel2.to: "image_mask_0";
}
}
+ image { "select_ring_0";
+ repeat;
+ desc { "default";
+ hid;
+ image.normal: "gallery_thumbnail_select_ring_1x1.png";
+ color: GALLERY_COLOR_SELECT_RING;
+ fixed: 1 1;
+ min: 266 266;
+ max: 266 266;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ }
+ }
+ programs {
+ program { "gallery,enable,select,mode";
+ signal: "gallery,enable,select,mode";
+ source: "";
+ action: STATE_SET "select_mode";
+ transition: DECELERATE 0.3;
+ target: "spacer";
+ target: "image_mask_0";
+ after: "transition_finished";
+ }
+ program { "gallery,disable,select,mode";
+ signal: "gallery,disable,select,mode";
+ source: "";
+ action: STATE_SET "default";
+ transition: DECELERATE 0.3;
+ target: "spacer";
+ target: "image_mask_0";
+ after: "transition_finished";
+ }
+ program { "transition_finished";
+ in: 0.001 0.0;
+ action: SIGNAL_EMIT "gallery,transition,finished" "";
+ }
+ program { "gallery,select,0";
+ signal: "gallery,select,0";
+ source: "";
+ action: STATE_SET "selected";
+ target: "select_ring_0";
+ }
+ program { "gallery,unselect,0";
+ signal: "gallery,unselect,0";
+ source: "";
+ action: STATE_SET "default";
+ target: "select_ring_0";
+ }
}
}