2 #include "NoScanBasePage.h"
8 : CToolTipDialog(TTS_NOPREFIX)
11 , pockels_scroll(&_scanvecparams.pockels, 0.01, 0.1, true, true)
12 , pockels_edit (&_scanvecparams.pockels, true, true)
13 , fastz_scroll(&_scanvecparams.fastz, 5, 50, true, true)
14 , fastz_edit(&_scanvecparams.fastz, true, true)
15 , pixeltime_edit(&scope_controller.GuiParameters.areas[area]->daq.pixeltime, true, true)
16 , pixeltime_scroll(&scope_controller.GuiParameters.areas[area]->daq.pixeltime, scope_controller.GuiParameters.areas[area]->daq.inputs->MinimumPixeltime(), scope_controller.GuiParameters.areas[area]->daq.inputs->MinimumPixeltime(), true, true)
17 , fpux_edit(&scope_controller.GuiParameters.areas[area]->fpuxystage.xpos, true, true)
18 , fpuy_edit(&scope_controller.GuiParameters.areas[area]->fpuxystage.ypos, true, true)
19 , fpuleft_button(&scope_controller.FPU[area].LeftButton)
20 , fpuright_button(&scope_controller.FPU[area].RightButton)
21 , fpuup_button(&scope_controller.FPU[area].UpButton)
22 , fpudown_button(&scope_controller.FPU[area].DownButton) {
24 std::wstringstream stream;
25 stream << L
"Area " <<
area+1;
40 BOOL CNoScanBasePage::OnInitDialog(CWindow wndFocus, LPARAM lInitParam) {
41 DBOUT(L
"CNoScanBasePage::OnInitDialog this " <<
this);
58 icon.LoadIconW(IDI_ARROWLEFT);
60 icon.LoadIconW(IDI_ARROWRIGHT);
62 icon.LoadIconW(IDI_ARROWUP);
64 icon.LoadIconW(IDI_ARROWDOWN);
69 heading.Attach(GetDlgItem(IDC_STATIC_HEADING));
70 HFONT font(AtlCreateBoldFont());
71 heading.SetFont(font);
CScopeEditCtrl< double > fpuy_edit
FPU y position edit control.
boost::signals2::connection ConnectGUI(signalchange_t::slot_type slot)
Connect signal to slot to GUI.
CScopeScrollbarCtrl pockels_scroll
pockels cell scrollbar control
CScopeEditCtrl< double > fpux_edit
FPU x position edit control.
bool AttachToDlgItem(HWND hWnd)
Attach the control to a dialog item.
virtual ~CNoScanBasePage(void)
Disconnect from ScopeController::ReadOnlyWhileScanning.
std::array< std::unique_ptr< Area >, SCOPE_NAREAS > areas
holds AreaParameters for all areas.
boost::signals2::connection rwstateconnection
Connection object to the ScopeController::ReadOnlyWhileScanning for setting controls RW state...
const uint32_t area
for which area are the image settings
bool initialized
true after dialog is initialized
CScopeButtonCtrl fpuleft_button
nudge FPU left button control
ScopeController scope_controller
our ScopeController here
std::wstring strtitle
string for settings page title
virtual void SetReadOnlyWhileScanning()
Connected to ScopeController::ReadOnlyWhileScanning.
This is the include file for standard system include files, or project specific include files that ar...
CNoScanBasePage(const uint32_t &_area, parameters::ScannerVectorFrameBasic &_scanvecparams)
We need a pointer to a basic ScannerVector (could be e.g.
#define DBOUT(s)
A debug output to the debug console.
CScopeScrollbarCtrl fastz_scroll
Fast Z scrollbar control.
CScopeEditCtrl< double > pixeltime_edit
pixel dwell time edit control
CScopeEditCtrl< double > fastz_edit
Fast Z edit control.
Parameters for a ScannerVectorFrameBasic.
CScopeButtonCtrl fpuup_button
nudge FPU up button control
CScopeEditCtrl< double > pockels_edit
pockels cell edit control
static parameters::Scope GuiParameters
The complete pseudo-global parameter set of the microscope.
CScopeButtonCtrl fpudown_button
nudge FPU down button control
CScopeButtonCtrl fpuright_button
nudge FPU rightbutton control
static ScopeNumber< bool > ReadOnlyWhileScanning
Set to true while scanning, GUI elements can connect to this to disable buttons and controls (that ar...
CScopeScrollbarCtrl pixeltime_scroll
pixel dwell time scrollbar control