24#ifndef __DIALOG_POSITION_RELATIVE__
25#define __DIALOG_POSITION_RELATIVE__
54 void OnClear( wxCommandEvent& event )
override;
60 void OnOkClick( wxCommandEvent& event )
override;
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Class DIALOG_POSITION_RELATIVE_BASE.
bool getTranslationInIU(VECTOR2I &val, bool polar)
Get the (Cartesian) translation described by the text entries.
void OnUseGridOriginClick(wxCommandEvent &event) override
~DIALOG_POSITION_RELATIVE()
void OnPolarChanged(wxCommandEvent &event) override
void OnOkClick(wxCommandEvent &event) override
void updateDialogControls(bool aPolar)
void OnClear(wxCommandEvent &event) override
static POSITION_RELATIVE_OPTIONS m_options
void OnSelectItemClick(wxCommandEvent &event) override
void UpdatePickedPoint(const std::optional< VECTOR2I > &aPoint) override
void OnSelectPointClick(wxCommandEvent &event) override
void UpdatePickedItem(const EDA_ITEM *aItem) override
VECTOR2I m_anchorItemPosition
void OnTextFocusLost(wxFocusEvent &event) override
Reset a text field to be 0 if it was exited while blank.
void OnUseUserOriginClick(wxCommandEvent &event) override
ANCHOR_TYPE
Persistent dialog options.
void ToPolarDeg(double x, double y, double &r, EDA_ANGLE &q)
Convert a given Cartesian point into a polar representation.
void updateAnchorInfo(const BOARD_ITEM *aItem)
A base class for most all the KiCad significant classes used in schematics and boards.
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
POSITION_RELATIVE_OPTIONS()