LAB support for Navigator window

This commit is contained in:
Jacek Poplawski
2010-10-21 15:39:24 +02:00
parent decf9f3f69
commit a4bd162b52
3 changed files with 70 additions and 1 deletions

View File

@@ -29,8 +29,10 @@ class Navigator : public Gtk::Frame, public PointerMotionListener {
Gtk::Label* position;
Gtk::Label *R, *G, *B;
Gtk::Label *H, *S, *V;
Gtk::Label *LAB_A, *LAB_B, *LAB_L;
void rgb2hsv (int r, int g, int b, int &h, int &s, int &v);
void rgb2lab (int r, int g, int b, int &LAB_l, int &LAB_a, int &LAB_b);
void setInvalid ();
public:
PreviewWindow* previewWindow;