First patch of the LockableColorPicker tool.
Still Work In Progress, but can be used without too much hassle.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user