3 #include "NoScanBasePage.h"
4 #include "ThirdParty/ToolTipDialog.h"
5 #include "controls/ScopeSliderCtrl.h"
6 #include "controls/ScopeEditCtrl.h"
7 #include "controls/ScopeButtonCtrl.h"
8 #include "controls/ScopeCheckBoxCtrl.h"
9 #include "controls/ScopeUpDownCtrl.h"
10 #include "controls/ScopeScrollbarCtrl.h"
11 #include "controls/ScopeFOVDiagram.h"
12 #include "scanmodes/ScannerVectorFrameBasic.h"
80 enum { IDD = IDD_FRAMESCAN_SAW_PROPPAGE };
89 MSG_WM_INITDIALOG(OnInitDialog);
90 COMMAND_HANDLER(IDC_SAVEPRESET_BUTTON, BN_CLICKED, OnPresetSave)
91 COMMAND_HANDLER(IDC_DELETEPRESET_BUTTON, BN_CLICKED, OnPresetDelete)
92 COMMAND_HANDLER(IDC_PRESETS_COMBO, CBN_SELCHANGE, OnPresetSelection)
94 REFLECT_NOTIFICATIONS()
99 virtual BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);
101 virtual LRESULT OnPresetSave(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
102 virtual LRESULT OnPresetDelete(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
103 virtual LRESULT OnPresetSelection(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
113 virtual
void FillPresetCombo();
CScopeEditCtrl< uint32_t > yres_edit
y resolution edit control
CScopeEditCtrl< double > frametime_edit
frametime edit control (edit disabled)
CScopeEditCtrl< double > framerate_edit
framerate edit control (edit disabled)
CScopeEditCtrl< double > yoffset_edit
offset of the y scanner center position (-1..1, relative to maximum FOV)
CScopeEditCtrl< double > xoffset_edit
offset of the x scanner center position (-1..1, relative to maximum FOV)
Base class for all frame scan property pages.
virtual ~CFrameScanBasePage()
Disconnect from ScopeController::ReadOnlyWhileScanning.
CScopeFOVDiagram diagram
diagram displaying FOV positions
CScopeEditCtrl< double > yaspectratio_edit
y aspect ratio edit control
CButton deletepreset_button
delete preset button, only here for easy disabling during scanning
Parameters for a ScannerVectorFrameBasic.
CFrameScanBasePage(const uint32_t &_area, parameters::ScannerVectorFrameBasic &_scanvecparams)
We need a pointer to a basic ScannerVector (could be e.g.
CScopeEditCtrl< double > xaspectratio_edit
x aspect ratio edit control
CScopeEditCtrl< uint32_t > averages_edit
number of averages edit control
void SetReadOnlyWhileScanning() override
Connected to ScopeController::ReadOnlyWhileScanning.
CButton savepreset_button
save preset button, only here for easy disabling during scanning
CScopeEditCtrl< uint32_t > xres_edit
x resolution edit control
CScopeScrollbarCtrl zoom_scroll
zoom scrollbar control
Owner-drawn control that displays the total FOV and the smaller FOV of the areas. ...
CScopeEditCtrl< double > scannerdelay_edit
scannerdelay in us
CComboBox presets_combo
Connection object to the ScopeController::ReadOnlyWhileScanning for setting controls RW state...
Base class for all scanning and non-scanning scan property pages, i.e.
CScopeEditCtrl< double > zoom_edit
zoom edit control
CScopeEditCtrl< double > linerate_edit
linerate edit control (edit disabled)