# include <Ecore_WinCE.h>
#endif
-#include "els_pan.h"
-#include "els_scroller.h"
-#include "els_box.h"
-#include "els_icon.h"
-
#include "elm_widget.h"
#define CRITICAL(...) EINA_LOG_DOM_CRIT(_elm_log_dom, __VA_ARGS__)
# include <libintl.h>
# define E_(string) _elm_dgettext(string)
#else
-# define bindtextdomain(domain,dir)
+# ifndef setlocale
+# define setlocale(c, l)
+# endif
+# ifndef libintl_setlocale
+# define libintl_setlocale(c, l)
+# endif
+# ifndef bindtextdomain
+# define bindtextdomain(domain,dir)
+# endif
+# ifndef libintl_bindtextdomain
+# define libintl_bindtextdomain(domain,dir)
+# endif
# define E_(string) (string)
#endif
-
+#define N_(string) (string)
typedef struct _Elm_Config Elm_Config;
typedef struct _Elm_Module Elm_Module;
#define ELM_OPENGL_SDL (_elm_engines[11])
#define ELM_BUFFER (_elm_engines[12])
#define ELM_EWS (_elm_engines[13])
+#define ELM_OPENGL_COCOA (_elm_engines[14])
+#define ELM_SOFTWARE_PSL1GHT (_elm_engines[15])
#define ELM_FONT_TOKEN_STYLE ":style="
#define ELM_ACCESS_MODE_OFF 0
#define ELM_ACCESS_MODE_ON 1
+#undef MIN
+#define MIN(x, y) (((x) < (y)) ? (x) : (y))
+#undef MAX
+#define MAX(x, y) (((x) > (y)) ? (x) : (y))
+
struct _Elm_Config
{
int config_version;
double zoom_friction;
unsigned char thumbscroll_bounce_enable;
double thumbscroll_border_friction;
+ double thumbscroll_sensitivity_friction;
double scroll_smooth_amount;
double scroll_smooth_history_weight;
double scroll_smooth_future_time;
unsigned char desktop_entry;
Eina_Bool password_show_last;
double password_show_last_timeout;
+ Eina_Bool glayer_zoom_finger_enable;
double glayer_zoom_finger_factor;
double glayer_zoom_wheel_factor;
double glayer_zoom_distance_tolerance;
const char *so_path;
const char *data_dir;
const char *bin_dir;
- void *handle;
+ Eina_Module *module;
void *data;
void *api;
int (*init_func) (Elm_Module *m);
void _elm_win_shutdown(void);
void _elm_win_rescale(Elm_Theme *th, Eina_Bool use_theme);
+void _elm_win_translate(void);
Eina_Bool _elm_theme_object_set(Evas_Object *parent, Evas_Object *o, const char *clas, const char *group, const char *style);
Eina_Bool _elm_theme_object_icon_set(Evas_Object *parent, Evas_Object *o, const char *group, const char *style);
const char *_elm_config_current_profile_get(void);
const char *_elm_config_profile_dir_get(const char *prof, Eina_Bool is_user);
Eina_List *_elm_config_profiles_list(void);
+void _elm_config_all_update(void);
void _elm_config_profile_set(const char *profile);
void _elm_config_engine_set(const char *engine);
void elm_cursor_theme(Elm_Cursor *cur);
void elm_object_sub_cursor_set(Evas_Object *eventarea, Evas_Object *owner, const char *cursor);
-void elm_menu_clone(Evas_Object *from_menu, Evas_Object *to_menu, Elm_Menu_Item *parent);
+void elm_menu_clone(Evas_Object *from_menu, Evas_Object *to_menu, Elm_Object_Item *parent);
Eina_Bool _elm_dangerous_call_check(const char *call);
extern Eina_List *_elm_win_list;
extern int _elm_win_deferred_free;
+#ifdef ENABLE_NLS
/* Our gettext wrapper, used to disable translation of elm if the app
* is not translated. */
static inline const char *
return dgettext(PACKAGE, string);
}
-
+#endif
/* Used by the paste handler */
void _elm_entry_entry_paste(Evas_Object *obj, const char *entry);