#include "xcnphandler.h"
#include "clipdrawer.h"
+#define DELETE_ICON_PATH "/usr/share/icon/cbhm/05_delete.png"
#define IM "/opt/media/Images and videos/My photo clips/"
static const char *g_images_path[] = {
IM"1_photo.jpg",
struct appdata *ad = data;
int i, pos;
+ // if delete mode, then back to normal mode
+ if (get_clipdrawer_mode())
+ clipdrawer_change_mode(ad);
+
elm_list_clear(ad->txtlist);
for (i = 0; i < HISTORY_QUEUE_MAX_TXT_ITEMS; i++)
{
if (delete_mode)
{
Evas_Object *ci = elm_icon_add(ad->win_main);
- elm_icon_file_set(ci, "/usr/share/icon/cbhm/05_delete.png", NULL);
+ elm_icon_file_set(ci, DELETE_ICON_PATH, NULL);
evas_object_size_hint_min_set(ci, 33 * elm_scale_get(), 33 * elm_scale_get());
// evas_object_size_hint_aspect_set(ci, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
evas_object_show(ci);
Eina_List *igl = NULL;
unsigned int igl_counter = 0;
+ // if delete mode, then back to normal mode
+ if (get_clipdrawer_mode())
+ clipdrawer_change_mode(ad);
+
if (!check_regular_file(imagepath))
{
DTRACE("Error : it isn't normal file = %s\n", imagepath);
#define CLIPDRAWER_WIDTH 480
//#define CLIPDRAWER_HEIGHT 335
#define CLIPDRAWER_HEIGHT 360
+#define SCREEN_HEIGHT 800
/* view maintains */
int clipdrawer_init(void *data);