Add layer constants to header file and update documentation accordingly

SVN revision: 8877
This commit is contained in:
xcomputerman 2004-02-07 12:05:55 +00:00 committed by xcomputerman
parent 665a4eea0a
commit 4230dd4018
2 changed files with 10 additions and 1 deletions

View File

@ -659,6 +659,10 @@ typedef enum _Ecore_X_Window_Type {
ECORE_X_WINDOW_TYPE_NORMAL
} Ecore_X_Window_Type;
/* Window layer constants */
#define ECORE_X_WINDOW_LAYER_BELOW 2
#define ECORE_X_WINDOW_LAYER_NORMAL 4
#define ECORE_X_WINDOW_LAYER_ABOVE 6
int ecore_x_init(const char *name);
int ecore_x_shutdown(void);

View File

@ -710,7 +710,12 @@ ecore_x_window_prop_borderless_set(Ecore_X_Window win, int borderless)
* Acceptable values range from 1 to 255 (0 reserved for
* desktop windows)
* @return 1 if the state could be set else 0
*
*
* Normally you will use this function with one of the predefined
* layer constants:
* ECORE_X_WINDOW_LAYER_BELOW - for windows to be stacked below
* ECORE_X_WINDOW_LAYER_ABOVE - for windows to be stacked on top
* ECORE_X_WINDOW_LAYER_NORMAL - for windows to be put in the default layer
* <hr><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
*/
int