First patch of the LockableColorPicker tool.

Still Work In Progress, but can be used without too much hassle.
This commit is contained in:
Hombre
2016-09-30 01:03:57 +02:00
parent db6b43e3c0
commit f904bc8f84
43 changed files with 14509 additions and 97 deletions

View File

@@ -33,7 +33,7 @@
#include "edit.h"
class ImageAreaPanel;
class ImageArea : public Gtk::DrawingArea, public CropWindowListener, public EditDataProvider
class ImageArea : public Gtk::DrawingArea, public CropWindowListener, public EditDataProvider, public LockablePickerToolListener
{
friend class ZoomPanel;
@@ -122,6 +122,7 @@ public:
void cropWindowSelected (CropWindow* cw);
void cropWindowClosed (CropWindow* cw);
ToolMode getToolMode ();
bool showColorPickers ();
void setToolHand ();
void straightenReady (double rotDeg);
void spotWBSelected (int x, int y);
@@ -143,6 +144,9 @@ public:
void cropZoomChanged (CropWindow* cw);
void initialImageArrived (CropWindow* cw) ;
// LockablePickerToolListener interface
void switchPickerVisibility (bool isVisible);
CropWindow* getMainCropWindow ()
{
return mainCropWindow;