Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
BasicUI::Point Struct Reference

A pair of screen coordinates, x increasing rightward, y downward. More...

#include <BasicUIPoint.h>

Public Member Functions

 Point ()=default
 
 Point (int x, int y)
 

Public Attributes

int x = -1
 
int y = -1
 

Detailed Description

A pair of screen coordinates, x increasing rightward, y downward.

Origin is unspecified

Definition at line 18 of file BasicUIPoint.h.

Constructor & Destructor Documentation

◆ Point() [1/2]

BasicUI::Point::Point ( )
default

◆ Point() [2/2]

BasicUI::Point::Point ( int  x,
int  y 
)
inline

Definition at line 20 of file BasicUIPoint.h.

20: x{x}, y{y} {}

Member Data Documentation

◆ x

int BasicUI::Point::x = -1

Definition at line 22 of file BasicUIPoint.h.

Referenced by CommonTrackPanelCell::DoContextMenu(), and BasicMenu::Handle::Popup().

◆ y

int BasicUI::Point::y = -1

Definition at line 23 of file BasicUIPoint.h.

Referenced by BasicMenu::Handle::Popup().


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