#define __COLORBOX_H__
#include <QtGui>
-#include "rs_color.h"
+#include "color.h"
/**
* A combobox for choosing a color.
QWidget * parent = 0, const char * name = 0);
virtual ~ColorBox();
- RS_Color getColor();
- void setColor(const RS_Color & color);
- void setLayerColor(const RS_Color & color);
+ Color getColor();
+ void setColor(const Color & color);
+ void setLayerColor(const Color & color);
void init(bool showByLayer, bool showUnchanged);
bool isUnchanged();
void slotColorChanged(int index);
signals:
- void colorChanged(const RS_Color & color);
+ void colorChanged(const Color & color);
private:
- RS_Color currentColor;
+ Color currentColor;
bool showByLayer;
bool showUnchanged;
bool unchanged;