Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef RGB_PICKER_H
Toshihiro Shimizu 890ddd
#define RGB_PICKER_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tpixel.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/* (by Daniele)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
NOTE: This stuff should be moved to ToonzQt's StyleEditor class.
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
      It was previously in the RGBPickerTool's local namespace - but its scope
Toshihiro Shimizu 890ddd
      should be wider...
Toshihiro Shimizu 890ddd
*/
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
namespace RGBPicker {
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//*************************************************************************************
Toshihiro Shimizu 890ddd
//    RGB Picker open functions
Toshihiro Shimizu 890ddd
//*************************************************************************************
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void setCurrentColor(const TPixel32 &color);
Toshihiro Shimizu 890ddd
void setCurrentColorWithUndo(const TPixel32 &color);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
}  // namespace RGBPicker
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
#endif  // RGB_PICKER_H