X11workbench Toolkit  1.0
tagWBRect 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 tagWBRect
{
int left, top, right, bottom;

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

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

Definition at line 515 of file window_helper.h.

Field Documentation

◆ bottom

int bottom

Y coordinate for rectangle lower right corner

Definition at line 520 of file window_helper.h.

◆ left

int left

X coordinate for rectangle upper left corner

Definition at line 517 of file window_helper.h.

◆ right

int right

X coordinate for rectangle lower right corner

Definition at line 519 of file window_helper.h.

◆ top

int top

Y coordinate for rectangle upper left corner

Definition at line 518 of file window_helper.h.


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