Changeset 12179
- Timestamp:
- 10/13/11 09:22:50 (13 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r12161 r12179 3599 3599 { 3600 3600 const PixelMapEntry &entry = fPixelMap.index(fPixelIdx->value()); 3601 3602 3601 Dim::SendCommand("FTM_CONTROL/DISABLE_ALL_PIXELS_EXCEPT", uint16_t(entry.hw())); 3603 3602 } … … 3607 3606 const int16_t isw = fThresholdIdx->value(); 3608 3607 const int16_t ihw = isw<0 ? -1 : fPatchMapHW[isw]; 3608 if (ihw<0) 3609 return; 3609 3610 3610 3611 Dim::SendCommand("FTM_CONTROL/DISABLE_ALL_PATCHES_EXCEPT", ihw); 3612 } 3613 3614 void on_fThresholdEnablePatch_clicked() 3615 { 3616 const int16_t isw = fThresholdIdx->value(); 3617 const int16_t ihw = isw<0 ? -1 : fPatchMapHW[isw]; 3618 if (ihw<0) 3619 return; 3620 3621 Dim::SendCommand("FTM_CONTROL/ENABLE_PATCH", ihw); 3622 } 3623 3624 void on_fThresholdDisablePatch_clicked() 3625 { 3626 const int16_t isw = fThresholdIdx->value(); 3627 const int16_t ihw = isw<0 ? -1 : fPatchMapHW[isw]; 3628 if (ihw<0) 3629 return; 3630 3631 Dim::SendCommand("FTM_CONTROL/DISABLE_PATCH", ihw); 3611 3632 } 3612 3633 -
trunk/FACT++/gui/MainWindow.h
r12063 r12179 208 208 virtual void on_fPixelDisableOthers_clicked() = 0; 209 209 virtual void on_fThresholdDisableOthers_clicked() = 0; 210 virtual void on_fThresholdEnablePatch_clicked() = 0; 211 virtual void on_fThresholdDisablePatch_clicked() = 0; 210 212 211 213 virtual void DisplayRates() = 0;
Note:
See TracChangeset
for help on using the changeset viewer.