Changeset 12374
- Timestamp:
- 11/04/11 19:06:39 (13 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/MainWindow.cc
r12293 r12374 363 363 } 364 364 365 void MainWindow::on_fFadRoiCmd_valueChanged(int val) 366 { 367 const int32_t vals[2] = { -1, val }; 368 Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals); 365 void MainWindow::on_fFadRoiCmd_valueChanged(int) 366 { 367 const int32_t vals1[2] = { -1, fFadRoiCmd->value() }; 368 Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals1); 369 370 const int32_t vals2[2] = { 8, fFadRoiCh9Cmd->value() }; 371 Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals2); 369 372 } 370 373 -
trunk/FACT++/gui/MainWindow.h
r12293 r12374 87 87 void on_fFadPrescalerCmd_valueChanged(int); 88 88 void on_fFadRunNumberCmd_valueChanged(int); 89 void on_fFadRoiCmd_valueChanged(int); 89 void on_fFadRoiCmd_valueChanged(int = 0); 90 void on_fFadRoiCh9Cmd_valueChanged(int) { on_fFadRoiCmd_valueChanged(); } 90 91 91 92 void FadDacCmd_valueChanged(uint16_t, uint16_t);
Note:
See TracChangeset
for help on using the changeset viewer.