2010-07-01 11:49:22 -07:00
|
|
|
#ifndef _EPHOTO_H_
|
|
|
|
#define _EPHOTO_H_
|
|
|
|
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
#define _GNU_SOURCE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <Ecore.h>
|
|
|
|
#include <Ecore_Evas.h>
|
|
|
|
#include <Ecore_File.h>
|
|
|
|
#include <Efreet_Mime.h>
|
|
|
|
#include <Elementary.h>
|
|
|
|
#include <Eina.h>
|
|
|
|
#include <Edje.h>
|
|
|
|
#include <Evas.h>
|
|
|
|
#include <Ethumb.h>
|
|
|
|
#include <Ethumb_Client.h>
|
2010-07-22 09:15:16 -07:00
|
|
|
#include <Eio.h>
|
2010-07-01 11:49:22 -07:00
|
|
|
#include <limits.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
/*Main Functions*/
|
2010-07-10 14:52:14 -07:00
|
|
|
void ephoto_create_main_window(const char *directory, const char *image);
|
2010-07-01 11:49:22 -07:00
|
|
|
|
2010-07-05 14:07:53 -07:00
|
|
|
/*Ephoto Flow Browser*/
|
|
|
|
void ephoto_create_flow_browser(void);
|
|
|
|
void ephoto_show_flow_browser(const char *current_image);
|
|
|
|
void ephoto_hide_flow_browser(void);
|
|
|
|
void ephoto_delete_flow_browser(void);
|
|
|
|
|
2010-07-27 19:06:03 -07:00
|
|
|
/*Ephoto Slideshow*/
|
|
|
|
void ephoto_create_slideshow(void);
|
|
|
|
void ephoto_show_slideshow(int view, const char *current_image);
|
|
|
|
void ephoto_hide_slideshow(void);
|
|
|
|
void ephoto_delete_slideshow(void);
|
|
|
|
|
2010-07-01 11:49:22 -07:00
|
|
|
/*Ephoto Thumb Browser*/
|
2010-07-10 14:52:14 -07:00
|
|
|
void ephoto_create_thumb_browser(const char *directory);
|
2010-07-01 11:49:22 -07:00
|
|
|
void ephoto_show_thumb_browser(void);
|
|
|
|
void ephoto_hide_thumb_browser(void);
|
|
|
|
void ephoto_delete_thumb_browser(void);
|
|
|
|
void ephoto_populate_thumbnails(void);
|
|
|
|
|
|
|
|
/*Ephoto Main Structure*/
|
|
|
|
struct _Ephoto
|
|
|
|
{
|
|
|
|
Evas *e;
|
|
|
|
Evas_Object *win;
|
|
|
|
Evas_Object *bg;
|
|
|
|
Evas_Object *box;
|
2010-07-05 14:07:53 -07:00
|
|
|
Evas_Object *flow_browser;
|
2010-07-27 19:06:03 -07:00
|
|
|
Evas_Object *slideshow;
|
2010-07-01 11:49:22 -07:00
|
|
|
Evas_Object *thumb_browser;
|
2010-07-02 14:35:51 -07:00
|
|
|
Eina_List *images;
|
2010-07-01 11:49:22 -07:00
|
|
|
};
|
|
|
|
typedef struct _Ephoto Ephoto;
|
|
|
|
extern Ephoto *em;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|