2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef RGB_PICKER_H
|
|
|
|
#define RGB_PICKER_H
|
|
|
|
|
|
|
|
#include "tpixel.h"
|
|
|
|
|
|
|
|
/* (by Daniele)
|
|
|
|
|
|
|
|
NOTE: This stuff should be moved to ToonzQt's StyleEditor class.
|
|
|
|
|
|
|
|
It was previously in the RGBPickerTool's local namespace - but its scope
|
|
|
|
should be wider...
|
|
|
|
*/
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
namespace RGBPicker {
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
//*************************************************************************************
|
|
|
|
// RGB Picker open functions
|
|
|
|
//*************************************************************************************
|
|
|
|
|
|
|
|
void setCurrentColor(const TPixel32 &color);
|
|
|
|
void setCurrentColorWithUndo(const TPixel32 &color);
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
} // namespace RGBPicker
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
#endif // RGB_PICKER_H
|