support argb targets for ecore_evas sw_x11

SVN revision: 21121
This commit is contained in:
Carsten Haitzler 2006-03-09 03:51:44 +00:00
parent ecc61fd692
commit 28f5c148f8
2 changed files with 10 additions and 0 deletions

View File

@ -1068,6 +1068,7 @@ EAPI void ecore_x_window_area_clear(Ecore_X_Window win,
int x, int y, int w, int h);
EAPI void ecore_x_window_area_expose(Ecore_X_Window win,
int x, int y, int w, int h);
EAPI void ecore_x_window_override_set(Ecore_X_Window win, int override);
EAPI void ecore_x_window_prop_card32_set(Ecore_X_Window win, Ecore_X_Atom atom,
unsigned int *val, unsigned int num);

View File

@ -886,6 +886,15 @@ ecore_x_window_area_expose(Ecore_X_Window win, int x, int y, int w, int h)
XClearArea(_ecore_x_disp, win, x, y, w, h, True);
}
EAPI void
ecore_x_window_override_set(Ecore_X_Window win, int override)
{
XSetWindowAttributes att;
att.override_redirect = override;
XChangeWindowAttributes(_ecore_x_disp, win, CWOverrideRedirect, &att);
}
#ifdef ECORE_XRENDER
static Ecore_X_Window
_ecore_x_window_argb_internal_new(Ecore_X_Window parent, int x, int y, int w, int h, int override, int saveunder)