toonz/sources/toonz/mainwindow.cpp
//-----------------------------------------------------------------------------
/*-- RGB Picker tool + type switching shortcuts --*/
RGB Picker tool + type switching shortcuts
RGB Picker tool + type switching shortcuts
void MainWindow::toggleRGBPickerNextType() {
  if (TApp::instance()->getCurrentTool()->getTool()->getName() == T_RGBPicker)
    CommandManager::instance()->getAction("A_ToolOption_Type")->trigger();
  else
    CommandManager::instance()->getAction(T_RGBPicker)->trigger();
}
void MainWindow :: toggleRGBPickerNextType ( ) { if ( TApp :: instance ( ) -> getCurrentTool ( ) -> getTool ( ) -> getName ( ) == T_RGBPicker ) CommandManager :: instance ( ) -> getAction ( " " ) -> trigger ( ) ; else CommandManager :: instance ( ) -> getAction ( T_RGBPicker ) -> trigger ( ) ; }
RGB Picker tool + type switching shortcuts
RGB Picker tool + type switching shortcuts