|
3Depict
|
resolution chooser dialog More...
#include <resolutionDialog.h>


Public Member Functions | |
| ResolutionDialog (wxWindow *parent, int id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE) | |
| virtual void | OnTextWidth (wxCommandEvent &event) |
| virtual void | OnTextHeight (wxCommandEvent &event) |
| virtual void | OnBtnReset (wxCommandEvent &event) |
| virtual void | OnBtnOK (wxCommandEvent &event) |
| virtual void | OnBtnCancel (wxCommandEvent &event) |
| virtual void | OnMouseWheelWidth (wxMouseEvent &event) |
| virtual void | OnMouseWheelHeight (wxMouseEvent &event) |
| virtual void | OnKeypress (wxKeyEvent &evt) |
| unsigned int | getWidth () const |
| get the width as entered in the dialog More... | |
| unsigned int | getHeight () const |
| Get the height as entered in the dialog box. More... | |
| void | setRes (unsigned int w, unsigned int h, bool asReset=false) |
| Set the resolution and update text boxes. More... | |
Protected Member Functions | |
| DECLARE_EVENT_TABLE () | |
Protected Attributes | |
| wxStaticText * | labelWidth |
| wxTextCtrl * | textWidth |
| wxStaticText * | labelHeight |
| wxTextCtrl * | textHeight |
| wxStaticLine * | static_line_2 |
| wxButton * | btnReset |
| wxButton * | btnOK |
| wxButton * | button_2 |
resolution chooser dialog
| ResolutionDialog::ResolutionDialog | ( | wxWindow * | parent, |
| int | id, | ||
| const wxString & | title, | ||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = wxDEFAULT_DIALOG_STYLE |
||
| ) |
|
protected |
|
inline |
Get the height as entered in the dialog box.
References setRes().
Referenced by ExportAnimationDialog::OnBtnResolution(), MainWindowFrame::OnFileExportImage(), MainWindowFrame::OnFileExportPlot(), and MainWindowFrame::OnFileExportVideo().

|
inline |
get the width as entered in the dialog
Referenced by ExportAnimationDialog::OnBtnResolution(), MainWindowFrame::OnFileExportImage(), MainWindowFrame::OnFileExportPlot(), and MainWindowFrame::OnFileExportVideo().

|
virtual |
|
virtual |
|
virtual |
|
virtual |
References ASSERT, btnOK, btnReset, button_2, labelHeight, labelWidth, OnMouseWheelHeight(), OnMouseWheelWidth(), static_line_2, textHeight, textWidth, and TRANS.
Referenced by ResolutionDialog().

|
virtual |
References ASSERT, MOUSEWHEEL_RATE_MULTIPLIER, setRes(), stream_cast(), and textWidth.
Referenced by OnKeypress(), and ResolutionDialog().

|
virtual |
References ASSERT, MOUSEWHEEL_RATE_MULTIPLIER, setRes(), stream_cast(), and textHeight.
Referenced by OnKeypress(), and ResolutionDialog().

|
virtual |
References ASSERT, stlStr(), stream_cast(), textHeight, and textWidth.
Referenced by ResolutionDialog().

|
virtual |
References ASSERT, stlStr(), stream_cast(), textHeight, and textWidth.
Referenced by ResolutionDialog().

| void ResolutionDialog::setRes | ( | unsigned int | w, |
| unsigned int | h, | ||
| bool | asReset = false |
||
| ) |
Set the resolution and update text boxes.
References ASSERT, stream_cast(), textHeight, and textWidth.
Referenced by getHeight(), OnBtnReset(), ExportAnimationDialog::OnBtnResolution(), MainWindowFrame::OnFileExportImage(), MainWindowFrame::OnFileExportPlot(), MainWindowFrame::OnFileExportVideo(), OnMouseWheelHeight(), and OnMouseWheelWidth().

|
protected |
Referenced by OnKeypress(), and ResolutionDialog().
|
protected |
Referenced by OnKeypress(), and ResolutionDialog().
|
protected |
Referenced by OnKeypress(), and ResolutionDialog().
|
protected |
Referenced by OnKeypress(), and ResolutionDialog().
|
protected |
Referenced by OnKeypress(), and ResolutionDialog().
|
protected |
Referenced by OnKeypress(), and ResolutionDialog().
|
protected |
Referenced by OnKeypress(), OnMouseWheelWidth(), OnTextHeight(), OnTextWidth(), ResolutionDialog(), and setRes().
|
protected |
Referenced by OnKeypress(), OnMouseWheelHeight(), OnTextHeight(), OnTextWidth(), ResolutionDialog(), and setRes().
1.8.13