mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 20:00:32 +02:00
Änderung der Vererbung der Tools und einfügen des ColorPickers (Farbmanager)
This commit is contained in:
28
src/Painting/IntelliHelper/IntelliColorPicker.h
Normal file
28
src/Painting/IntelliHelper/IntelliColorPicker.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef INTELLITOOLSETCOLORTOOL_H
|
||||
#define INTELLITOOLSETCOLORTOOL_H
|
||||
|
||||
#include"Layer/PaintingArea.h"
|
||||
#include"QColor"
|
||||
#include"QPoint"
|
||||
#include"QColorDialog"
|
||||
|
||||
class IntelliColorPicker{
|
||||
public:
|
||||
IntelliColorPicker(PaintingArea *Area);
|
||||
virtual ~IntelliColorPicker();
|
||||
|
||||
void getColorbar(int firstOrSecondColor);
|
||||
void switchColors();
|
||||
|
||||
QColor getFirstColor();
|
||||
QColor getSecondColor();
|
||||
|
||||
void setFirstColor(QColor Color);
|
||||
void setSecondColor(QColor Color);
|
||||
|
||||
private:
|
||||
QColor firstColor;
|
||||
QColor secondColor;
|
||||
};
|
||||
|
||||
#endif // INTELLITOOLSETCOLORTOOL_H
|
||||
Reference in New Issue
Block a user