Exemplo n.º 1
0
void RGBPickerTool::onActivate() {
  if (m_firstTime) {
    m_pickType.setValue(::to_wstring(PickVectorType.getValue()));
    m_passivePick.setValue(PickPassive ? 1 : 0);
    m_firstTime = false;
  }
}
Exemplo n.º 2
0
 void onActivate() override {
   if (m_firstTime) {
     m_closeType.setValue(::to_wstring(AutocloseVectorType.getValue()));
     m_distance.setValue(AutocloseDistance);
     m_angle.setValue(AutocloseAngle);
     m_opacity.setValue(AutocloseOpacity);
     m_multi.setValue(AutocloseRange ? 1 : 0);
     m_firstTime = false;
   }
   //			getApplication()->editImage();
   resetMulti();
 }