FifeGUI 0.2.0
A C++ GUI library designed for games.
fcn::DragPoint Struct Reference

#include <dragdrop.hpp>

Public Member Functions

 DragPoint (int x_=0, int y_=0)

Public Attributes

int x
int y

Detailed Description

Simple 2D integer point used for drag offsets and positions.

Definition at line 29 of file dragdrop.hpp.

Constructor & Destructor Documentation

◆ DragPoint()

fcn::DragPoint::DragPoint ( int x_ = 0,
int y_ = 0 )
inlineexplicit

Construct a point with optional coordinates.

Definition at line 44 of file dragdrop.hpp.

References x, and y.

Member Data Documentation

◆ x

int fcn::DragPoint::x

X coordinate.

Definition at line 34 of file dragdrop.hpp.

Referenced by DragPoint().

◆ y

int fcn::DragPoint::y

Y coordinate.

Definition at line 39 of file dragdrop.hpp.

Referenced by DragPoint().


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