X11workbench Toolkit
1.0
|
internal wrapper struct for X11 'geometry' definition More...
#include <window_helper.h>
Data Fields | |
int | x |
int | y |
unsigned int | width |
unsigned int | height |
unsigned int | border |
internal wrapper struct for X11 'geometry' definition
The geometry structure is a wrapper for the X11 functions that specify the individual parameters for a geometry, such as XGetGeometry. Instead of passing 5 integers, you pass the pointer to a structure for the X11workbench API functions. This provides many advantages over the 'individual parameter' method as well as providing a structure for cacheing geometry information.
Use of 'int' and 'unsigned int' for the various parameter is consistent with the various 'Geom' functions, which typically use 'int *' for returned parameters, as shown:
Definition at line 527 of file window_helper.h.
unsigned int border |
border width of geometry
Definition at line 533 of file window_helper.h.
unsigned int height |
height of geometry
Definition at line 532 of file window_helper.h.
unsigned int width |
width of geometry
Definition at line 531 of file window_helper.h.
int x |
X coordinate for geometry upper left corner (excluding border)
Definition at line 529 of file window_helper.h.
int y |
Y coordinate for geometry upper left corner (excluding border)
Definition at line 530 of file window_helper.h.