summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2004-11-25 05:18:31 +0000
committerCarsten Haitzler <raster@rasterman.com>2004-11-25 05:18:31 +0000
commitfeb5571092babd75eaf9bdbb3213663383c5043a (patch)
tree53887905a7619c70e00f61decfad76e55924e583 /legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
parente984d6b4fb2670b0f63c039e71a6098962e4ae1c (diff)
hidden symbol support
SVN revision: 12252
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h53
1 files changed, 35 insertions, 18 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h b/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
index 0296c17c8f..9f2b907d2c 100644
--- a/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
+++ b/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_FB_H 1#ifndef _ECORE_FB_H
2#define _ECORE_FB_H 2#define _ECORE_FB_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file 22 * @file
6 * @brief Ecore frame buffer system functions. 23 * @brief Ecore frame buffer system functions.
@@ -60,33 +77,33 @@ struct _Ecore_Fb_Event_Mouse_Move /** FB Mouse Move event */
60 int y; /**< Mouse co-ordinates where the mouse cursor moved to */ 77 int y; /**< Mouse co-ordinates where the mouse cursor moved to */
61}; 78};
62 79
63int ecore_fb_init(const char *name); 80EAPI int ecore_fb_init(const char *name);
64int ecore_fb_shutdown(void); 81EAPI int ecore_fb_shutdown(void);
65 82
66void ecore_fb_double_click_time_set(double t); 83EAPI void ecore_fb_double_click_time_set(double t);
67double ecore_fb_double_click_time_get(void); 84EAPI double ecore_fb_double_click_time_get(void);
68 85
69void ecore_fb_size_get(int *w, int *h); 86EAPI void ecore_fb_size_get(int *w, int *h);
70 87
71void ecore_fb_touch_screen_calibrate_set(int xscale, int xtrans, int yscale, int ytrans, int xyswap); 88EAPI void ecore_fb_touch_screen_calibrate_set(int xscale, int xtrans, int yscale, int ytrans, int xyswap);
72void ecore_fb_touch_screen_calibrate_get(int *xscale, int *xtrans, int *yscale, int *ytrans, int *xyswap); 89EAPI void ecore_fb_touch_screen_calibrate_get(int *xscale, int *xtrans, int *yscale, int *ytrans, int *xyswap);
73 90
74void ecore_fb_backlight_set(int on); 91EAPI void ecore_fb_backlight_set(int on);
75int ecore_fb_backlight_get(void); 92EAPI int ecore_fb_backlight_get(void);
76 93
77void ecore_fb_backlight_brightness_set(double br); 94EAPI void ecore_fb_backlight_brightness_set(double br);
78double ecore_fb_backlight_brightness_get(void); 95EAPI double ecore_fb_backlight_brightness_get(void);
79 96
80void ecore_fb_led_set(int on); 97EAPI void ecore_fb_led_set(int on);
81void ecore_fb_led_blink_set(double speed); 98EAPI void ecore_fb_led_blink_set(double speed);
82 99
83void ecore_fb_contrast_set(double cr); 100EAPI void ecore_fb_contrast_set(double cr);
84double ecore_fb_contrast_get(void); 101EAPI double ecore_fb_contrast_get(void);
85 102
86double ecore_fb_light_sensor_get(void); 103EAPI double ecore_fb_light_sensor_get(void);
87 104
88void ecore_fb_callback_gain_set(void (*func) (void *data), void *data); 105EAPI void ecore_fb_callback_gain_set(void (*func) (void *data), void *data);
89void ecore_fb_callback_lose_set(void (*func) (void *data), void *data); 106EAPI void ecore_fb_callback_lose_set(void (*func) (void *data), void *data);
90 107
91#ifdef __cplusplus 108#ifdef __cplusplus
92} 109}