diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/ecore/src/lib/ecore_directfb | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/ecore/src/lib/ecore_directfb')
6 files changed, 0 insertions, 2041 deletions
diff --git a/libraries/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h b/libraries/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h deleted file mode 100644 index 1f6fc63..0000000 --- a/libraries/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h +++ /dev/null | |||
@@ -1,181 +0,0 @@ | |||
1 | #ifndef _ECORE_DIRECTFB_H | ||
2 | #define _ECORE_DIRECTFB_H | ||
3 | |||
4 | #include <directfb.h> | ||
5 | |||
6 | #include <Eina.h> | ||
7 | |||
8 | #ifdef EAPI | ||
9 | # undef EAPI | ||
10 | #endif /* ifdef EAPI */ | ||
11 | |||
12 | #ifdef __GNUC__ | ||
13 | # if __GNUC__ >= 4 | ||
14 | # define EAPI __attribute__ ((visibility("default"))) | ||
15 | # else /* if __GNUC__ >= 4 */ | ||
16 | # define EAPI | ||
17 | # endif /* if __GNUC__ >= 4 */ | ||
18 | #else /* ifdef __GNUC__ */ | ||
19 | # define EAPI | ||
20 | #endif /* ifdef __GNUC__ */ | ||
21 | |||
22 | #ifdef __cplusplus | ||
23 | extern "C" { | ||
24 | #endif /* ifdef __cplusplus */ | ||
25 | |||
26 | EAPI extern int ECORE_DIRECTFB_EVENT_POSITION; | ||
27 | EAPI extern int ECORE_DIRECTFB_EVENT_SIZE; | ||
28 | EAPI extern int ECORE_DIRECTFB_EVENT_CLOSE; | ||
29 | EAPI extern int ECORE_DIRECTFB_EVENT_DESTROYED; | ||
30 | EAPI extern int ECORE_DIRECTFB_EVENT_GOT_FOCUS; | ||
31 | EAPI extern int ECORE_DIRECTFB_EVENT_LOST_FOCUS; | ||
32 | EAPI extern int ECORE_DIRECTFB_EVENT_KEY_DOWN; | ||
33 | EAPI extern int ECORE_DIRECTFB_EVENT_KEY_UP; | ||
34 | EAPI extern int ECORE_DIRECTFB_EVENT_BUTTON_DOWN; | ||
35 | EAPI extern int ECORE_DIRECTFB_EVENT_BUTTON_UP; | ||
36 | EAPI extern int ECORE_DIRECTFB_EVENT_MOTION; | ||
37 | EAPI extern int ECORE_DIRECTFB_EVENT_ENTER; | ||
38 | EAPI extern int ECORE_DIRECTFB_EVENT_LEAVE; | ||
39 | EAPI extern int ECORE_DIRECTFB_EVENT_WHEEL; | ||
40 | |||
41 | #ifndef _ECORE_DIRECTFB_WINDOW_PREDEF | ||
42 | typedef struct _Ecore_DirectFB_Window Ecore_DirectFB_Window; | ||
43 | #endif /* ifndef _ECORE_DIRECTFB_WINDOW_PREDEF */ | ||
44 | typedef struct _Ecore_DirectFB_Cursor Ecore_DirectFB_Cursor; | ||
45 | |||
46 | typedef struct _Ecore_DirectFB_Event_Key_Down Ecore_DirectFB_Event_Key_Down; | ||
47 | typedef struct _Ecore_DirectFB_Event_Key_Up Ecore_DirectFB_Event_Key_Up; | ||
48 | typedef struct _Ecore_DirectFB_Event_Button_Down Ecore_DirectFB_Event_Button_Down; | ||
49 | typedef struct _Ecore_DirectFB_Event_Button_Up Ecore_DirectFB_Event_Button_Up; | ||
50 | typedef struct _Ecore_DirectFB_Event_Motion Ecore_DirectFB_Event_Motion; | ||
51 | typedef struct _Ecore_DirectFB_Event_Enter Ecore_DirectFB_Event_Enter; | ||
52 | typedef struct _Ecore_DirectFB_Event_Leave Ecore_DirectFB_Event_Leave; | ||
53 | typedef struct _Ecore_DirectFB_Event_Wheel Ecore_DirectFB_Event_Wheel; | ||
54 | typedef struct _Ecore_DirectFB_Event_Got_Focus Ecore_DirectFB_Event_Got_Focus; | ||
55 | typedef struct _Ecore_DirectFB_Event_Lost_Focus Ecore_DirectFB_Event_Lost_Focus; | ||
56 | |||
57 | /* this struct is to keep windows data (id, window itself and surface) in memory as every call | ||
58 | * to DirectFB for this values (e.g window->GetSurface(window,&surface)) will increment the | ||
59 | * reference count, then we will have to release N times the data, so better we just ask for | ||
60 | them once */ | ||
61 | struct _Ecore_DirectFB_Window | ||
62 | { | ||
63 | DFBWindowID id; | ||
64 | IDirectFBWindow *window; | ||
65 | IDirectFBSurface *surface; | ||
66 | Ecore_DirectFB_Cursor *cursor; | ||
67 | }; | ||
68 | |||
69 | struct _Ecore_DirectFB_Cursor | ||
70 | { | ||
71 | IDirectFBSurface *surface; | ||
72 | int hot_x; | ||
73 | int hot_y; | ||
74 | }; | ||
75 | |||
76 | struct _Ecore_DirectFB_Event_Key_Down /** DirectFB Key Down event */ | ||
77 | { | ||
78 | char *name; /**< The name of the key that was released */ | ||
79 | char *string; /**< The logical symbol of the key that was pressed */ | ||
80 | char *key_compose; /**< The UTF-8 string conversion if any */ | ||
81 | unsigned int time; | ||
82 | DFBWindowID win; | ||
83 | }; | ||
84 | |||
85 | struct _Ecore_DirectFB_Event_Key_Up /** DirectFB Key Up event */ | ||
86 | { | ||
87 | char *name; /**< The name of the key that was released */ | ||
88 | char *string; /**< The logical symbol of the key that was pressed */ | ||
89 | char *key_compose; /**< The UTF-8 string conversion if any */ | ||
90 | unsigned int time; | ||
91 | DFBWindowID win; | ||
92 | }; | ||
93 | |||
94 | struct _Ecore_DirectFB_Event_Button_Down | ||
95 | { | ||
96 | int button; | ||
97 | int modifiers; | ||
98 | int x, y; | ||
99 | unsigned int time; | ||
100 | int double_click : 1; | ||
101 | int triple_click : 1; | ||
102 | DFBWindowID win; | ||
103 | }; | ||
104 | struct _Ecore_DirectFB_Event_Button_Up | ||
105 | { | ||
106 | int button; | ||
107 | int modifiers; | ||
108 | int x, y; | ||
109 | unsigned int time; | ||
110 | DFBWindowID win; | ||
111 | int double_click : 1; | ||
112 | int triple_click : 1; | ||
113 | }; | ||
114 | struct _Ecore_DirectFB_Event_Motion | ||
115 | { | ||
116 | int modifiers; | ||
117 | int x, y; | ||
118 | unsigned int time; | ||
119 | DFBWindowID win; | ||
120 | }; | ||
121 | |||
122 | struct _Ecore_DirectFB_Event_Enter | ||
123 | { | ||
124 | int modifiers; | ||
125 | int x, y; | ||
126 | unsigned int time; | ||
127 | DFBWindowID win; | ||
128 | }; | ||
129 | |||
130 | struct _Ecore_DirectFB_Event_Leave | ||
131 | { | ||
132 | int modifiers; | ||
133 | int x, y; | ||
134 | unsigned int time; | ||
135 | DFBWindowID win; | ||
136 | }; | ||
137 | |||
138 | struct _Ecore_DirectFB_Event_Wheel | ||
139 | { | ||
140 | int direction; | ||
141 | int z; | ||
142 | int modifiers; | ||
143 | unsigned int time; | ||
144 | DFBWindowID win; | ||
145 | }; | ||
146 | |||
147 | struct _Ecore_DirectFB_Event_Got_Focus | ||
148 | { | ||
149 | unsigned int time; | ||
150 | DFBWindowID win; | ||
151 | }; | ||
152 | |||
153 | struct _Ecore_DirectFB_Event_Lost_Focus | ||
154 | { | ||
155 | unsigned int time; | ||
156 | DFBWindowID win; | ||
157 | }; | ||
158 | |||
159 | /* main functions */ | ||
160 | EAPI int ecore_directfb_init(const char *name); | ||
161 | EAPI int ecore_directfb_shutdown(void); | ||
162 | EAPI IDirectFB * ecore_directfb_interface_get(void); | ||
163 | |||
164 | /* window operations */ | ||
165 | EAPI Ecore_DirectFB_Window *ecore_directfb_window_new(int x, int y, int w, int h); | ||
166 | EAPI void ecore_directfb_window_free(Ecore_DirectFB_Window *window); | ||
167 | EAPI void ecore_directfb_window_move(Ecore_DirectFB_Window *window, int x, int y); | ||
168 | EAPI void ecore_directfb_window_resize(Ecore_DirectFB_Window *window, int w, int h); | ||
169 | EAPI void ecore_directfb_window_focus(Ecore_DirectFB_Window *window); | ||
170 | EAPI void ecore_directfb_window_show(Ecore_DirectFB_Window *window); | ||
171 | EAPI void ecore_directfb_window_hide(Ecore_DirectFB_Window *window); | ||
172 | EAPI void ecore_directfb_window_shaped_set(Ecore_DirectFB_Window *window, Eina_Bool set); | ||
173 | EAPI void ecore_directfb_window_fullscreen_set(Ecore_DirectFB_Window *window, Eina_Bool set); | ||
174 | EAPI void ecore_directfb_window_size_get(Ecore_DirectFB_Window *window, int *w, int *h); | ||
175 | EAPI void ecore_directfb_window_cursor_show(Ecore_DirectFB_Window *window, Eina_Bool show); | ||
176 | |||
177 | #ifdef __cplusplus | ||
178 | } | ||
179 | #endif /* ifdef __cplusplus */ | ||
180 | |||
181 | #endif /* ifndef _ECORE_DIRECTFB_H */ | ||
diff --git a/libraries/ecore/src/lib/ecore_directfb/Makefile.am b/libraries/ecore/src/lib/ecore_directfb/Makefile.am deleted file mode 100644 index 8142d33..0000000 --- a/libraries/ecore/src/lib/ecore_directfb/Makefile.am +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | AM_CPPFLAGS = \ | ||
4 | -I$(top_srcdir)/src/lib/ecore \ | ||
5 | -I$(top_builddir)/src/lib/ecore \ | ||
6 | @DIRECTFB_CFLAGS@ @EINA_CFLAGS@ | ||
7 | |||
8 | lib_LTLIBRARIES = libecore_directfb.la | ||
9 | includes_HEADERS = Ecore_DirectFB.h | ||
10 | includesdir = $(includedir)/ecore-@VMAJ@ | ||
11 | |||
12 | libecore_directfb_la_SOURCES = \ | ||
13 | ecore_directfb.c \ | ||
14 | ecore_directfb_keys.h \ | ||
15 | ecore_directfb_private.h | ||
16 | |||
17 | libecore_directfb_la_LIBADD = \ | ||
18 | $(top_builddir)/src/lib/ecore/libecore.la \ | ||
19 | @DIRECTFB_LIBS@ \ | ||
20 | @EINA_LIBS@ | ||
21 | |||
22 | libecore_directfb_la_LDFLAGS = -version-info @version_info@ @release_info@ | ||
23 | |||
24 | libecore_directfb_la_DEPENDENCIES = \ | ||
25 | $(top_builddir)/src/lib/ecore/libecore.la | ||
26 | |||
27 | EXTRA_DIST = \ | ||
28 | Ecore_DirectFB.h \ | ||
29 | ecore_directfb.c \ | ||
30 | ecore_directfb_keys.h \ | ||
31 | ecore_directfb_private.h | ||
diff --git a/libraries/ecore/src/lib/ecore_directfb/Makefile.in b/libraries/ecore/src/lib/ecore_directfb/Makefile.in deleted file mode 100644 index f1b270a..0000000 --- a/libraries/ecore/src/lib/ecore_directfb/Makefile.in +++ /dev/null | |||
@@ -1,836 +0,0 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | |||
19 | VPATH = @srcdir@ | ||
20 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
21 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
22 | pkglibdir = $(libdir)/@PACKAGE@ | ||
23 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
24 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
25 | install_sh_DATA = $(install_sh) -c -m 644 | ||
26 | install_sh_PROGRAM = $(install_sh) -c | ||
27 | install_sh_SCRIPT = $(install_sh) -c | ||
28 | INSTALL_HEADER = $(INSTALL_DATA) | ||
29 | transform = $(program_transform_name) | ||
30 | NORMAL_INSTALL = : | ||
31 | PRE_INSTALL = : | ||
32 | POST_INSTALL = : | ||
33 | NORMAL_UNINSTALL = : | ||
34 | PRE_UNINSTALL = : | ||
35 | POST_UNINSTALL = : | ||
36 | build_triplet = @build@ | ||
37 | host_triplet = @host@ | ||
38 | subdir = src/lib/ecore_directfb | ||
39 | DIST_COMMON = $(includes_HEADERS) $(srcdir)/Makefile.am \ | ||
40 | $(srcdir)/Makefile.in | ||
41 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
42 | am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ | ||
43 | $(top_srcdir)/m4/ac_path_generic.m4 \ | ||
44 | $(top_srcdir)/m4/check_x_extension.m4 \ | ||
45 | $(top_srcdir)/m4/ecore_check_module.m4 \ | ||
46 | $(top_srcdir)/m4/ecore_check_options.m4 \ | ||
47 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
48 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
49 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
50 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
51 | $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ | ||
52 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | ||
53 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | ||
54 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
55 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
56 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
57 | $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ | ||
58 | $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac | ||
59 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
60 | $(ACLOCAL_M4) | ||
61 | mkinstalldirs = $(install_sh) -d | ||
62 | CONFIG_HEADER = $(top_builddir)/config.h | ||
63 | CONFIG_CLEAN_FILES = | ||
64 | CONFIG_CLEAN_VPATH_FILES = | ||
65 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
66 | am__vpath_adj = case $$p in \ | ||
67 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
68 | *) f=$$p;; \ | ||
69 | esac; | ||
70 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
71 | am__install_max = 40 | ||
72 | am__nobase_strip_setup = \ | ||
73 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
74 | am__nobase_strip = \ | ||
75 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
76 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
77 | for p in $$list; do echo "$$p $$p"; done | \ | ||
78 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
79 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
80 | if (++n[$$2] == $(am__install_max)) \ | ||
81 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
82 | END { for (dir in files) print dir, files[dir] }' | ||
83 | am__base_list = \ | ||
84 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
85 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
86 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includesdir)" | ||
87 | LTLIBRARIES = $(lib_LTLIBRARIES) | ||
88 | am_libecore_directfb_la_OBJECTS = ecore_directfb.lo | ||
89 | libecore_directfb_la_OBJECTS = $(am_libecore_directfb_la_OBJECTS) | ||
90 | AM_V_lt = $(am__v_lt_$(V)) | ||
91 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
92 | am__v_lt_0 = --silent | ||
93 | libecore_directfb_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
94 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
95 | $(AM_CFLAGS) $(CFLAGS) $(libecore_directfb_la_LDFLAGS) \ | ||
96 | $(LDFLAGS) -o $@ | ||
97 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
98 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
99 | am__depfiles_maybe = depfiles | ||
100 | am__mv = mv -f | ||
101 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
102 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
103 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
104 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
105 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
106 | $(AM_CFLAGS) $(CFLAGS) | ||
107 | AM_V_CC = $(am__v_CC_$(V)) | ||
108 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
109 | am__v_CC_0 = @echo " CC " $@; | ||
110 | AM_V_at = $(am__v_at_$(V)) | ||
111 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
112 | am__v_at_0 = @ | ||
113 | CCLD = $(CC) | ||
114 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
115 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
116 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
117 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
118 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
119 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
120 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
121 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
122 | am__v_GEN_0 = @echo " GEN " $@; | ||
123 | SOURCES = $(libecore_directfb_la_SOURCES) | ||
124 | DIST_SOURCES = $(libecore_directfb_la_SOURCES) | ||
125 | HEADERS = $(includes_HEADERS) | ||
126 | ETAGS = etags | ||
127 | CTAGS = ctags | ||
128 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
129 | ACLOCAL = @ACLOCAL@ | ||
130 | ALLOCA = @ALLOCA@ | ||
131 | AMTAR = @AMTAR@ | ||
132 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
133 | AR = @AR@ | ||
134 | AS = @AS@ | ||
135 | AUTOCONF = @AUTOCONF@ | ||
136 | AUTOHEADER = @AUTOHEADER@ | ||
137 | AUTOMAKE = @AUTOMAKE@ | ||
138 | AWK = @AWK@ | ||
139 | CARES_CFLAGS = @CARES_CFLAGS@ | ||
140 | CARES_LIBS = @CARES_LIBS@ | ||
141 | CC = @CC@ | ||
142 | CCDEPMODE = @CCDEPMODE@ | ||
143 | CFLAGS = @CFLAGS@ | ||
144 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
145 | CHECK_LIBS = @CHECK_LIBS@ | ||
146 | CPP = @CPP@ | ||
147 | CPPFLAGS = @CPPFLAGS@ | ||
148 | CURL_CFLAGS = @CURL_CFLAGS@ | ||
149 | CURL_LIBS = @CURL_LIBS@ | ||
150 | CXX = @CXX@ | ||
151 | CXXCPP = @CXXCPP@ | ||
152 | CXXDEPMODE = @CXXDEPMODE@ | ||
153 | CXXFLAGS = @CXXFLAGS@ | ||
154 | CYGPATH_W = @CYGPATH_W@ | ||
155 | DEFS = @DEFS@ | ||
156 | DEPDIR = @DEPDIR@ | ||
157 | DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@ | ||
158 | DIRECTFB_LIBS = @DIRECTFB_LIBS@ | ||
159 | DLLTOOL = @DLLTOOL@ | ||
160 | DSYMUTIL = @DSYMUTIL@ | ||
161 | DUMPBIN = @DUMPBIN@ | ||
162 | ECHO_C = @ECHO_C@ | ||
163 | ECHO_N = @ECHO_N@ | ||
164 | ECHO_T = @ECHO_T@ | ||
165 | ECORE_XCB_CFLAGS = @ECORE_XCB_CFLAGS@ | ||
166 | ECORE_XCB_LIBS = @ECORE_XCB_LIBS@ | ||
167 | EFL_ECORE_BUILD = @EFL_ECORE_BUILD@ | ||
168 | EFL_ECORE_CON_BUILD = @EFL_ECORE_CON_BUILD@ | ||
169 | EFL_ECORE_EVAS_BUILD = @EFL_ECORE_EVAS_BUILD@ | ||
170 | EFL_ECORE_FILE_BUILD = @EFL_ECORE_FILE_BUILD@ | ||
171 | EFL_ECORE_IMF_BUILD = @EFL_ECORE_IMF_BUILD@ | ||
172 | EFL_ECORE_IMF_EVAS_BUILD = @EFL_ECORE_IMF_EVAS_BUILD@ | ||
173 | EFL_ECORE_INPUT_BUILD = @EFL_ECORE_INPUT_BUILD@ | ||
174 | EFL_ECORE_INPUT_EVAS_BUILD = @EFL_ECORE_INPUT_EVAS_BUILD@ | ||
175 | EFL_ECORE_IPC_BUILD = @EFL_ECORE_IPC_BUILD@ | ||
176 | EFL_ECORE_PSL1GHT_BUILD = @EFL_ECORE_PSL1GHT_BUILD@ | ||
177 | EFL_ECORE_SDL_BUILD = @EFL_ECORE_SDL_BUILD@ | ||
178 | EFL_ECORE_WIN32_BUILD = @EFL_ECORE_WIN32_BUILD@ | ||
179 | EFL_ECORE_WINCE_BUILD = @EFL_ECORE_WINCE_BUILD@ | ||
180 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
181 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
182 | EGREP = @EGREP@ | ||
183 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
184 | EINA_LIBS = @EINA_LIBS@ | ||
185 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
186 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
187 | EVAS_CFLAGS = @EVAS_CFLAGS@ | ||
188 | EVAS_LIBS = @EVAS_LIBS@ | ||
189 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
190 | EVIL_LIBS = @EVIL_LIBS@ | ||
191 | EXEEXT = @EXEEXT@ | ||
192 | EXOTIC_CFLAGS = @EXOTIC_CFLAGS@ | ||
193 | EXOTIC_LIBS = @EXOTIC_LIBS@ | ||
194 | FGREP = @FGREP@ | ||
195 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | ||
196 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
197 | GLIB_LIBS = @GLIB_LIBS@ | ||
198 | GMSGFMT = @GMSGFMT@ | ||
199 | GMSGFMT_015 = @GMSGFMT_015@ | ||
200 | GREP = @GREP@ | ||
201 | INSTALL = @INSTALL@ | ||
202 | INSTALL_DATA = @INSTALL_DATA@ | ||
203 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
204 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
205 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
206 | INTLLIBS = @INTLLIBS@ | ||
207 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | ||
208 | KEYSYMDEFS = @KEYSYMDEFS@ | ||
209 | LD = @LD@ | ||
210 | LDFLAGS = @LDFLAGS@ | ||
211 | LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ | ||
212 | LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ | ||
213 | LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ | ||
214 | LIBICONV = @LIBICONV@ | ||
215 | LIBINTL = @LIBINTL@ | ||
216 | LIBOBJS = @LIBOBJS@ | ||
217 | LIBS = @LIBS@ | ||
218 | LIBTOOL = @LIBTOOL@ | ||
219 | LIPO = @LIPO@ | ||
220 | LN_S = @LN_S@ | ||
221 | LTLIBICONV = @LTLIBICONV@ | ||
222 | LTLIBINTL = @LTLIBINTL@ | ||
223 | LTLIBOBJS = @LTLIBOBJS@ | ||
224 | MAKEINFO = @MAKEINFO@ | ||
225 | MKDIR_P = @MKDIR_P@ | ||
226 | MSGFMT = @MSGFMT@ | ||
227 | MSGFMT_015 = @MSGFMT_015@ | ||
228 | MSGMERGE = @MSGMERGE@ | ||
229 | NM = @NM@ | ||
230 | NMEDIT = @NMEDIT@ | ||
231 | OBJC = @OBJC@ | ||
232 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
233 | OBJCFLAGS = @OBJCFLAGS@ | ||
234 | OBJDUMP = @OBJDUMP@ | ||
235 | OBJEXT = @OBJEXT@ | ||
236 | OTOOL = @OTOOL@ | ||
237 | OTOOL64 = @OTOOL64@ | ||
238 | PACKAGE = @PACKAGE@ | ||
239 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
240 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
241 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
242 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
243 | PACKAGE_URL = @PACKAGE_URL@ | ||
244 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
245 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
246 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
247 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
248 | PKG_CONFIG = @PKG_CONFIG@ | ||
249 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
250 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
251 | POSUB = @POSUB@ | ||
252 | RANLIB = @RANLIB@ | ||
253 | SCIM_CFLAGS = @SCIM_CFLAGS@ | ||
254 | SCIM_LIBS = @SCIM_LIBS@ | ||
255 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
256 | SDL_CONFIG = @SDL_CONFIG@ | ||
257 | SDL_LIBS = @SDL_LIBS@ | ||
258 | SED = @SED@ | ||
259 | SET_MAKE = @SET_MAKE@ | ||
260 | SHELL = @SHELL@ | ||
261 | SHM_OPEN_LIBS = @SHM_OPEN_LIBS@ | ||
262 | SSL_CFLAGS = @SSL_CFLAGS@ | ||
263 | SSL_LIBS = @SSL_LIBS@ | ||
264 | STRIP = @STRIP@ | ||
265 | TLS2_CFLAGS = @TLS2_CFLAGS@ | ||
266 | TLS2_LIBS = @TLS2_LIBS@ | ||
267 | TLS_CFLAGS = @TLS_CFLAGS@ | ||
268 | TLS_LIBS = @TLS_LIBS@ | ||
269 | TSLIB_CFLAGS = @TSLIB_CFLAGS@ | ||
270 | TSLIB_LIBS = @TSLIB_LIBS@ | ||
271 | USE_NLS = @USE_NLS@ | ||
272 | VERSION = @VERSION@ | ||
273 | VMAJ = @VMAJ@ | ||
274 | WAYLAND_CFLAGS = @WAYLAND_CFLAGS@ | ||
275 | WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ | ||
276 | WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ | ||
277 | WAYLAND_LIBS = @WAYLAND_LIBS@ | ||
278 | WIN32_CFLAGS = @WIN32_CFLAGS@ | ||
279 | WIN32_CPPFLAGS = @WIN32_CPPFLAGS@ | ||
280 | WIN32_LIBS = @WIN32_LIBS@ | ||
281 | XCB_COMPOSITE_CFLAGS = @XCB_COMPOSITE_CFLAGS@ | ||
282 | XCB_COMPOSITE_LIBS = @XCB_COMPOSITE_LIBS@ | ||
283 | XCB_CURSOR_CFLAGS = @XCB_CURSOR_CFLAGS@ | ||
284 | XCB_CURSOR_LIBS = @XCB_CURSOR_LIBS@ | ||
285 | XCB_DAMAGE_CFLAGS = @XCB_DAMAGE_CFLAGS@ | ||
286 | XCB_DAMAGE_LIBS = @XCB_DAMAGE_LIBS@ | ||
287 | XCB_DPMS_CFLAGS = @XCB_DPMS_CFLAGS@ | ||
288 | XCB_DPMS_LIBS = @XCB_DPMS_LIBS@ | ||
289 | XCB_RANDR_CFLAGS = @XCB_RANDR_CFLAGS@ | ||
290 | XCB_RANDR_LIBS = @XCB_RANDR_LIBS@ | ||
291 | XCB_RENDER_CFLAGS = @XCB_RENDER_CFLAGS@ | ||
292 | XCB_RENDER_LIBS = @XCB_RENDER_LIBS@ | ||
293 | XCB_SCREENSAVER_CFLAGS = @XCB_SCREENSAVER_CFLAGS@ | ||
294 | XCB_SCREENSAVER_LIBS = @XCB_SCREENSAVER_LIBS@ | ||
295 | XCB_SHAPE_CFLAGS = @XCB_SHAPE_CFLAGS@ | ||
296 | XCB_SHAPE_LIBS = @XCB_SHAPE_LIBS@ | ||
297 | XCB_SYNC_CFLAGS = @XCB_SYNC_CFLAGS@ | ||
298 | XCB_SYNC_LIBS = @XCB_SYNC_LIBS@ | ||
299 | XCB_X11_CFLAGS = @XCB_X11_CFLAGS@ | ||
300 | XCB_X11_LIBS = @XCB_X11_LIBS@ | ||
301 | XCB_XFIXES_CFLAGS = @XCB_XFIXES_CFLAGS@ | ||
302 | XCB_XFIXES_LIBS = @XCB_XFIXES_LIBS@ | ||
303 | XCB_XGESTURE_CFLAGS = @XCB_XGESTURE_CFLAGS@ | ||
304 | XCB_XGESTURE_LIBS = @XCB_XGESTURE_LIBS@ | ||
305 | XCB_XINERAMA_CFLAGS = @XCB_XINERAMA_CFLAGS@ | ||
306 | XCB_XINERAMA_LIBS = @XCB_XINERAMA_LIBS@ | ||
307 | XCB_XINPUT_CFLAGS = @XCB_XINPUT_CFLAGS@ | ||
308 | XCB_XINPUT_LIBS = @XCB_XINPUT_LIBS@ | ||
309 | XCB_XPRINT_CFLAGS = @XCB_XPRINT_CFLAGS@ | ||
310 | XCB_XPRINT_LIBS = @XCB_XPRINT_LIBS@ | ||
311 | XCB_XTEST_CFLAGS = @XCB_XTEST_CFLAGS@ | ||
312 | XCB_XTEST_LIBS = @XCB_XTEST_LIBS@ | ||
313 | XCOMPOSITE_CFLAGS = @XCOMPOSITE_CFLAGS@ | ||
314 | XCOMPOSITE_LIBS = @XCOMPOSITE_LIBS@ | ||
315 | XDAMAGE_CFLAGS = @XDAMAGE_CFLAGS@ | ||
316 | XDAMAGE_LIBS = @XDAMAGE_LIBS@ | ||
317 | XDPMS_CFLAGS = @XDPMS_CFLAGS@ | ||
318 | XDPMS_LIBS = @XDPMS_LIBS@ | ||
319 | XFIXES_CFLAGS = @XFIXES_CFLAGS@ | ||
320 | XFIXES_LIBS = @XFIXES_LIBS@ | ||
321 | XGESTURE_CFLAGS = @XGESTURE_CFLAGS@ | ||
322 | XGESTURE_LIBS = @XGESTURE_LIBS@ | ||
323 | XGETTEXT = @XGETTEXT@ | ||
324 | XGETTEXT_015 = @XGETTEXT_015@ | ||
325 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | ||
326 | XI2_CFLAGS = @XI2_CFLAGS@ | ||
327 | XI2_LIBS = @XI2_LIBS@ | ||
328 | XINERAMA_CFLAGS = @XINERAMA_CFLAGS@ | ||
329 | XINERAMA_LIBS = @XINERAMA_LIBS@ | ||
330 | XKB_CFLAGS = @XKB_CFLAGS@ | ||
331 | XKB_LIBS = @XKB_LIBS@ | ||
332 | XMKMF = @XMKMF@ | ||
333 | XPRINT_CFLAGS = @XPRINT_CFLAGS@ | ||
334 | XPRINT_LIBS = @XPRINT_LIBS@ | ||
335 | XRANDR_CFLAGS = @XRANDR_CFLAGS@ | ||
336 | XRANDR_LIBS = @XRANDR_LIBS@ | ||
337 | XRENDER_CFLAGS = @XRENDER_CFLAGS@ | ||
338 | XRENDER_LIBS = @XRENDER_LIBS@ | ||
339 | XSS_CFLAGS = @XSS_CFLAGS@ | ||
340 | XSS_LIBS = @XSS_LIBS@ | ||
341 | XTEST_CFLAGS = @XTEST_CFLAGS@ | ||
342 | XTEST_LIBS = @XTEST_LIBS@ | ||
343 | X_CFLAGS = @X_CFLAGS@ | ||
344 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
345 | X_LIBS = @X_LIBS@ | ||
346 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
347 | Xcursor_cflags = @Xcursor_cflags@ | ||
348 | Xcursor_libs = @Xcursor_libs@ | ||
349 | abs_builddir = @abs_builddir@ | ||
350 | abs_srcdir = @abs_srcdir@ | ||
351 | abs_top_builddir = @abs_top_builddir@ | ||
352 | abs_top_srcdir = @abs_top_srcdir@ | ||
353 | ac_ct_CC = @ac_ct_CC@ | ||
354 | ac_ct_CXX = @ac_ct_CXX@ | ||
355 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
356 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
357 | am__include = @am__include@ | ||
358 | am__leading_dot = @am__leading_dot@ | ||
359 | am__quote = @am__quote@ | ||
360 | am__tar = @am__tar@ | ||
361 | am__untar = @am__untar@ | ||
362 | bindir = @bindir@ | ||
363 | build = @build@ | ||
364 | build_alias = @build_alias@ | ||
365 | build_cpu = @build_cpu@ | ||
366 | build_os = @build_os@ | ||
367 | build_vendor = @build_vendor@ | ||
368 | builddir = @builddir@ | ||
369 | cocoa_ldflags = @cocoa_ldflags@ | ||
370 | datadir = @datadir@ | ||
371 | datarootdir = @datarootdir@ | ||
372 | dlopen_libs = @dlopen_libs@ | ||
373 | docdir = @docdir@ | ||
374 | dvidir = @dvidir@ | ||
375 | ecore_cocoa_cflags = @ecore_cocoa_cflags@ | ||
376 | ecore_cocoa_libs = @ecore_cocoa_libs@ | ||
377 | ecore_con_cflags = @ecore_con_cflags@ | ||
378 | ecore_con_libs = @ecore_con_libs@ | ||
379 | ecore_directfb_cflags = @ecore_directfb_cflags@ | ||
380 | ecore_directfb_libs = @ecore_directfb_libs@ | ||
381 | ecore_evas_cflags = @ecore_evas_cflags@ | ||
382 | ecore_evas_libs = @ecore_evas_libs@ | ||
383 | ecore_fb_cflags = @ecore_fb_cflags@ | ||
384 | ecore_fb_libs = @ecore_fb_libs@ | ||
385 | ecore_file_cflags = @ecore_file_cflags@ | ||
386 | ecore_file_libs = @ecore_file_libs@ | ||
387 | ecore_imf_cflags = @ecore_imf_cflags@ | ||
388 | ecore_imf_evas_cflags = @ecore_imf_evas_cflags@ | ||
389 | ecore_imf_evas_libs = @ecore_imf_evas_libs@ | ||
390 | ecore_imf_libs = @ecore_imf_libs@ | ||
391 | ecore_imf_scim_cflags = @ecore_imf_scim_cflags@ | ||
392 | ecore_imf_scim_libs = @ecore_imf_scim_libs@ | ||
393 | ecore_imf_xim_cflags = @ecore_imf_xim_cflags@ | ||
394 | ecore_imf_xim_libs = @ecore_imf_xim_libs@ | ||
395 | ecore_input_cflags = @ecore_input_cflags@ | ||
396 | ecore_input_evas_cflags = @ecore_input_evas_cflags@ | ||
397 | ecore_input_evas_libs = @ecore_input_evas_libs@ | ||
398 | ecore_input_libs = @ecore_input_libs@ | ||
399 | ecore_ipc_cflags = @ecore_ipc_cflags@ | ||
400 | ecore_ipc_libs = @ecore_ipc_libs@ | ||
401 | ecore_psl1ght_cflags = @ecore_psl1ght_cflags@ | ||
402 | ecore_psl1ght_libs = @ecore_psl1ght_libs@ | ||
403 | ecore_sdl_cflags = @ecore_sdl_cflags@ | ||
404 | ecore_sdl_libs = @ecore_sdl_libs@ | ||
405 | ecore_wayland_cflags = @ecore_wayland_cflags@ | ||
406 | ecore_wayland_libs = @ecore_wayland_libs@ | ||
407 | ecore_win32_cflags = @ecore_win32_cflags@ | ||
408 | ecore_win32_libs = @ecore_win32_libs@ | ||
409 | ecore_wince_cflags = @ecore_wince_cflags@ | ||
410 | ecore_wince_libs = @ecore_wince_libs@ | ||
411 | ecore_x_cflags = @ecore_x_cflags@ | ||
412 | ecore_x_libs = @ecore_x_libs@ | ||
413 | ecore_x_libs_private = @ecore_x_libs_private@ | ||
414 | efl_doxygen = @efl_doxygen@ | ||
415 | efl_have_doxygen = @efl_have_doxygen@ | ||
416 | exec_prefix = @exec_prefix@ | ||
417 | have_ecore_x_xcb_define = @have_ecore_x_xcb_define@ | ||
418 | host = @host@ | ||
419 | host_alias = @host_alias@ | ||
420 | host_cpu = @host_cpu@ | ||
421 | host_os = @host_os@ | ||
422 | host_vendor = @host_vendor@ | ||
423 | htmldir = @htmldir@ | ||
424 | includedir = @includedir@ | ||
425 | infodir = @infodir@ | ||
426 | install_sh = @install_sh@ | ||
427 | libdir = @libdir@ | ||
428 | libexecdir = @libexecdir@ | ||
429 | localedir = @localedir@ | ||
430 | localstatedir = @localstatedir@ | ||
431 | lt_ECHO = @lt_ECHO@ | ||
432 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
433 | mandir = @mandir@ | ||
434 | mkdir_p = @mkdir_p@ | ||
435 | oldincludedir = @oldincludedir@ | ||
436 | pdfdir = @pdfdir@ | ||
437 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
438 | prefix = @prefix@ | ||
439 | program_transform_name = @program_transform_name@ | ||
440 | psdir = @psdir@ | ||
441 | release_info = @release_info@ | ||
442 | requirements_ecore = @requirements_ecore@ | ||
443 | requirements_ecore_cocoa = @requirements_ecore_cocoa@ | ||
444 | requirements_ecore_con = @requirements_ecore_con@ | ||
445 | requirements_ecore_directfb = @requirements_ecore_directfb@ | ||
446 | requirements_ecore_evas = @requirements_ecore_evas@ | ||
447 | requirements_ecore_fb = @requirements_ecore_fb@ | ||
448 | requirements_ecore_file = @requirements_ecore_file@ | ||
449 | requirements_ecore_imf = @requirements_ecore_imf@ | ||
450 | requirements_ecore_imf_evas = @requirements_ecore_imf_evas@ | ||
451 | requirements_ecore_imf_scim = @requirements_ecore_imf_scim@ | ||
452 | requirements_ecore_imf_xim = @requirements_ecore_imf_xim@ | ||
453 | requirements_ecore_input = @requirements_ecore_input@ | ||
454 | requirements_ecore_input_evas = @requirements_ecore_input_evas@ | ||
455 | requirements_ecore_ipc = @requirements_ecore_ipc@ | ||
456 | requirements_ecore_psl1ght = @requirements_ecore_psl1ght@ | ||
457 | requirements_ecore_sdl = @requirements_ecore_sdl@ | ||
458 | requirements_ecore_wayland = @requirements_ecore_wayland@ | ||
459 | requirements_ecore_win32 = @requirements_ecore_win32@ | ||
460 | requirements_ecore_wince = @requirements_ecore_wince@ | ||
461 | requirements_ecore_x = @requirements_ecore_x@ | ||
462 | rt_libs = @rt_libs@ | ||
463 | sbindir = @sbindir@ | ||
464 | sharedstatedir = @sharedstatedir@ | ||
465 | srcdir = @srcdir@ | ||
466 | sysconfdir = @sysconfdir@ | ||
467 | target_alias = @target_alias@ | ||
468 | top_build_prefix = @top_build_prefix@ | ||
469 | top_builddir = @top_builddir@ | ||
470 | top_srcdir = @top_srcdir@ | ||
471 | version_info = @version_info@ | ||
472 | x_cflags = @x_cflags@ | ||
473 | x_includes = @x_includes@ | ||
474 | x_libs = @x_libs@ | ||
475 | MAINTAINERCLEANFILES = Makefile.in | ||
476 | AM_CPPFLAGS = \ | ||
477 | -I$(top_srcdir)/src/lib/ecore \ | ||
478 | -I$(top_builddir)/src/lib/ecore \ | ||
479 | @DIRECTFB_CFLAGS@ @EINA_CFLAGS@ | ||
480 | |||
481 | lib_LTLIBRARIES = libecore_directfb.la | ||
482 | includes_HEADERS = Ecore_DirectFB.h | ||
483 | includesdir = $(includedir)/ecore-@VMAJ@ | ||
484 | libecore_directfb_la_SOURCES = \ | ||
485 | ecore_directfb.c \ | ||
486 | ecore_directfb_keys.h \ | ||
487 | ecore_directfb_private.h | ||
488 | |||
489 | libecore_directfb_la_LIBADD = \ | ||
490 | $(top_builddir)/src/lib/ecore/libecore.la \ | ||
491 | @DIRECTFB_LIBS@ \ | ||
492 | @EINA_LIBS@ | ||
493 | |||
494 | libecore_directfb_la_LDFLAGS = -version-info @version_info@ @release_info@ | ||
495 | libecore_directfb_la_DEPENDENCIES = \ | ||
496 | $(top_builddir)/src/lib/ecore/libecore.la | ||
497 | |||
498 | EXTRA_DIST = \ | ||
499 | Ecore_DirectFB.h \ | ||
500 | ecore_directfb.c \ | ||
501 | ecore_directfb_keys.h \ | ||
502 | ecore_directfb_private.h | ||
503 | |||
504 | all: all-am | ||
505 | |||
506 | .SUFFIXES: | ||
507 | .SUFFIXES: .c .lo .o .obj | ||
508 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
509 | @for dep in $?; do \ | ||
510 | case '$(am__configure_deps)' in \ | ||
511 | *$$dep*) \ | ||
512 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
513 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
514 | exit 1;; \ | ||
515 | esac; \ | ||
516 | done; \ | ||
517 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/ecore_directfb/Makefile'; \ | ||
518 | $(am__cd) $(top_srcdir) && \ | ||
519 | $(AUTOMAKE) --gnu src/lib/ecore_directfb/Makefile | ||
520 | .PRECIOUS: Makefile | ||
521 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
522 | @case '$?' in \ | ||
523 | *config.status*) \ | ||
524 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
525 | *) \ | ||
526 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
527 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
528 | esac; | ||
529 | |||
530 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
531 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
532 | |||
533 | $(top_srcdir)/configure: $(am__configure_deps) | ||
534 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
535 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
536 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
537 | $(am__aclocal_m4_deps): | ||
538 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | ||
539 | @$(NORMAL_INSTALL) | ||
540 | test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" | ||
541 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | ||
542 | list2=; for p in $$list; do \ | ||
543 | if test -f $$p; then \ | ||
544 | list2="$$list2 $$p"; \ | ||
545 | else :; fi; \ | ||
546 | done; \ | ||
547 | test -z "$$list2" || { \ | ||
548 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ | ||
549 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ | ||
550 | } | ||
551 | |||
552 | uninstall-libLTLIBRARIES: | ||
553 | @$(NORMAL_UNINSTALL) | ||
554 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | ||
555 | for p in $$list; do \ | ||
556 | $(am__strip_dir) \ | ||
557 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ | ||
558 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ | ||
559 | done | ||
560 | |||
561 | clean-libLTLIBRARIES: | ||
562 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | ||
563 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | ||
564 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
565 | test "$$dir" != "$$p" || dir=.; \ | ||
566 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
567 | rm -f "$${dir}/so_locations"; \ | ||
568 | done | ||
569 | libecore_directfb.la: $(libecore_directfb_la_OBJECTS) $(libecore_directfb_la_DEPENDENCIES) | ||
570 | $(AM_V_CCLD)$(libecore_directfb_la_LINK) -rpath $(libdir) $(libecore_directfb_la_OBJECTS) $(libecore_directfb_la_LIBADD) $(LIBS) | ||
571 | |||
572 | mostlyclean-compile: | ||
573 | -rm -f *.$(OBJEXT) | ||
574 | |||
575 | distclean-compile: | ||
576 | -rm -f *.tab.c | ||
577 | |||
578 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecore_directfb.Plo@am__quote@ | ||
579 | |||
580 | .c.o: | ||
581 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
582 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
583 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
584 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
585 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
586 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
587 | |||
588 | .c.obj: | ||
589 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
590 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
591 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
592 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
593 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
594 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
595 | |||
596 | .c.lo: | ||
597 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
598 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
599 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
600 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
601 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
602 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
603 | |||
604 | mostlyclean-libtool: | ||
605 | -rm -f *.lo | ||
606 | |||
607 | clean-libtool: | ||
608 | -rm -rf .libs _libs | ||
609 | install-includesHEADERS: $(includes_HEADERS) | ||
610 | @$(NORMAL_INSTALL) | ||
611 | test -z "$(includesdir)" || $(MKDIR_P) "$(DESTDIR)$(includesdir)" | ||
612 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
613 | for p in $$list; do \ | ||
614 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
615 | echo "$$d$$p"; \ | ||
616 | done | $(am__base_list) | \ | ||
617 | while read files; do \ | ||
618 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includesdir)'"; \ | ||
619 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(includesdir)" || exit $$?; \ | ||
620 | done | ||
621 | |||
622 | uninstall-includesHEADERS: | ||
623 | @$(NORMAL_UNINSTALL) | ||
624 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
625 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
626 | test -n "$$files" || exit 0; \ | ||
627 | echo " ( cd '$(DESTDIR)$(includesdir)' && rm -f" $$files ")"; \ | ||
628 | cd "$(DESTDIR)$(includesdir)" && rm -f $$files | ||
629 | |||
630 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
631 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
632 | unique=`for i in $$list; do \ | ||
633 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
634 | done | \ | ||
635 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
636 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
637 | mkid -fID $$unique | ||
638 | tags: TAGS | ||
639 | |||
640 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
641 | $(TAGS_FILES) $(LISP) | ||
642 | set x; \ | ||
643 | here=`pwd`; \ | ||
644 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
645 | unique=`for i in $$list; do \ | ||
646 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
647 | done | \ | ||
648 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
649 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
650 | shift; \ | ||
651 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
652 | test -n "$$unique" || unique=$$empty_fix; \ | ||
653 | if test $$# -gt 0; then \ | ||
654 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
655 | "$$@" $$unique; \ | ||
656 | else \ | ||
657 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
658 | $$unique; \ | ||
659 | fi; \ | ||
660 | fi | ||
661 | ctags: CTAGS | ||
662 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
663 | $(TAGS_FILES) $(LISP) | ||
664 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
665 | unique=`for i in $$list; do \ | ||
666 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
667 | done | \ | ||
668 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
669 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
670 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
671 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
672 | $$unique | ||
673 | |||
674 | GTAGS: | ||
675 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
676 | && $(am__cd) $(top_srcdir) \ | ||
677 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
678 | |||
679 | distclean-tags: | ||
680 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
681 | |||
682 | distdir: $(DISTFILES) | ||
683 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
684 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
685 | list='$(DISTFILES)'; \ | ||
686 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
687 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
688 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
689 | case $$dist_files in \ | ||
690 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
691 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
692 | sort -u` ;; \ | ||
693 | esac; \ | ||
694 | for file in $$dist_files; do \ | ||
695 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
696 | if test -d $$d/$$file; then \ | ||
697 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
698 | if test -d "$(distdir)/$$file"; then \ | ||
699 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
700 | fi; \ | ||
701 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
702 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
703 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
704 | fi; \ | ||
705 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
706 | else \ | ||
707 | test -f "$(distdir)/$$file" \ | ||
708 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
709 | || exit 1; \ | ||
710 | fi; \ | ||
711 | done | ||
712 | check-am: all-am | ||
713 | check: check-am | ||
714 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) | ||
715 | installdirs: | ||
716 | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includesdir)"; do \ | ||
717 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
718 | done | ||
719 | install: install-am | ||
720 | install-exec: install-exec-am | ||
721 | install-data: install-data-am | ||
722 | uninstall: uninstall-am | ||
723 | |||
724 | install-am: all-am | ||
725 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
726 | |||
727 | installcheck: installcheck-am | ||
728 | install-strip: | ||
729 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
730 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
731 | `test -z '$(STRIP)' || \ | ||
732 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
733 | mostlyclean-generic: | ||
734 | |||
735 | clean-generic: | ||
736 | |||
737 | distclean-generic: | ||
738 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
739 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
740 | |||
741 | maintainer-clean-generic: | ||
742 | @echo "This command is intended for maintainers to use" | ||
743 | @echo "it deletes files that may require special tools to rebuild." | ||
744 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
745 | clean: clean-am | ||
746 | |||
747 | clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ | ||
748 | mostlyclean-am | ||
749 | |||
750 | distclean: distclean-am | ||
751 | -rm -rf ./$(DEPDIR) | ||
752 | -rm -f Makefile | ||
753 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
754 | distclean-tags | ||
755 | |||
756 | dvi: dvi-am | ||
757 | |||
758 | dvi-am: | ||
759 | |||
760 | html: html-am | ||
761 | |||
762 | html-am: | ||
763 | |||
764 | info: info-am | ||
765 | |||
766 | info-am: | ||
767 | |||
768 | install-data-am: install-includesHEADERS | ||
769 | |||
770 | install-dvi: install-dvi-am | ||
771 | |||
772 | install-dvi-am: | ||
773 | |||
774 | install-exec-am: install-libLTLIBRARIES | ||
775 | |||
776 | install-html: install-html-am | ||
777 | |||
778 | install-html-am: | ||
779 | |||
780 | install-info: install-info-am | ||
781 | |||
782 | install-info-am: | ||
783 | |||
784 | install-man: | ||
785 | |||
786 | install-pdf: install-pdf-am | ||
787 | |||
788 | install-pdf-am: | ||
789 | |||
790 | install-ps: install-ps-am | ||
791 | |||
792 | install-ps-am: | ||
793 | |||
794 | installcheck-am: | ||
795 | |||
796 | maintainer-clean: maintainer-clean-am | ||
797 | -rm -rf ./$(DEPDIR) | ||
798 | -rm -f Makefile | ||
799 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
800 | |||
801 | mostlyclean: mostlyclean-am | ||
802 | |||
803 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
804 | mostlyclean-libtool | ||
805 | |||
806 | pdf: pdf-am | ||
807 | |||
808 | pdf-am: | ||
809 | |||
810 | ps: ps-am | ||
811 | |||
812 | ps-am: | ||
813 | |||
814 | uninstall-am: uninstall-includesHEADERS uninstall-libLTLIBRARIES | ||
815 | |||
816 | .MAKE: install-am install-strip | ||
817 | |||
818 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
819 | clean-libLTLIBRARIES clean-libtool ctags distclean \ | ||
820 | distclean-compile distclean-generic distclean-libtool \ | ||
821 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
822 | install install-am install-data install-data-am install-dvi \ | ||
823 | install-dvi-am install-exec install-exec-am install-html \ | ||
824 | install-html-am install-includesHEADERS install-info \ | ||
825 | install-info-am install-libLTLIBRARIES install-man install-pdf \ | ||
826 | install-pdf-am install-ps install-ps-am install-strip \ | ||
827 | installcheck installcheck-am installdirs maintainer-clean \ | ||
828 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
829 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
830 | tags uninstall uninstall-am uninstall-includesHEADERS \ | ||
831 | uninstall-libLTLIBRARIES | ||
832 | |||
833 | |||
834 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
835 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
836 | .NOEXPORT: | ||
diff --git a/libraries/ecore/src/lib/ecore_directfb/ecore_directfb.c b/libraries/ecore/src/lib/ecore_directfb/ecore_directfb.c deleted file mode 100644 index 7c56b5d..0000000 --- a/libraries/ecore/src/lib/ecore_directfb/ecore_directfb.c +++ /dev/null | |||
@@ -1,757 +0,0 @@ | |||
1 | #ifdef HAVE_CONFIG_H | ||
2 | # include <config.h> | ||
3 | #endif /* ifdef HAVE_CONFIG_H */ | ||
4 | |||
5 | #include <stdio.h> | ||
6 | #include <string.h> | ||
7 | |||
8 | #include "Ecore_DirectFB.h" | ||
9 | #include "ecore_directfb_private.h" | ||
10 | #include "ecore_directfb_keys.h" | ||
11 | #include "Ecore.h" | ||
12 | #include "ecore_private.h" | ||
13 | |||
14 | /* ecore_directfb */ | ||
15 | /******************/ | ||
16 | /* About */ | ||
17 | /* with this you can create windows of directfb and handle events through ecore | ||
18 | * TODO: | ||
19 | * - handle all event types | ||
20 | * - | ||
21 | * */ | ||
22 | int _ecore_directfb_log_dom = -1; | ||
23 | |||
24 | static int _ecore_directfb_init_count = 0; | ||
25 | |||
26 | static int _window_event_fd = 0; | ||
27 | static int _input_event_fd = 0; | ||
28 | |||
29 | static int _ecore_directfb_fullscreen_window_id = 0; | ||
30 | static int _cursor_x = 0; | ||
31 | static int _cursor_y = 0; | ||
32 | |||
33 | EAPI int ECORE_DIRECTFB_EVENT_POSITION = 0; | ||
34 | EAPI int ECORE_DIRECTFB_EVENT_SIZE = 0; | ||
35 | EAPI int ECORE_DIRECTFB_EVENT_CLOSE = 0; | ||
36 | EAPI int ECORE_DIRECTFB_EVENT_DESTROYED = 0; | ||
37 | EAPI int ECORE_DIRECTFB_EVENT_GOT_FOCUS = 0; | ||
38 | EAPI int ECORE_DIRECTFB_EVENT_LOST_FOCUS = 0; | ||
39 | EAPI int ECORE_DIRECTFB_EVENT_KEY_DOWN = 0; | ||
40 | EAPI int ECORE_DIRECTFB_EVENT_KEY_UP = 0; | ||
41 | EAPI int ECORE_DIRECTFB_EVENT_BUTTON_DOWN = 0; | ||
42 | EAPI int ECORE_DIRECTFB_EVENT_BUTTON_UP = 0; | ||
43 | EAPI int ECORE_DIRECTFB_EVENT_MOTION = 0; | ||
44 | EAPI int ECORE_DIRECTFB_EVENT_ENTER = 0; | ||
45 | EAPI int ECORE_DIRECTFB_EVENT_LEAVE = 0; | ||
46 | EAPI int ECORE_DIRECTFB_EVENT_WHEEL = 0; | ||
47 | |||
48 | static Ecore_Fd_Handler *_window_event_fd_handler_handle = NULL; | ||
49 | static Ecore_Fd_Handler *_input_event_fd_handler_handle = NULL; | ||
50 | |||
51 | /* this hash is to store all the possible key names for fast lookup */ | ||
52 | static Eina_Hash *_ecore_directfb_key_symbols_hash = NULL; | ||
53 | |||
54 | static IDirectFB *_dfb = NULL; // the main interface | ||
55 | static IDirectFBEventBuffer *_window_event; // the main event buffer (all windows are attached to this) | ||
56 | static IDirectFBEventBuffer *_input_event; // the main event buffer (all windows are attached to this) | ||
57 | static IDirectFBDisplayLayer *_layer; // the main layer | ||
58 | static DFBResult _err; // useful for DFBCHECK | ||
59 | |||
60 | /*******************/ | ||
61 | /* local functions */ | ||
62 | /*******************/ | ||
63 | |||
64 | /* free ecore directfb events functions */ | ||
65 | /****************************************/ | ||
66 | |||
67 | static void | ||
68 | _ecore_directfb_event_free_key_down(void *data __UNUSED__, void *ev) | ||
69 | { | ||
70 | Ecore_DirectFB_Event_Key_Up *e; | ||
71 | |||
72 | e = ev; | ||
73 | if(e->name) | ||
74 | free(e->name); | ||
75 | |||
76 | if (e->string) | ||
77 | free(e->string); | ||
78 | |||
79 | if (e->key_compose) | ||
80 | free(e->key_compose); | ||
81 | |||
82 | free(e); | ||
83 | } | ||
84 | |||
85 | static void | ||
86 | _ecore_directfb_event_free_key_up(void *data __UNUSED__, void *ev) | ||
87 | { | ||
88 | Ecore_DirectFB_Event_Key_Up *e; | ||
89 | |||
90 | e = ev; | ||
91 | if(e->name) | ||
92 | free(e->name); | ||
93 | |||
94 | if (e->string) | ||
95 | free(e->string); | ||
96 | |||
97 | if (e->key_compose) | ||
98 | free(e->key_compose); | ||
99 | |||
100 | free(e); | ||
101 | } | ||
102 | |||
103 | /* directfb window input events handler */ | ||
104 | /****************************************/ | ||
105 | |||
106 | static void | ||
107 | _ecore_directfb_event_handle_motion(DFBEvent *evt) | ||
108 | { | ||
109 | Ecore_DirectFB_Event_Motion *e; | ||
110 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Motion)); | ||
111 | |||
112 | switch(evt->clazz) | ||
113 | { | ||
114 | case DFEC_INPUT: | ||
115 | e->modifiers = 0; | ||
116 | switch(evt->input.axis) | ||
117 | { | ||
118 | case DIAI_X: | ||
119 | e->x = _cursor_x = evt->input.axisabs; | ||
120 | e->y = _cursor_y; | ||
121 | break; | ||
122 | |||
123 | case DIAI_Y: | ||
124 | e->y = _cursor_y = evt->input.axisabs; | ||
125 | e->x = _cursor_x; | ||
126 | break; | ||
127 | |||
128 | case DIAI_Z: | ||
129 | //_ecore_directfb_event_handle_wheel(evt); | ||
130 | return; | ||
131 | |||
132 | default: | ||
133 | return; | ||
134 | } | ||
135 | e->win = _ecore_directfb_fullscreen_window_id; | ||
136 | e->time = 0; | ||
137 | break; | ||
138 | |||
139 | case DFEC_WINDOW: | ||
140 | e->modifiers = 0; | ||
141 | e->x = evt->window.x; | ||
142 | e->y = evt->window.y; | ||
143 | e->win = evt->window.window_id; | ||
144 | e->time = 0; | ||
145 | break; | ||
146 | |||
147 | default: | ||
148 | break; | ||
149 | } | ||
150 | ecore_event_add(ECORE_DIRECTFB_EVENT_MOTION, e, NULL, NULL); | ||
151 | } | ||
152 | |||
153 | static void | ||
154 | _ecore_directfb_event_handle_key_down(DFBEvent *evt) | ||
155 | { | ||
156 | Ecore_DirectFB_Event_Key_Down *e; | ||
157 | unsigned int key_symbol; | ||
158 | struct keymap *k; | ||
159 | |||
160 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Key_Down)); | ||
161 | |||
162 | switch(evt->clazz) | ||
163 | { | ||
164 | case DFEC_INPUT: | ||
165 | key_symbol = evt->input.key_symbol; | ||
166 | k = eina_hash_find(_ecore_directfb_key_symbols_hash, &key_symbol); | ||
167 | |||
168 | if(!k) | ||
169 | { | ||
170 | ERR("Symbol %0X of class DFEC_INPUT not found.", evt->input.key_symbol); | ||
171 | return; | ||
172 | } | ||
173 | |||
174 | e->name = strdup(k->name); | ||
175 | e->string = strdup(k->string); | ||
176 | e->key_compose = NULL; | ||
177 | e->win = _ecore_directfb_fullscreen_window_id; | ||
178 | e->time = 0; | ||
179 | break; | ||
180 | |||
181 | case DFEC_WINDOW: | ||
182 | key_symbol = evt->window.key_symbol; | ||
183 | k = eina_hash_find(_ecore_directfb_key_symbols_hash, &key_symbol); | ||
184 | |||
185 | if(!k) | ||
186 | { | ||
187 | ERR("Symbol %0X of class DFEC_WINDOW not found.", evt->window.key_symbol); | ||
188 | return; | ||
189 | } | ||
190 | |||
191 | e->name = strdup(k->name); | ||
192 | e->string = strdup(k->string); | ||
193 | e->key_compose = NULL; | ||
194 | e->win = evt->window.window_id; | ||
195 | e->time = 0; | ||
196 | break; | ||
197 | |||
198 | default: | ||
199 | break; | ||
200 | } | ||
201 | |||
202 | ecore_event_add(ECORE_DIRECTFB_EVENT_KEY_DOWN, e, _ecore_directfb_event_free_key_down, NULL); | ||
203 | } | ||
204 | |||
205 | static void | ||
206 | _ecore_directfb_event_handle_key_up(DFBEvent *evt) | ||
207 | { | ||
208 | Ecore_DirectFB_Event_Key_Up *e; | ||
209 | unsigned int key_symbol; | ||
210 | struct keymap *k; | ||
211 | |||
212 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Key_Up)); | ||
213 | |||
214 | switch(evt->clazz) | ||
215 | { | ||
216 | case DFEC_INPUT: | ||
217 | key_symbol = evt->input.key_symbol; | ||
218 | k = eina_hash_find(_ecore_directfb_key_symbols_hash, &key_symbol); | ||
219 | |||
220 | if(!k) | ||
221 | { | ||
222 | ERR("Symbol %0X of class DFEC_INPUT not found.", evt->input.key_symbol); | ||
223 | return; | ||
224 | } | ||
225 | |||
226 | e->name = strdup(k->name); | ||
227 | e->string = strdup(k->string); | ||
228 | e->key_compose = NULL; | ||
229 | e->win = _ecore_directfb_fullscreen_window_id; | ||
230 | e->time = 0; | ||
231 | break; | ||
232 | |||
233 | case DFEC_WINDOW: | ||
234 | key_symbol = evt->window.key_symbol; | ||
235 | k = eina_hash_find(_ecore_directfb_key_symbols_hash, &key_symbol); | ||
236 | |||
237 | if(!k) | ||
238 | { | ||
239 | ERR("Symbol %0X of class DFEC_WINDOW not found.", evt->window.key_symbol); | ||
240 | return; | ||
241 | } | ||
242 | |||
243 | e->name = strdup(k->name); | ||
244 | e->string = strdup(k->string); | ||
245 | e->key_compose = NULL; | ||
246 | e->win = evt->window.window_id; | ||
247 | e->time = 0; | ||
248 | break; | ||
249 | |||
250 | default: | ||
251 | break; | ||
252 | } | ||
253 | ecore_event_add(ECORE_DIRECTFB_EVENT_KEY_UP, e, _ecore_directfb_event_free_key_up, NULL); | ||
254 | } | ||
255 | |||
256 | static void | ||
257 | _ecore_directfb_event_handle_button_down(DFBEvent *evt) | ||
258 | { | ||
259 | Ecore_DirectFB_Event_Button_Down *e; | ||
260 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Button_Down)); | ||
261 | |||
262 | switch(evt->clazz) | ||
263 | { | ||
264 | case DFEC_INPUT: | ||
265 | e->button = evt->input.button + 1; | ||
266 | e->modifiers = 0; | ||
267 | DFBCHECK(_layer->GetCursorPosition(_layer,&e->x,&e->y)); | ||
268 | e->x = _cursor_x; | ||
269 | e->y = _cursor_y; | ||
270 | e->win = _ecore_directfb_fullscreen_window_id; | ||
271 | e->time = 0; | ||
272 | |||
273 | break; | ||
274 | |||
275 | case DFEC_WINDOW: | ||
276 | e->button = evt->window.button + 1; | ||
277 | e->modifiers = 0; | ||
278 | e->x = evt->window.x; | ||
279 | e->y = evt->window.y; | ||
280 | e->win = evt->window.window_id; | ||
281 | e->time = 0; | ||
282 | break; | ||
283 | |||
284 | default: | ||
285 | break; | ||
286 | } | ||
287 | |||
288 | ecore_event_add(ECORE_DIRECTFB_EVENT_BUTTON_DOWN, e, NULL, NULL); | ||
289 | } | ||
290 | |||
291 | static void | ||
292 | _ecore_directfb_event_handle_button_up(DFBEvent *evt) | ||
293 | { | ||
294 | Ecore_DirectFB_Event_Button_Up *e; | ||
295 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Button_Up)); | ||
296 | |||
297 | switch(evt->clazz) | ||
298 | { | ||
299 | case DFEC_INPUT: | ||
300 | e->button = evt->input.button + 1; | ||
301 | e->modifiers = 0; | ||
302 | e->x = _cursor_x; | ||
303 | e->y = _cursor_y; | ||
304 | e->win = _ecore_directfb_fullscreen_window_id; | ||
305 | e->time = 0; | ||
306 | |||
307 | break; | ||
308 | |||
309 | case DFEC_WINDOW: | ||
310 | e->button = evt->window.button + 1; | ||
311 | e->modifiers = 0; | ||
312 | e->x = evt->window.x; | ||
313 | e->y = evt->window.y; | ||
314 | e->win = evt->window.window_id; | ||
315 | e->time = 0; | ||
316 | break; | ||
317 | |||
318 | default: | ||
319 | break; | ||
320 | } | ||
321 | ecore_event_add(ECORE_DIRECTFB_EVENT_BUTTON_UP, e, NULL, NULL); | ||
322 | } | ||
323 | |||
324 | static void | ||
325 | _ecore_directfb_event_handle_enter(DFBWindowEvent *evt) | ||
326 | { | ||
327 | Ecore_DirectFB_Event_Enter *e; | ||
328 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Enter)); | ||
329 | |||
330 | e->modifiers = 0; | ||
331 | e->x = evt->x; | ||
332 | e->y = evt->y; | ||
333 | e->win = evt->window_id; | ||
334 | e->time = 0; | ||
335 | |||
336 | ecore_event_add(ECORE_DIRECTFB_EVENT_ENTER, e, NULL, NULL); | ||
337 | } | ||
338 | |||
339 | static void | ||
340 | _ecore_directfb_event_handle_leave(DFBWindowEvent *evt) | ||
341 | { | ||
342 | Ecore_DirectFB_Event_Leave *e; | ||
343 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Leave)); | ||
344 | |||
345 | e->modifiers = 0; | ||
346 | e->x = evt->x; | ||
347 | e->y = evt->y; | ||
348 | e->win = evt->window_id; | ||
349 | e->time = 0; | ||
350 | |||
351 | ecore_event_add(ECORE_DIRECTFB_EVENT_LEAVE, e, NULL, NULL); | ||
352 | } | ||
353 | |||
354 | static void | ||
355 | _ecore_directfb_event_handle_wheel(DFBWindowEvent *evt) | ||
356 | { | ||
357 | Ecore_DirectFB_Event_Wheel *e; | ||
358 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Wheel)); | ||
359 | |||
360 | // currently there's no direction (only up/down); | ||
361 | e->direction = 0; | ||
362 | e->z = evt->step; | ||
363 | e->modifiers = 0; | ||
364 | e->win = evt->window_id; | ||
365 | e->time = 0; | ||
366 | |||
367 | ecore_event_add(ECORE_DIRECTFB_EVENT_WHEEL, e, NULL, NULL); | ||
368 | } | ||
369 | |||
370 | static void | ||
371 | _ecore_directfb_event_handle_got_focus(DFBWindowEvent *evt) | ||
372 | { | ||
373 | Ecore_DirectFB_Event_Got_Focus *e; | ||
374 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Got_Focus)); | ||
375 | |||
376 | e->win = evt->window_id; | ||
377 | e->time = 0; | ||
378 | |||
379 | ecore_event_add(ECORE_DIRECTFB_EVENT_GOT_FOCUS, e, NULL, NULL); | ||
380 | } | ||
381 | |||
382 | static void | ||
383 | _ecore_directfb_event_handle_lost_focus(DFBWindowEvent *evt) | ||
384 | { | ||
385 | Ecore_DirectFB_Event_Lost_Focus *e; | ||
386 | e = calloc(1, sizeof(Ecore_DirectFB_Event_Lost_Focus)); | ||
387 | |||
388 | e->win = evt->window_id; | ||
389 | e->time = 0; | ||
390 | |||
391 | ecore_event_add(ECORE_DIRECTFB_EVENT_LOST_FOCUS, e, NULL, NULL); | ||
392 | } | ||
393 | |||
394 | /* inputs and windows fds handlers */ | ||
395 | /***********************************/ | ||
396 | /* TODO fix this to handle windows and input events (fullscreen/window mode) | ||
397 | * in fullscreen theres no window_id so get the id from a global var (only one fullscreen | ||
398 | * window at a time */ | ||
399 | |||
400 | static Eina_Bool | ||
401 | _ecore_directfb_input_event_fd_handler(void *data __UNUSED__,Ecore_Fd_Handler *fd_handler __UNUSED__) | ||
402 | { | ||
403 | DFBEvent evt; | ||
404 | int v = 0; | ||
405 | |||
406 | v = read(_input_event_fd, &evt, sizeof(DFBEvent)); | ||
407 | if (v < 0) | ||
408 | return EINA_TRUE; | ||
409 | |||
410 | if (v < 1) | ||
411 | return EINA_TRUE; | ||
412 | |||
413 | /* we are getting duplicate events, only parse if we are in fullscreen */ | ||
414 | //if(_ecore_directfb_fullscreen_window_id == 0) break; | ||
415 | if(evt.input.type == DIET_KEYPRESS) | ||
416 | _ecore_directfb_event_handle_key_down(&evt); | ||
417 | |||
418 | if(evt.input.type == DIET_KEYRELEASE) | ||
419 | _ecore_directfb_event_handle_key_up(&evt); | ||
420 | |||
421 | if(evt.input.type == DIET_BUTTONPRESS) | ||
422 | _ecore_directfb_event_handle_button_down(&evt); | ||
423 | |||
424 | if(evt.input.type == DIET_BUTTONRELEASE) | ||
425 | _ecore_directfb_event_handle_button_up(&evt); | ||
426 | |||
427 | if(evt.input.type == DIET_AXISMOTION) | ||
428 | _ecore_directfb_event_handle_motion(&evt); | ||
429 | |||
430 | return EINA_TRUE; | ||
431 | } | ||
432 | |||
433 | static Eina_Bool | ||
434 | _ecore_directfb_window_event_fd_handler(void *data __UNUSED__,Ecore_Fd_Handler *fd_handler __UNUSED__) | ||
435 | { | ||
436 | DFBEvent evt; | ||
437 | int v = 0; | ||
438 | |||
439 | v = read(_window_event_fd, &evt, sizeof(DFBEvent)); | ||
440 | if (v < 0) | ||
441 | return EINA_TRUE; | ||
442 | |||
443 | if (v < 1) | ||
444 | return EINA_TRUE; | ||
445 | |||
446 | if(evt.window.type & DWET_POSITION) | ||
447 | INF("position"); | ||
448 | |||
449 | if(evt.window.type & DWET_SIZE) | ||
450 | INF("size"); | ||
451 | |||
452 | if(evt.window.type & DWET_CLOSE) | ||
453 | INF("close"); | ||
454 | |||
455 | if(evt.window.type & DWET_DESTROYED) | ||
456 | INF("destroyed"); | ||
457 | |||
458 | if(evt.window.type & DWET_GOTFOCUS) | ||
459 | _ecore_directfb_event_handle_got_focus(&evt.window); | ||
460 | |||
461 | if(evt.window.type & DWET_LOSTFOCUS) | ||
462 | _ecore_directfb_event_handle_lost_focus(&evt.window); | ||
463 | |||
464 | if(evt.window.type & DWET_KEYDOWN) | ||
465 | _ecore_directfb_event_handle_key_down(&evt); | ||
466 | |||
467 | if(evt.window.type & DWET_KEYUP) | ||
468 | _ecore_directfb_event_handle_key_up(&evt); | ||
469 | |||
470 | if(evt.window.type & DWET_BUTTONDOWN) | ||
471 | _ecore_directfb_event_handle_button_down(&evt); | ||
472 | |||
473 | if(evt.window.type & DWET_BUTTONUP) | ||
474 | _ecore_directfb_event_handle_button_up(&evt); | ||
475 | |||
476 | if(evt.window.type & DWET_MOTION) | ||
477 | _ecore_directfb_event_handle_motion(&evt); | ||
478 | |||
479 | if(evt.window.type & DWET_ENTER) | ||
480 | _ecore_directfb_event_handle_enter(&evt.window); | ||
481 | |||
482 | if(evt.window.type & DWET_LEAVE) | ||
483 | _ecore_directfb_event_handle_leave(&evt.window); | ||
484 | |||
485 | if(evt.window.type & DWET_WHEEL) | ||
486 | _ecore_directfb_event_handle_wheel(&evt.window); | ||
487 | |||
488 | return EINA_TRUE; | ||
489 | } | ||
490 | |||
491 | /* api functions */ | ||
492 | /*****************/ | ||
493 | |||
494 | EAPI IDirectFB * | ||
495 | ecore_directfb_interface_get(void) | ||
496 | { | ||
497 | return _dfb; | ||
498 | } | ||
499 | |||
500 | EAPI Ecore_DirectFB_Window * | ||
501 | ecore_directfb_window_new(int x, int y, int w, int h) | ||
502 | { | ||
503 | Ecore_DirectFB_Window *window; | ||
504 | IDirectFBWindow *dfb_window; | ||
505 | IDirectFBSurface *dfb_surface = NULL; | ||
506 | DFBWindowDescription desc; | ||
507 | DFBWindowID id; | ||
508 | |||
509 | memset(&desc, 0, sizeof(DFBWindowDescription)); | ||
510 | desc.flags = (DWDESC_POSX | DWDESC_POSY | DWDESC_WIDTH | DWDESC_HEIGHT | DWDESC_CAPS); | ||
511 | desc.posx = x; | ||
512 | desc.posy = y; | ||
513 | desc.width = w; | ||
514 | desc.height = h; | ||
515 | desc.caps = DWCAPS_ALPHACHANNEL; | ||
516 | |||
517 | DFBCHECK(_layer->CreateWindow(_layer, &desc, &dfb_window)); | ||
518 | |||
519 | dfb_window->AttachEventBuffer(dfb_window, _window_event); | ||
520 | dfb_window->SetOptions(dfb_window,DWOP_NONE); | ||
521 | dfb_window->SetOpacity(dfb_window, 0xFF); | ||
522 | |||
523 | DFBCHECK(dfb_window->GetID(dfb_window, &id)); | ||
524 | DFBCHECK(dfb_window->GetSurface(dfb_window,&dfb_surface)); | ||
525 | |||
526 | window = malloc(sizeof(Ecore_DirectFB_Window)); | ||
527 | window->id = id; | ||
528 | window->window = dfb_window; | ||
529 | window->surface = dfb_surface; | ||
530 | window->cursor = NULL; | ||
531 | |||
532 | return window; | ||
533 | } | ||
534 | |||
535 | EAPI void | ||
536 | ecore_directfb_window_free(Ecore_DirectFB_Window *ecore_window) | ||
537 | { | ||
538 | DFBCHECK(ecore_window->surface->Release(ecore_window->surface)); | ||
539 | DFBCHECK(ecore_window->window->Release(ecore_window->window)); | ||
540 | free(ecore_window); | ||
541 | } | ||
542 | |||
543 | EAPI void | ||
544 | ecore_directfb_window_move(Ecore_DirectFB_Window *ecore_window, int x, int y) | ||
545 | { | ||
546 | DFBCHECK(ecore_window->window->MoveTo(ecore_window->window, x, y)); | ||
547 | } | ||
548 | |||
549 | EAPI void | ||
550 | ecore_directfb_window_resize(Ecore_DirectFB_Window *ecore_window, int w, int h) | ||
551 | { | ||
552 | DFBCHECK(ecore_window->window->Resize(ecore_window->window, w, h)); | ||
553 | } | ||
554 | |||
555 | EAPI void | ||
556 | ecore_directfb_window_focus(Ecore_DirectFB_Window *ecore_window) | ||
557 | { | ||
558 | DFBCHECK(ecore_window->window->RequestFocus(ecore_window->window)); | ||
559 | } | ||
560 | |||
561 | EAPI void | ||
562 | ecore_directfb_window_hide(Ecore_DirectFB_Window *ecore_window) | ||
563 | { | ||
564 | DFBCHECK(ecore_window->window->SetOpacity(ecore_window->window, 0)); | ||
565 | } | ||
566 | |||
567 | EAPI void | ||
568 | ecore_directfb_window_show(Ecore_DirectFB_Window *ecore_window) | ||
569 | { | ||
570 | DFBCHECK(ecore_window->window->SetOpacity(ecore_window->window, 0xFF)); | ||
571 | } | ||
572 | |||
573 | EAPI void | ||
574 | ecore_directfb_window_shaped_set(Ecore_DirectFB_Window *ecore_window, Eina_Bool set) | ||
575 | { | ||
576 | DFBWindowOptions opts; | ||
577 | |||
578 | DFBCHECK(ecore_window->window->GetOptions(ecore_window->window, &opts)); | ||
579 | if(set) | ||
580 | { | ||
581 | opts |= DWOP_SHAPED; | ||
582 | opts |= DWOP_ALPHACHANNEL; | ||
583 | DFBCHECK(ecore_window->window->SetOptions(ecore_window->window, opts)); | ||
584 | } | ||
585 | else | ||
586 | { | ||
587 | opts &= ~DWOP_SHAPED; | ||
588 | opts &= ~DWOP_ALPHACHANNEL; | ||
589 | DFBCHECK(ecore_window->window->SetOptions(ecore_window->window, opts)); | ||
590 | } | ||
591 | } | ||
592 | |||
593 | EAPI void | ||
594 | ecore_directfb_window_cursor_show(Ecore_DirectFB_Window *ecore_window, Eina_Bool show) | ||
595 | { | ||
596 | if(!show) | ||
597 | { | ||
598 | /* create an empty cursor and set it */ | ||
599 | IDirectFBSurface *cursor; | ||
600 | DFBSurfaceDescription desc; | ||
601 | |||
602 | memset(&desc, 0, sizeof(DFBSurfaceDescription)); | ||
603 | desc.flags = (DSDESC_HEIGHT | DSDESC_WIDTH | DSDESC_PIXELFORMAT); | ||
604 | desc.width = 1; | ||
605 | desc.height = 1; | ||
606 | desc.pixelformat = DSPF_A1; | ||
607 | |||
608 | DFBCHECK(_dfb->CreateSurface(_dfb,&desc,&cursor)); | ||
609 | DFBCHECK(cursor->Clear(cursor,0,0,0,0)); | ||
610 | DFBCHECK(ecore_window->window->SetCursorShape(ecore_window->window, cursor, 0, 0)); | ||
611 | } | ||
612 | else | ||
613 | { | ||
614 | /* we already have a cursor surface so set it*/ | ||
615 | if(ecore_window->cursor) | ||
616 | { | ||
617 | DFBCHECK(ecore_window->window->SetCursorShape(ecore_window->window, ecore_window->cursor->surface, ecore_window->cursor->hot_x, ecore_window->cursor->hot_y)); | ||
618 | } | ||
619 | /* or just set the default directfb cursor */ | ||
620 | else | ||
621 | { | ||
622 | DFBCHECK(ecore_window->window->SetCursorShape(ecore_window->window, NULL, 0, 0)); | ||
623 | } | ||
624 | } | ||
625 | } | ||
626 | |||
627 | EAPI void | ||
628 | ecore_directfb_window_cursor_set(Ecore_DirectFB_Window *ecore_window, Ecore_DirectFB_Cursor *cursor) | ||
629 | { | ||
630 | if((!cursor) && (ecore_window->cursor)) | ||
631 | { | ||
632 | ecore_window->cursor = NULL; | ||
633 | DFBCHECK(ecore_window->window->SetCursorShape(ecore_window->window, NULL, 0, 0)); | ||
634 | return; | ||
635 | } | ||
636 | |||
637 | if(cursor) | ||
638 | { | ||
639 | ecore_window->cursor = cursor; | ||
640 | DFBCHECK(ecore_window->window->SetCursorShape(ecore_window->window, cursor->surface, cursor->hot_x, cursor->hot_y)); | ||
641 | } | ||
642 | } | ||
643 | |||
644 | EAPI void | ||
645 | ecore_directfb_window_fullscreen_set(Ecore_DirectFB_Window *ecore_window, Eina_Bool on) | ||
646 | { | ||
647 | // always release the surface (we are going to get a new one in both cases) | ||
648 | DFBCHECK(ecore_window->surface->Release(ecore_window->surface)); | ||
649 | if(on) | ||
650 | { | ||
651 | DFBCHECK(_layer->SetCooperativeLevel(_layer,DLSCL_EXCLUSIVE)); | ||
652 | DFBCHECK(_layer->GetSurface(_layer,&ecore_window->surface)); | ||
653 | DFBCHECK(_dfb->CreateInputEventBuffer(_dfb, DICAPS_ALL, DFB_FALSE, &_input_event)); | ||
654 | DFBCHECK(_input_event->CreateFileDescriptor(_input_event,&_input_event_fd)); | ||
655 | /* the event of axismove sends one axis at a time, so we must store both */ | ||
656 | DFBCHECK(_layer->GetCursorPosition(_layer,&_cursor_x,&_cursor_y)); | ||
657 | |||
658 | _input_event_fd_handler_handle = ecore_main_fd_handler_add(_input_event_fd,ECORE_FD_READ,_ecore_directfb_input_event_fd_handler, NULL,NULL,NULL); | ||
659 | _ecore_directfb_fullscreen_window_id = ecore_window->id; | ||
660 | } | ||
661 | else | ||
662 | { | ||
663 | ecore_main_fd_handler_del(_input_event_fd_handler_handle); | ||
664 | DFBCHECK(_input_event->Release(_input_event)); | ||
665 | DFBCHECK(_layer->SetCooperativeLevel(_layer,DLSCL_SHARED)); | ||
666 | DFBCHECK(ecore_window->window->GetSurface(ecore_window->window, &ecore_window->surface)); | ||
667 | _ecore_directfb_fullscreen_window_id = 0; | ||
668 | } | ||
669 | } | ||
670 | |||
671 | EAPI void | ||
672 | ecore_directfb_window_size_get(Ecore_DirectFB_Window *ecore_window, int *w, int *h) | ||
673 | { | ||
674 | DFBCHECK(ecore_window->surface->GetSize(ecore_window->surface,w,h)); | ||
675 | return; | ||
676 | } | ||
677 | |||
678 | EAPI int | ||
679 | ecore_directfb_init(const char *name __UNUSED__) | ||
680 | { | ||
681 | int i = 0; | ||
682 | |||
683 | if (++_ecore_directfb_init_count != 1) | ||
684 | return _ecore_directfb_init_count; | ||
685 | |||
686 | _ecore_directfb_log_dom = eina_log_domain_register | ||
687 | ("ecore_directfb", ECORE_DIRECTFB_DEFAULT_LOG_COLOR); | ||
688 | if(_ecore_directfb_log_dom < 0) | ||
689 | { | ||
690 | EINA_LOG_ERR("Impossible to create a log domain for the Ecore directFB module."); | ||
691 | return _ecore_directfb_init_count--; | ||
692 | } | ||
693 | |||
694 | DFBCHECK(DirectFBInit(NULL,NULL)); | ||
695 | DFBCHECK(DirectFBCreate(&_dfb)); | ||
696 | |||
697 | DFBCHECK(_dfb->GetDisplayLayer(_dfb, DLID_PRIMARY, &_layer)); | ||
698 | DFBCHECK(_layer->SetCooperativeLevel(_layer, DLSCL_SHARED)); | ||
699 | |||
700 | /* window events and fd */ | ||
701 | DFBCHECK(_dfb->CreateEventBuffer(_dfb, &_window_event)); | ||
702 | DFBCHECK(_window_event->CreateFileDescriptor(_window_event,&_window_event_fd)); | ||
703 | _window_event_fd_handler_handle = ecore_main_fd_handler_add(_window_event_fd,ECORE_FD_READ,_ecore_directfb_window_event_fd_handler, NULL,NULL,NULL); | ||
704 | |||
705 | /* register ecore directfb events */ | ||
706 | ECORE_DIRECTFB_EVENT_POSITION = ecore_event_type_new(); | ||
707 | ECORE_DIRECTFB_EVENT_SIZE = ecore_event_type_new(); | ||
708 | ECORE_DIRECTFB_EVENT_CLOSE = ecore_event_type_new(); | ||
709 | ECORE_DIRECTFB_EVENT_DESTROYED = ecore_event_type_new(); | ||
710 | ECORE_DIRECTFB_EVENT_GOT_FOCUS = ecore_event_type_new(); | ||
711 | ECORE_DIRECTFB_EVENT_LOST_FOCUS = ecore_event_type_new(); | ||
712 | ECORE_DIRECTFB_EVENT_KEY_DOWN = ecore_event_type_new(); | ||
713 | ECORE_DIRECTFB_EVENT_KEY_UP = ecore_event_type_new(); | ||
714 | ECORE_DIRECTFB_EVENT_BUTTON_DOWN = ecore_event_type_new(); | ||
715 | ECORE_DIRECTFB_EVENT_BUTTON_UP = ecore_event_type_new(); | ||
716 | ECORE_DIRECTFB_EVENT_MOTION = ecore_event_type_new(); | ||
717 | ECORE_DIRECTFB_EVENT_ENTER = ecore_event_type_new(); | ||
718 | ECORE_DIRECTFB_EVENT_LEAVE = ecore_event_type_new(); | ||
719 | ECORE_DIRECTFB_EVENT_WHEEL = ecore_event_type_new(); | ||
720 | |||
721 | /* create the hash table for the keynames */ | ||
722 | _ecore_directfb_key_symbols_hash = eina_hash_int32_new(free); | ||
723 | for(i = 0; i < _ecore_directfb_key_symbols_count; i++) | ||
724 | { | ||
725 | struct keymap *k; | ||
726 | k = malloc(sizeof(struct keymap)); | ||
727 | k->name = _ecore_directfb_key_symbols[i].name; | ||
728 | k->string = _ecore_directfb_key_symbols[i].string; | ||
729 | eina_hash_add(_ecore_directfb_key_symbols_hash, &_ecore_directfb_key_symbols[i].id, k); | ||
730 | } | ||
731 | /* create the hash for the windows(key = windowid, val = Ecore_DirectFB_Window struct) */ | ||
732 | return _ecore_directfb_init_count; | ||
733 | } | ||
734 | |||
735 | EAPI int | ||
736 | ecore_directfb_shutdown(void) | ||
737 | { | ||
738 | if (--_ecore_directfb_init_count != 0) | ||
739 | return _ecore_directfb_init_count; | ||
740 | |||
741 | ecore_main_fd_handler_del(_window_event_fd_handler_handle); | ||
742 | eina_hash_free(_ecore_directfb_key_symbols_hash); | ||
743 | |||
744 | if(_ecore_directfb_fullscreen_window_id) | ||
745 | { | ||
746 | DFBCHECK(_input_event->Release(_input_event)); | ||
747 | ecore_main_fd_handler_del(_input_event_fd_handler_handle); | ||
748 | } | ||
749 | |||
750 | DFBCHECK(_window_event->Release(_window_event)); | ||
751 | DFBCHECK(_layer->Release(_layer)); | ||
752 | DFBCHECK(_dfb->Release(_dfb)); | ||
753 | eina_log_domain_unregister(_ecore_directfb_log_dom); | ||
754 | _ecore_directfb_log_dom = -1; | ||
755 | return _ecore_directfb_init_count; | ||
756 | } | ||
757 | |||
diff --git a/libraries/ecore/src/lib/ecore_directfb/ecore_directfb_keys.h b/libraries/ecore/src/lib/ecore_directfb/ecore_directfb_keys.h deleted file mode 100644 index 19cca46..0000000 --- a/libraries/ecore/src/lib/ecore_directfb/ecore_directfb_keys.h +++ /dev/null | |||
@@ -1,184 +0,0 @@ | |||
1 | typedef struct _Ecore_DirectFB_Key_Symbols Ecore_DirectFB_Key_Symbols; | ||
2 | struct _Ecore_DirectFB_Key_Symbols | ||
3 | { | ||
4 | char *string; | ||
5 | char *name; | ||
6 | unsigned int id; | ||
7 | }; | ||
8 | |||
9 | static const Ecore_DirectFB_Key_Symbols _ecore_directfb_key_symbols[] = { | ||
10 | {"\010", "BackSpace",DIKS_BACKSPACE}, | ||
11 | {"\011", "Tab", DIKS_TAB}, | ||
12 | {"\015", "Return", DIKS_RETURN}, | ||
13 | {"", "Cancel", DIKS_CANCEL}, | ||
14 | {"", "Escape", DIKS_ESCAPE}, | ||
15 | {" ", "space", DIKS_SPACE}, | ||
16 | {"!", "exclam", DIKS_EXCLAMATION_MARK}, | ||
17 | {"\"", "quotedbl", DIKS_QUOTATION}, | ||
18 | {"#", "numbersign", DIKS_NUMBER_SIGN}, | ||
19 | {"$", "dollar", DIKS_DOLLAR_SIGN}, | ||
20 | {"%", "percent", DIKS_PERCENT_SIGN}, | ||
21 | {"&", "ampersand", DIKS_AMPERSAND}, | ||
22 | {"'", "apostrophe", DIKS_APOSTROPHE}, | ||
23 | {"(", "parenleft", DIKS_PARENTHESIS_LEFT}, | ||
24 | {")", "parenright", DIKS_PARENTHESIS_RIGHT}, | ||
25 | {"*", "asterisk", DIKS_ASTERISK}, | ||
26 | {"+", "plus", DIKS_PLUS_SIGN}, | ||
27 | {",", "comma", DIKS_COMMA}, | ||
28 | {"-", "minus", DIKS_MINUS_SIGN}, | ||
29 | {".", "period", DIKS_PERIOD}, | ||
30 | {"/", "slash", DIKS_SLASH}, | ||
31 | {"0", "0", DIKS_0}, | ||
32 | {"1", "1", DIKS_1}, | ||
33 | {"2", "2", DIKS_2}, | ||
34 | {"3", "3", DIKS_3}, | ||
35 | {"4", "4", DIKS_4}, | ||
36 | {"5", "5", DIKS_5}, | ||
37 | {"6", "6", DIKS_6}, | ||
38 | {"7", "7", DIKS_7}, | ||
39 | {"8", "8", DIKS_8}, | ||
40 | {"9", "9", DIKS_9}, | ||
41 | {":", "colon", DIKS_COLON}, | ||
42 | {";", "semicolon", DIKS_SEMICOLON}, | ||
43 | {"<", "less", DIKS_LESS_THAN_SIGN}, | ||
44 | {"=", "equal", DIKS_EQUALS_SIGN}, | ||
45 | {">", "greater", DIKS_GREATER_THAN_SIGN}, | ||
46 | {"?", "question", DIKS_QUESTION_MARK}, | ||
47 | {"@", "at", DIKS_AT}, | ||
48 | {"A", "A", DIKS_CAPITAL_A }, | ||
49 | {"B", "B", DIKS_CAPITAL_B }, | ||
50 | {"C", "C", DIKS_CAPITAL_C }, | ||
51 | {"D", "D", DIKS_CAPITAL_D }, | ||
52 | {"E", "E", DIKS_CAPITAL_E }, | ||
53 | {"F", "F", DIKS_CAPITAL_F }, | ||
54 | {"G", "G", DIKS_CAPITAL_G }, | ||
55 | {"H", "H", DIKS_CAPITAL_H }, | ||
56 | {"I", "I", DIKS_CAPITAL_I }, | ||
57 | {"J", "J", DIKS_CAPITAL_J }, | ||
58 | {"K", "K", DIKS_CAPITAL_K }, | ||
59 | {"L", "L", DIKS_CAPITAL_L }, | ||
60 | {"M", "M", DIKS_CAPITAL_M }, | ||
61 | {"N", "N", DIKS_CAPITAL_N }, | ||
62 | {"O", "O", DIKS_CAPITAL_O }, | ||
63 | {"P", "P", DIKS_CAPITAL_P }, | ||
64 | {"Q", "Q", DIKS_CAPITAL_Q }, | ||
65 | {"R", "R", DIKS_CAPITAL_R }, | ||
66 | {"S", "S", DIKS_CAPITAL_S }, | ||
67 | {"T", "T", DIKS_CAPITAL_T }, | ||
68 | {"U", "U", DIKS_CAPITAL_U }, | ||
69 | {"V", "V", DIKS_CAPITAL_V }, | ||
70 | {"W", "W", DIKS_CAPITAL_W }, | ||
71 | {"X", "X", DIKS_CAPITAL_X }, | ||
72 | {"Y", "Y", DIKS_CAPITAL_Y }, | ||
73 | {"Z", "Z", DIKS_CAPITAL_Z }, | ||
74 | {"[", "bracketleft", DIKS_SQUARE_BRACKET_LEFT }, | ||
75 | {"\\", "backslash", DIKS_BACKSLASH }, | ||
76 | {"]", "bracketright", DIKS_SQUARE_BRACKET_RIGHT }, | ||
77 | {"^", "asciicircum", DIKS_CIRCUMFLEX_ACCENT }, | ||
78 | {"_", "underscore", DIKS_UNDERSCORE }, | ||
79 | {"`", "grave", DIKS_GRAVE_ACCENT}, | ||
80 | {"a", "a", DIKS_SMALL_A }, | ||
81 | {"b","b", DIKS_SMALL_B }, | ||
82 | {"c","c", DIKS_SMALL_C }, | ||
83 | {"d","d", DIKS_SMALL_D }, | ||
84 | {"e","e", DIKS_SMALL_E }, | ||
85 | {"f","f", DIKS_SMALL_F }, | ||
86 | {"g","g", DIKS_SMALL_G }, | ||
87 | {"h","h", DIKS_SMALL_H }, | ||
88 | {"i","i", DIKS_SMALL_I }, | ||
89 | {"j","j", DIKS_SMALL_J }, | ||
90 | {"k","k", DIKS_SMALL_K }, | ||
91 | {"l","l", DIKS_SMALL_L }, | ||
92 | {"m","m", DIKS_SMALL_M }, | ||
93 | {"n","n", DIKS_SMALL_N }, | ||
94 | {"o", "o", DIKS_SMALL_O }, | ||
95 | {"p", "p", DIKS_SMALL_P }, | ||
96 | {"q", "q", DIKS_SMALL_Q }, | ||
97 | {"r", "r", DIKS_SMALL_R }, | ||
98 | {"s", "s", DIKS_SMALL_S }, | ||
99 | {"t", "t", DIKS_SMALL_T }, | ||
100 | {"u", "u", DIKS_SMALL_U }, | ||
101 | {"v", "v", DIKS_SMALL_V }, | ||
102 | {"w", "w", DIKS_SMALL_W }, | ||
103 | {"x", "x", DIKS_SMALL_X }, | ||
104 | {"y", "y", DIKS_SMALL_Y }, | ||
105 | {"z", "z", DIKS_SMALL_Z }, | ||
106 | {"{", "braceleft",DIKS_CURLY_BRACKET_LEFT }, | ||
107 | {"|", "bar", DIKS_VERTICAL_BAR }, | ||
108 | {"}", "braceright", DIKS_CURLY_BRACKET_RIGHT }, | ||
109 | {"~", "asciitilde", DIKS_TILDE }, | ||
110 | {"\177", "Delete", DIKS_DELETE }, | ||
111 | {"", "Left", DIKS_CURSOR_LEFT }, | ||
112 | {"", "Right", DIKS_CURSOR_RIGHT}, | ||
113 | {"", "Up", DIKS_CURSOR_UP}, | ||
114 | {"", "Down", DIKS_CURSOR_DOWN}, | ||
115 | {"", "Insert", DIKS_INSERT}, | ||
116 | {"", "Home", DIKS_HOME}, | ||
117 | {"", "End", DIKS_END}, | ||
118 | {"", "Page_Up", DIKS_PAGE_UP}, | ||
119 | {"", "Page_Down", DIKS_PAGE_DOWN}, | ||
120 | {"", "Print", DIKS_PRINT}, | ||
121 | {"", "Pause", DIKS_PAUSE}, | ||
122 | /* ok */ | ||
123 | {"", "Select",DIKS_SELECT}, | ||
124 | /* goto */ | ||
125 | {"", "Clear", DIKS_CLEAR}, | ||
126 | /* power */ | ||
127 | /* power 2 */ | ||
128 | /* option */ | ||
129 | {"", "Menu",DIKS_MENU}, | ||
130 | {"", "Help",DIKS_HELP}, | ||
131 | /* info */ | ||
132 | /* time */ | ||
133 | /* vendor */ | ||
134 | /* archive */ | ||
135 | /* program */ | ||
136 | /* channel */ | ||
137 | /* favorites */ | ||
138 | /* hasta next */ | ||
139 | {"", "Next",DIKS_NEXT}, | ||
140 | {"", "Begin",DIKS_BEGIN}, | ||
141 | /* digits */ | ||
142 | /* teen */ | ||
143 | /* twen */ | ||
144 | {"", "Break", DIKS_BREAK}, | ||
145 | /* exit */ | ||
146 | /* setup */ | ||
147 | {"", "upleftcorner", DIKS_CURSOR_LEFT_UP }, | ||
148 | {"", "lowleftcorner", DIKS_CURSOR_LEFT_DOWN }, | ||
149 | {"", "uprightcorner", DIKS_CURSOR_UP_RIGHT }, | ||
150 | {"", "lowrightcorner",DIKS_CURSOR_DOWN_RIGHT }, | ||
151 | {"", "F1",DIKS_F1}, | ||
152 | {"", "F2",DIKS_F2}, | ||
153 | {"", "F3",DIKS_F3}, | ||
154 | {"", "F4",DIKS_F4}, | ||
155 | {"", "F5",DIKS_F5}, | ||
156 | {"", "F6",DIKS_F6}, | ||
157 | {"", "F7",DIKS_F7}, | ||
158 | {"", "F8",DIKS_F8}, | ||
159 | {"", "F9",DIKS_F9}, | ||
160 | {"", "F10",DIKS_F10}, | ||
161 | {"", "F11",DIKS_F11}, | ||
162 | {"", "F12",DIKS_F12}, | ||
163 | /* this are only mapped to one, not left right */ | ||
164 | {"", "Shift_L", DIKS_SHIFT}, | ||
165 | /*{"Shift_R",0xFFE2},*/ | ||
166 | {"", "Control_L", DIKS_CONTROL}, | ||
167 | /*{"Control_R",0xFFE4},*/ | ||
168 | {"", "Meta_L", DIKS_META}, | ||
169 | /* {"Meta_R",0xFFE8},*/ | ||
170 | {"", "Alt_L", DIKS_ALT}, | ||
171 | {"", "Alt_R", DIKS_ALTGR}, | ||
172 | {"", "Super_L", DIKS_SUPER}, | ||
173 | /*{"Super_R",0xFFEC},*/ | ||
174 | {"", "Hyper_L", DIKS_HYPER}, | ||
175 | /*{"Hyper_R",0xFFEE},*/ | ||
176 | |||
177 | {"", "Caps_Lock", DIKS_CAPS_LOCK}, | ||
178 | {"", "Num_Lock", DIKS_NUM_LOCK}, | ||
179 | {"", "Scroll_Lock", DIKS_SCROLL_LOCK}, | ||
180 | /* not included the dead keys */ | ||
181 | /* not included the custom keys */ | ||
182 | {"", "VoidSymbol", DIKS_NULL} | ||
183 | }; | ||
184 | static int _ecore_directfb_key_symbols_count = sizeof(_ecore_directfb_key_symbols) / sizeof(Ecore_DirectFB_Key_Symbols); | ||
diff --git a/libraries/ecore/src/lib/ecore_directfb/ecore_directfb_private.h b/libraries/ecore/src/lib/ecore_directfb/ecore_directfb_private.h deleted file mode 100644 index ed34587..0000000 --- a/libraries/ecore/src/lib/ecore_directfb/ecore_directfb_private.h +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | #ifndef _ECORE_DIRECTFB_PRIVATE_H | ||
2 | #define _ECORE_DIRECTFB_PRIVATE_H | ||
3 | /* eina_log related things */ | ||
4 | |||
5 | extern int _ecore_directfb_log_dom; | ||
6 | |||
7 | #ifdef ECORE_DIRECTFB_DEFAULT_LOG_COLOR | ||
8 | #undef ECORE_DIRECTFB_DEFAULT_LOG_COLOR | ||
9 | #endif /* ifdef ECORE_DIRECTFB_DEFAULT_LOG_COLOR */ | ||
10 | #define ECORE_DIRECTFB_DEFAULT_LOG_COLOR EINA_COLOR_BLUE | ||
11 | |||
12 | #ifdef ERR | ||
13 | # undef ERR | ||
14 | #endif /* ifdef ERR */ | ||
15 | #define ERR(...) EINA_LOG_DOM_ERR(_ecore_directfb_log_dom, __VA_ARGS__) | ||
16 | |||
17 | #ifdef DBG | ||
18 | # undef DBG | ||
19 | #endif /* ifdef DBG */ | ||
20 | #define DBG(...) EINA_LOG_DOM_DBG(_ecore_directfb_log_dom, __VA_ARGS__) | ||
21 | |||
22 | #ifdef INF | ||
23 | # undef INF | ||
24 | #endif /* ifdef INF */ | ||
25 | #define INF(...) EINA_LOG_DOM_INFO(_ecore_directfb_log_dom, __VA_ARGS__) | ||
26 | |||
27 | #ifdef WRN | ||
28 | # undef WRN | ||
29 | #endif /* ifdef WRN */ | ||
30 | #define WRN(...) EINA_LOG_DOM_WARN(_ecore_directfb_log_dom, __VA_ARGS__) | ||
31 | |||
32 | #ifdef CRIT | ||
33 | # undef CRIT | ||
34 | #endif /* ifdef CRIT */ | ||
35 | #define CRIT(...) EINA_LOG_DOM_CRIT(_ecore_directfb_log_dom, __VA_ARGS__) | ||
36 | |||
37 | /* macro for a safe call to DirectFB functions */ | ||
38 | #define DFBCHECK(x ...)\ | ||
39 | {\ | ||
40 | _err = x;\ | ||
41 | if (_err != DFB_OK) {\ | ||
42 | CRIT("%s <%d>:\n\t", __FILE__, __LINE__ );\ | ||
43 | DirectFBErrorFatal( # x, _err );\ | ||
44 | }\ | ||
45 | } | ||
46 | |||
47 | struct keymap | ||
48 | { | ||
49 | char *name; | ||
50 | char *string; | ||
51 | }; | ||
52 | #endif /* ifndef _ECORE_DIRECTFB_PRIVATE_H */ | ||