Files
oak-editor/app/panel/pixelsampler/pixelsamplerpanel.h
T
itsmattkc 6ea6dd810e pixelsampler: added pixel sampler panel
When visible, this panel will show the current reference and display transformed
color under the cursor of any viewer.
2020-04-01 16:57:10 +11:00

24 lines
460 B
C++

#ifndef PIXELSAMPLERPANEL_H
#define PIXELSAMPLERPANEL_H
#include "widget/panel/panel.h"
#include "widget/viewer/pixelsamplerwidget.h"
class PixelSamplerPanel : public PanelWidget
{
Q_OBJECT
public:
PixelSamplerPanel(QWidget* parent = nullptr);
public slots:
void SetValues(const Color& reference, const Color& display);
private:
virtual void Retranslate() override;
ManagedPixelSamplerWidget* sampler_widget_;
};
#endif // PIXELSAMPLERPANEL_H