Form consisting of label and edit fields for editing a single coordinate. More...
#include <mgui/formcoord.h>

Public Types | |
| enum | FLAGS { FLAG_Default = 0x0000, FLAG_EditZCoord = 0x0001, FLAG_ShowCRS = 0x0002 } |
Public Member Functions | |
| FORM_EDIT_COORD () | |
| virtual | ~FORM_EDIT_COORD () |
| void | Clear (bool notify=true) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, FLAGS flags=FLAG_Default) |
| const SPATREF::COORDREFSYS & | GetCoordRefSys () const |
| CTRL_LABEL & | GetLabelX () |
| CTRL_LABEL & | GetLabelY () |
| CTRL_LABEL & | GetLabelZ () |
| const DPOINT3D & | GetValue () const |
| bool | HasValues () |
| void | SetCoordRefSys (const SPATREF::COORDREFSYS &CoordRefSys, bool notify=true) |
| void | SetDelegateOnChangeValue (DELEGATE_VOID_NOPARMS delegate) |
| void | SetValue (const DPOINT3D &Point, bool notify=true) |
| void | SetValue (const DPOINT2D &Point, bool notify=true) |
Form consisting of label and edit fields for editing a single coordinate.
| MGUI::FORM_EDIT_COORD::FORM_EDIT_COORD | ( | ) |
Constructor.
| virtual MGUI::FORM_EDIT_COORD::~FORM_EDIT_COORD | ( | ) | [virtual] |
Destructor.
| void MGUI::FORM_EDIT_COORD::Clear | ( | bool | notify = true |
) |
Clear range edit controls.
| void MGUI::FORM_EDIT_COORD::Create | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane, | |
| MGUI::LAYOUT_SIZEALIGN | sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize, |
|||
| FLAGS | flags = FLAG_Default | |||
| ) |
Create form with label from resource lookup.
| ParentPane | Parent pane |
| const SPATREF::COORDREFSYS& MGUI::FORM_EDIT_COORD::GetCoordRefSys | ( | ) | const [inline] |
Get the projection to use for extents selection.
| CTRL_LABEL& MGUI::FORM_EDIT_COORD::GetLabelX | ( | ) | [inline] |
Get X label control.
| CTRL_LABEL& MGUI::FORM_EDIT_COORD::GetLabelY | ( | ) | [inline] |
Get Y label control.
| CTRL_LABEL& MGUI::FORM_EDIT_COORD::GetLabelZ | ( | ) | [inline] |
Get Z label control.
| const DPOINT3D& MGUI::FORM_EDIT_COORD::GetValue | ( | ) | const [inline] |
Get the extents of the form.
| bool MGUI::FORM_EDIT_COORD::HasValues | ( | ) |
Determine if user has entered values for both x and y (and z if enabled).
| void MGUI::FORM_EDIT_COORD::SetCoordRefSys | ( | const SPATREF::COORDREFSYS & | CoordRefSys, | |
| bool | notify = true | |||
| ) |
Set the projection to use for coordinate selection.
If a projection and value coordinates exists, the coordinate will be converted to the new projection
| void MGUI::FORM_EDIT_COORD::SetDelegateOnChangeValue | ( | DELEGATE_VOID_NOPARMS | delegate | ) | [inline] |
Set delegate to call when value changed.
| void MGUI::FORM_EDIT_COORD::SetValue | ( | const DPOINT3D & | Point, | |
| bool | notify = true | |||
| ) |
Set the coordinate of the form Do this after the call to SetProjection() or the call to the method will alter the point.
| void MGUI::FORM_EDIT_COORD::SetValue | ( | const DPOINT2D & | Point, | |
| bool | notify = true | |||
| ) |
Set the coordinate of the form Do this after the call to SetProjection() or the call to the method will alter the point.
1.6.1