diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/evas/src/modules/engines/software_16_wince/evas_engine.h | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/evas/src/modules/engines/software_16_wince/evas_engine.h')
-rw-r--r-- | libraries/evas/src/modules/engines/software_16_wince/evas_engine.h | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/software_16_wince/evas_engine.h b/libraries/evas/src/modules/engines/software_16_wince/evas_engine.h new file mode 100644 index 0000000..344e7b9 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/evas_engine.h | |||
@@ -0,0 +1,120 @@ | |||
1 | #ifndef __EVAS_ENGINE_H__ | ||
2 | #define __EVAS_ENGINE_H__ | ||
3 | |||
4 | #define WIN32_LEAN_AND_MEAN | ||
5 | #include <windows.h> | ||
6 | #undef WIN32_LEAN_AND_MEAN | ||
7 | #include "evas_common.h" | ||
8 | #include "evas_common_soft16.h" | ||
9 | |||
10 | extern int _evas_engine_soft16_wince_log_dom; | ||
11 | #ifdef ERR | ||
12 | # undef ERR | ||
13 | #endif | ||
14 | #define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
15 | |||
16 | #ifdef DBG | ||
17 | # undef DBG | ||
18 | #endif | ||
19 | #define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
20 | |||
21 | #ifdef INF | ||
22 | # undef INF | ||
23 | #endif | ||
24 | #define INF(...) EINA_LOG_DOM_INFO(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
25 | |||
26 | #ifdef WRN | ||
27 | # undef WRN | ||
28 | #endif | ||
29 | #define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
30 | |||
31 | #ifdef CRIT | ||
32 | # undef CRIT | ||
33 | #endif | ||
34 | #define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
35 | |||
36 | typedef struct _FB_Output_Buffer FB_Output_Buffer; | ||
37 | |||
38 | struct _FB_Output_Buffer | ||
39 | { | ||
40 | Soft16_Image *im; | ||
41 | void *priv; | ||
42 | }; | ||
43 | |||
44 | |||
45 | /* Raw FrameBuffer */ | ||
46 | |||
47 | void *evas_software_wince_fb_init (HWND window, | ||
48 | int width, | ||
49 | int height); | ||
50 | FB_Output_Buffer *evas_software_wince_fb_output_buffer_new (void *priv, | ||
51 | int width, | ||
52 | int height); | ||
53 | void evas_software_wince_fb_shutdown(void *priv); | ||
54 | void evas_software_wince_fb_output_buffer_free (FB_Output_Buffer *fbob); | ||
55 | void evas_software_wince_fb_output_buffer_paste (FB_Output_Buffer *fbob); | ||
56 | |||
57 | void evas_software_wince_fb_surface_resize(FB_Output_Buffer *fbob); | ||
58 | |||
59 | |||
60 | /* GAPI */ | ||
61 | |||
62 | void *evas_software_wince_gapi_init (HWND window, | ||
63 | int width, | ||
64 | int height); | ||
65 | FB_Output_Buffer *evas_software_wince_gapi_output_buffer_new (void *priv, | ||
66 | int width, | ||
67 | int height); | ||
68 | void evas_software_wince_gapi_shutdown(void *priv); | ||
69 | void evas_software_wince_gapi_output_buffer_free (FB_Output_Buffer *fbob); | ||
70 | void evas_software_wince_gapi_output_buffer_paste (FB_Output_Buffer *fbob); | ||
71 | |||
72 | void evas_software_wince_gapi_surface_resize(FB_Output_Buffer *fbob); | ||
73 | |||
74 | void *evas_software_wince_gapi_default_keys(void); | ||
75 | int evas_software_wince_gapi_suspend(void); | ||
76 | int evas_software_wince_gapi_resume(void); | ||
77 | |||
78 | |||
79 | /* DirectDraw */ | ||
80 | |||
81 | #ifdef __cplusplus | ||
82 | extern "C" { | ||
83 | #endif | ||
84 | |||
85 | |||
86 | void *evas_software_wince_ddraw_init (HWND window, | ||
87 | int width, | ||
88 | int height); | ||
89 | FB_Output_Buffer *evas_software_wince_ddraw_output_buffer_new (void *priv, | ||
90 | int width, | ||
91 | int height); | ||
92 | void evas_software_wince_ddraw_shutdown(void *priv); | ||
93 | void evas_software_wince_ddraw_output_buffer_free (FB_Output_Buffer *fbob); | ||
94 | void evas_software_wince_ddraw_output_buffer_paste (FB_Output_Buffer *fbob); | ||
95 | |||
96 | void evas_software_wince_ddraw_surface_resize(FB_Output_Buffer *fbob); | ||
97 | |||
98 | |||
99 | #ifdef __cplusplus | ||
100 | } | ||
101 | #endif | ||
102 | |||
103 | |||
104 | /* GDI */ | ||
105 | |||
106 | void *evas_software_wince_gdi_init (HWND window, | ||
107 | int width, | ||
108 | int height, | ||
109 | int fullscreen); | ||
110 | FB_Output_Buffer *evas_software_wince_gdi_output_buffer_new (void *priv, | ||
111 | int width, | ||
112 | int height); | ||
113 | void evas_software_wince_gdi_shutdown(void *priv); | ||
114 | void evas_software_wince_gdi_output_buffer_free (FB_Output_Buffer *fbob); | ||
115 | void evas_software_wince_gdi_output_buffer_paste (FB_Output_Buffer *fbob); | ||
116 | |||
117 | void evas_software_wince_gdi_surface_resize(FB_Output_Buffer *fbob); | ||
118 | |||
119 | |||
120 | #endif /* __EVAS_ENGINE_H__ */ | ||