diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c index b81d06c..7b13615 100644 --- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c +++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c | |||
@@ -26,9 +26,9 @@ | |||
26 | */ | 26 | */ |
27 | EAPI Ecore_X_Pixmap | 27 | EAPI Ecore_X_Pixmap |
28 | ecore_x_pixmap_new(Ecore_X_Window win, | 28 | ecore_x_pixmap_new(Ecore_X_Window win, |
29 | int w, | 29 | int w, |
30 | int h, | 30 | int h, |
31 | int dep) | 31 | int dep) |
32 | { | 32 | { |
33 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 33 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
34 | if (win == 0) | 34 | if (win == 0) |
@@ -38,7 +38,7 @@ ecore_x_pixmap_new(Ecore_X_Window win, | |||
38 | dep = DefaultDepth(_ecore_x_disp, DefaultScreen(_ecore_x_disp)); | 38 | dep = DefaultDepth(_ecore_x_disp, DefaultScreen(_ecore_x_disp)); |
39 | 39 | ||
40 | return XCreatePixmap(_ecore_x_disp, win, w, h, dep); | 40 | return XCreatePixmap(_ecore_x_disp, win, w, h, dep); |
41 | } /* ecore_x_pixmap_new */ | 41 | } |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * Deletes the reference to the given pixmap. | 44 | * Deletes the reference to the given pixmap. |
@@ -54,7 +54,7 @@ ecore_x_pixmap_free(Ecore_X_Pixmap pmap) | |||
54 | { | 54 | { |
55 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 55 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
56 | XFreePixmap(_ecore_x_disp, pmap); | 56 | XFreePixmap(_ecore_x_disp, pmap); |
57 | } /* ecore_x_pixmap_free */ | 57 | } |
58 | 58 | ||
59 | /** | 59 | /** |
60 | * Pastes a rectangular area of the given pixmap onto the given drawable. | 60 | * Pastes a rectangular area of the given pixmap onto the given drawable. |
@@ -71,19 +71,19 @@ ecore_x_pixmap_free(Ecore_X_Pixmap pmap) | |||
71 | * @ingroup Ecore_X_Pixmap_Group | 71 | * @ingroup Ecore_X_Pixmap_Group |
72 | */ | 72 | */ |
73 | EAPI void | 73 | EAPI void |
74 | ecore_x_pixmap_paste(Ecore_X_Pixmap pmap, | 74 | ecore_x_pixmap_paste(Ecore_X_Pixmap pmap, |
75 | Ecore_X_Drawable dest, | 75 | Ecore_X_Drawable dest, |
76 | Ecore_X_GC gc, | 76 | Ecore_X_GC gc, |
77 | int sx, | 77 | int sx, |
78 | int sy, | 78 | int sy, |
79 | int w, | 79 | int w, |
80 | int h, | 80 | int h, |
81 | int dx, | 81 | int dx, |
82 | int dy) | 82 | int dy) |
83 | { | 83 | { |
84 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 84 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
85 | XCopyArea(_ecore_x_disp, pmap, dest, gc, sx, sy, w, h, dx, dy); | 85 | XCopyArea(_ecore_x_disp, pmap, dest, gc, sx, sy, w, h, dx, dy); |
86 | } /* ecore_x_pixmap_paste */ | 86 | } |
87 | 87 | ||
88 | /** | 88 | /** |
89 | * Retrieves the size of the given pixmap. | 89 | * Retrieves the size of the given pixmap. |
@@ -96,15 +96,15 @@ ecore_x_pixmap_paste(Ecore_X_Pixmap pmap, | |||
96 | */ | 96 | */ |
97 | EAPI void | 97 | EAPI void |
98 | ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap, | 98 | ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap, |
99 | int *x, | 99 | int *x, |
100 | int *y, | 100 | int *y, |
101 | int *w, | 101 | int *w, |
102 | int *h) | 102 | int *h) |
103 | { | 103 | { |
104 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 104 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
105 | if (pmap) | 105 | if (pmap) |
106 | ecore_x_drawable_geometry_get(pmap, x, y, w, h); | 106 | ecore_x_drawable_geometry_get(pmap, x, y, w, h); |
107 | } /* ecore_x_pixmap_geometry_get */ | 107 | } |
108 | 108 | ||
109 | /** | 109 | /** |
110 | * Retrieves the depth of the given pixmap. | 110 | * Retrieves the depth of the given pixmap. |
@@ -117,5 +117,5 @@ ecore_x_pixmap_depth_get(Ecore_X_Pixmap pmap) | |||
117 | { | 117 | { |
118 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 118 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
119 | return ecore_x_drawable_depth_get(pmap); | 119 | return ecore_x_drawable_depth_get(pmap); |
120 | } /* ecore_x_pixmap_depth_get */ | 120 | } |
121 | 121 | ||