aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore_x/ecore_x_window_shape.c
diff options
context:
space:
mode:
authorDavid Walter Seikel <onefang@gmail.com>2006-01-06 20:22:09 +0000
committerDavid Walter Seikel <onefang@gmail.com>2006-01-06 20:22:09 +0000
commitace06b37f68446a250101770de3a43d788954d31 (patch)
treef562904d434998ef5c9e0fa237e526c4bebb9b65 /legacy/ecore/src/lib/ecore_x/ecore_x_window_shape.c
parentI noticed some duplicates. (diff)
downloadefl-ace06b37f68446a250101770de3a43d788954d31.tar.gz
At rasters request, I followed his example and told them all to stfu.
SVN revision: 19573
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/ecore_x_window_shape.c')
-rw-r--r--legacy/ecore/src/lib/ecore_x/ecore_x_window_shape.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_window_shape.c b/legacy/ecore/src/lib/ecore_x/ecore_x_window_shape.c
index 92088eabd6..52ed342d80 100644
--- a/legacy/ecore/src/lib/ecore_x/ecore_x_window_shape.c
+++ b/legacy/ecore/src/lib/ecore_x/ecore_x_window_shape.c
@@ -16,25 +16,25 @@
* window.
* @ingroup Ecore_X_Window_Shape
*/
-void
+EAPI void
ecore_x_window_shape_mask_set(Ecore_X_Window win, Ecore_X_Pixmap mask)
{
XShapeCombineMask(_ecore_x_disp, win, ShapeBounding, 0, 0, mask, ShapeSet);
}
-void
+EAPI void
ecore_x_window_shape_window_set(Ecore_X_Window win, Ecore_X_Window shape_win)
{
XShapeCombineShape(_ecore_x_disp, win, ShapeBounding, 0, 0, shape_win, ShapeBounding, ShapeSet);
}
-void
+EAPI void
ecore_x_window_shape_window_set_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y)
{
XShapeCombineShape(_ecore_x_disp, win, ShapeBounding, x, y, shape_win, ShapeBounding, ShapeSet);
}
-void
+EAPI void
ecore_x_window_shape_rectangle_set(Ecore_X_Window win, int x, int y, int w, int h)
{
XRectangle rect;
@@ -46,7 +46,7 @@ ecore_x_window_shape_rectangle_set(Ecore_X_Window win, int x, int y, int w, int
XShapeCombineRectangles(_ecore_x_disp, win, ShapeBounding, 0, 0, &rect, 1, ShapeSet, Unsorted);
}
-void
+EAPI void
ecore_x_window_shape_rectangles_set(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num)
{
XRectangle *rect = NULL;
@@ -72,19 +72,19 @@ ecore_x_window_shape_rectangles_set(Ecore_X_Window win, Ecore_X_Rectangle *rects
if (rect) free(rect);
}
-void
+EAPI void
ecore_x_window_shape_window_add(Ecore_X_Window win, Ecore_X_Window shape_win)
{
XShapeCombineShape(_ecore_x_disp, win, ShapeBounding, 0, 0, shape_win, ShapeBounding, ShapeUnion);
}
-void
+EAPI void
ecore_x_window_shape_window_add_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y)
{
XShapeCombineShape(_ecore_x_disp, win, ShapeBounding, x, y, shape_win, ShapeBounding, ShapeUnion);
}
-void
+EAPI void
ecore_x_window_shape_rectangle_add(Ecore_X_Window win, int x, int y, int w, int h)
{
XRectangle rect;
@@ -96,7 +96,7 @@ ecore_x_window_shape_rectangle_add(Ecore_X_Window win, int x, int y, int w, int
XShapeCombineRectangles(_ecore_x_disp, win, ShapeBounding, 0, 0, &rect, 1, ShapeUnion, Unsorted);
}
-void
+EAPI void
ecore_x_window_shape_rectangle_clip(Ecore_X_Window win, int x, int y, int w, int h)
{
XRectangle rect;
@@ -108,7 +108,7 @@ ecore_x_window_shape_rectangle_clip(Ecore_X_Window win, int x, int y, int w, int
XShapeCombineRectangles(_ecore_x_disp, win, ShapeBounding, 0, 0, &rect, 1, ShapeIntersect, Unsorted);
}
-void
+EAPI void
ecore_x_window_shape_rectangles_add(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num)
{
XRectangle *rect = NULL;
@@ -134,7 +134,7 @@ ecore_x_window_shape_rectangles_add(Ecore_X_Window win, Ecore_X_Rectangle *rects
if (rect) free(rect);
}
-Ecore_X_Rectangle *
+EAPI Ecore_X_Rectangle *
ecore_x_window_shape_rectangles_get(Ecore_X_Window win, int *num_ret)
{
XRectangle *rect;
@@ -161,7 +161,7 @@ ecore_x_window_shape_rectangles_get(Ecore_X_Window win, int *num_ret)
return rects;
}
-void
+EAPI void
ecore_x_window_shape_events_select(Ecore_X_Window win, int on)
{
if (on)