Commit 04707daf authored by Boudewijn Rempt's avatar Boudewijn Rempt

Move KisColorInput to libs/ui/widgets

parent fbc74f15
......@@ -258,6 +258,8 @@ set(kritaui_LIB_SRCS
widgets/kis_screen_color_picker.cpp
widgets/kis_visual_color_selector.cpp
widgets/KoDualColorButton.cpp
widgets/kis_color_input.cpp
input/kis_input_manager.cpp
input/kis_input_manager_p.cpp
input/kis_extended_modifiers_mapper.cpp
......
......@@ -29,10 +29,11 @@ class KisIntParseSpinBox;
class KisDoubleParseSpinBox;
class KoColorSlider;
class QLineEdit;
#include "KoColorDisplayRendererInterface.h"
#include <KoColorDisplayRendererInterface.h>
#include "kritaui_export.h"
class KisColorInput : public QWidget
class KRITAUI_EXPORT KisColorInput : public QWidget
{
Q_OBJECT
public:
......@@ -49,7 +50,7 @@ protected:
KoColorDisplayRendererInterface *m_displayRenderer;
};
class KisIntegerColorInput : public KisColorInput
class KRITAUI_EXPORT KisIntegerColorInput : public KisColorInput
{
Q_OBJECT
public:
......@@ -64,7 +65,7 @@ private:
};
class KisFloatColorInput : public KisColorInput
class KRITAUI_EXPORT KisFloatColorInput : public KisColorInput
{
Q_OBJECT
public:
......@@ -81,7 +82,7 @@ private:
qreal m_maxValue;
};
class KisHexColorInput : public KisColorInput
class KRITAUI_EXPORT KisHexColorInput : public KisColorInput
{
Q_OBJECT
public:
......
set(KRITA_SPECIFICCOLORSELECTOR_SOURCES specificcolorselector.cc specificcolorselector_dock.cc kis_specific_color_selector_widget.cc kis_color_input.cc )
set(KRITA_SPECIFICCOLORSELECTOR_SOURCES
specificcolorselector.cc
specificcolorselector_dock.cc
kis_specific_color_selector_widget.cc
)
add_library(kritaspecificcolorselector MODULE ${KRITA_SPECIFICCOLORSELECTOR_SOURCES})
target_link_libraries(kritaspecificcolorselector kritaui ${OPENEXR_LIBRARIES})
install(TARGETS kritaspecificcolorselector DESTINATION ${KRITA_PLUGIN_INSTALL_DIR})
......@@ -31,12 +31,12 @@
#include <KoColorSpace.h>
#include <KoColorSpaceRegistry.h>
#include "kis_color_input.h"
#include <kis_color_input.h>
#include <KoColorProfile.h>
#include "kis_debug.h"
#include "kis_color_space_selector.h"
#include "kis_signal_compressor.h"
#include "kis_display_color_converter.h"
#include <kis_debug.h>
#include <kis_color_space_selector.h>
#include <kis_signal_compressor.h>
#include <kis_display_color_converter.h>
KisSpecificColorSelectorWidget::KisSpecificColorSelectorWidget(QWidget* parent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment