X11workbench Toolkit  1.0
_WBPoint_ Struct Reference

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

#include <window_helper.h>

Data Fields

int x
 the 'x' value of the point. can be negative.
 
int y
 the 'y' value of the point. can be negative.
 

Detailed Description

internal wrapper struct for 'point' definition

The point structure has been defined primarily for convenience, so that specific coding methods that work well in GUI environments that use 'points' can easily be ported into this environment.

typedef struct _WBPoint_
{
int x; // the 'x' value of the point. can be negative.
int y; // the 'y' value of the point. can be negative.

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

typedef struct
{
short x, y;
} XPoint;

Definition at line 410 of file window_helper.h.


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