Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • nheko-reborn/qt-jdenticon
1 result
Show changes
Commits on Source (2)
......@@ -3,11 +3,11 @@
######################################################################
TEMPLATE = lib
CONFIG += plugin
CONFIG += plugin
TARGET = qtjdenticon
INCLUDEPATH = includes
INCLUDEPATH += .
DESTDIR = plugins
VERSION = 0.1.0
# The following define makes your compiler warn you if you use any
# feature of Qt which has been marked as deprecated (the exact warnings
......@@ -41,8 +41,8 @@ HEADERS += src/identicon.h \
src/shapes/shapecategory.h \
src/shapes/shapedefinitions.h \
src/shapes/shapeposition.h \
src/jdenticonplugin.h \
includes/jdenticoninterface.h
src/jdenticonplugin.h \
includes/jdenticoninterface.h
SOURCES += src/identicon.cpp \
src/identiconstyle.cpp \
src/qtidenticon.cpp \
......@@ -57,8 +57,8 @@ SOURCES += src/identicon.cpp \
src/shapes/shapecategory.cpp \
src/shapes/shapedefinitions.cpp \
src/shapes/shapeposition.cpp \
src/jdenticonplugin.cpp
src/jdenticonplugin.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/jdenticon/plugins
target.path = $$[QT_INSTALL_PLUGINS]
INSTALLS += target
#include "identiconstyle.h"
#include <stdexcept>
IdenticonStyle::IdenticonStyle() {}
IdenticonStyle::IdenticonStyle(IdenticonStyle &other)
......
#include "colortheme.h"
#include <stdexcept>
namespace rendering {
ColorTheme::ColorTheme(qreal hue, IdenticonStyle &style)
......
#include "colorutils.h"
#include <stdexcept>
namespace rendering {
QList<qreal> ColorUtils::lightnessCompensation_ = {0.55, 0.5, 0.5, 0.46, 0.6, 0.55, 0.55};
......