bx = elm_box_add(win);
elm_box_horizontal_set(bx, 1);
elm_notify_content_set(notify, bx);
- evas_object_show(bt);
+ evas_object_show(bx);
evas_object_event_callback_add(bx, EVAS_CALLBACK_MOUSE_IN, _mouse_in, notify);
evas_object_event_callback_add(bx, EVAS_CALLBACK_MOUSE_OUT, _mouse_out, notify);
} Elm_Photocam_Zoom_Mode;
EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
EAPI int elm_photocam_file_set(Evas_Object *obj, const char *file);
+ EAPI const char * elm_photocam_file_get(Evas_Object *obj);
EAPI void elm_photocam_zoom_set(Evas_Object *obj, int zoom);
EAPI int elm_photocam_zoom_get(Evas_Object *obj);
EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode);
return evas_object_image_load_error_get(wd->img);
}
+/*
+ * Returns the path of the current image file
+ *
+ * @param obj The photocam object
+ * @return Returns the path
+ *
+ * @ingroup Photocam
+ */
+EAPI const char * elm_photocam_file_get(Evas_Object *obj)
+{
+ Widget_Data *wd = elm_widget_data_get(obj);
+ return wd->file;
+}
+
/**
* Set the zoom level of the photo
*