Audacity
3.2.0
libraries
lib-basic-ui
BasicUIPoint.h
Go to the documentation of this file.
1
/*!********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
@file BasicUIPoint.h
6
@brief A pair of screen coordinates for use in toolkit-neutral UI facades
7
8
Paul Licameli
9
10
**********************************************************************/
11
#ifndef __AUDACITY_BASIC_UI_POINT__
12
#define __AUDACITY_BASIC_UI_POINT__
13
14
namespace
BasicUI
{
15
17
18
struct
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
BasicUI
Definition:
ProjectWindows.h:20
BasicUI::Point
A pair of screen coordinates, x increasing rightward, y downward.
Definition:
BasicUIPoint.h:18
BasicUI::Point::Point
Point(int x, int y)
Definition:
BasicUIPoint.h:20
BasicUI::Point::y
int y
Definition:
BasicUIPoint.h:23
BasicUI::Point::x
int x
Definition:
BasicUIPoint.h:22
BasicUI::Point::Point
Point()=default
Generated by
1.9.3