X11 Work Bench Toolkit  1.0
_WBRect_ Struct Reference

internal wrapper struct for 'rectangle' definition More...

#include <window_helper.h>

Data Fields

int left
 
int top
 
int right
 
int bottom
 

Detailed Description

internal wrapper struct for 'rectangle' definition

The rectangle structure has been defined primarily for convenience, so that specific coding methods that work well in GUI environments that use rectangles (instead of 'geometry') can easily be ported into this environment.

typedef struct _WBRect_
{
int left, top, right, bottom;

Note that this is different from an XRectangle, which is defined as

typedef struct
{
short x, y;
unsigned short width, height;
} XRectangle;

Definition at line 216 of file window_helper.h.

Field Documentation

int bottom

Y coordinate for rectangle lower right corner

Definition at line 221 of file window_helper.h.

int left

X coordinate for rectangle upper left corner

Definition at line 218 of file window_helper.h.

int right

X coordinate for rectangle lower right corner

Definition at line 220 of file window_helper.h.

int top

Y coordinate for rectangle upper left corner

Definition at line 219 of file window_helper.h.


The documentation for this struct was generated from the following file: