Audacity 3.2.0
BasicUIPoint.h
Go to the documentation of this file.
1/*!********************************************************************
2
3Audacity: A Digital Audio Editor
4
5@file BasicUIPoint.h
6@brief A pair of screen coordinates for use in toolkit-neutral UI facades
7
8Paul Licameli
9
10**********************************************************************/
11#ifndef __AUDACITY_BASIC_UI_POINT__
12#define __AUDACITY_BASIC_UI_POINT__
13
14namespace BasicUI {
15
17
18struct Point{
19 Point() = default;
20 Point( int x, int y ) : x{x}, y{y} {}
21
22 int x = -1;
23 int y = -1;
24};
25
26}
27
28#endif
A pair of screen coordinates, x increasing rightward, y downward.
Definition: BasicUIPoint.h:18
Point(int x, int y)
Definition: BasicUIPoint.h:20
Point()=default