summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_surface_x11.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-09 16:21:08 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-15 11:11:59 +0900
commit0c95b694742c712ec4c66e566f216f1b6c1b7079 (patch)
tree4826c248cf1f4490c1d5f78bfb9741838efd3510 /src/lib/evas/canvas/efl_canvas_surface_x11.eo
parent20b4d9dd6adb88f9dd0cd51fa849f0c360432279 (diff)
Evas.Image: Move native surfaces to Efl.Canvas.Surface
X11, TBM and Wayland support are implemented for now.
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_surface_x11.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_surface_x11.eo28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_surface_x11.eo b/src/lib/evas/canvas/efl_canvas_surface_x11.eo
new file mode 100644
index 0000000000..d94a246134
--- /dev/null
+++ b/src/lib/evas/canvas/efl_canvas_surface_x11.eo
@@ -0,0 +1,28 @@
1struct Efl.Canvas.Surface.X11_Pixmap
2{
3 [[The type used by @Efl.Canvas.Surface.native_buffer.]]
4 visual: void *; [[X11 Visual for this Pixmap.]]
5 pixmap: ulong; [[X11 Pixmap ID.]]
6}
7
8class Efl.Canvas.Surface_X11 (Efl.Canvas.Surface)
9{
10 legacy_prefix: null;
11 methods {
12 @property pixmap {
13 [[This is a helper for @Efl.Canvas.Surface.native_buffer.]]
14 get {}
15 set { return: bool; }
16 values {
17 visual: void *; [[X11 Visual for this Pixmap.]]
18 pixmap: ulong; [[X11 Pixmap ID.]]
19 }
20 }
21 }
22 implements {
23 Eo.Base.constructor;
24 Eo.Base.destructor;
25 Efl.Canvas.Surface.native_buffer.get;
26 Efl.Canvas.Surface.native_buffer.set;
27 }
28}