summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0b692ca)
raw | patch | inline | side by side (parent: 0b692ca)
author | JucaBlues <JucaBlues@users.sourceforge.net> | |
Sat, 1 Aug 2009 04:01:00 +0000 (04:01 +0000) | ||
committer | JucaBlues <JucaBlues@users.sourceforge.net> | |
Sat, 1 Aug 2009 04:01:00 +0000 (04:01 +0000) |
src/color-profile.cpp | patch | blob | history | |
src/dropper-context.cpp | patch | blob | history | |
src/sp-image.cpp | patch | blob | history | |
src/widgets/sp-color-icc-selector.cpp | patch | blob | history |
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 20e870242f7942e6077fcf1bc4c819be96048f64..de9dc6959cdff340ee30404f5a6e15eb6082b1d8 100644 (file)
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
-//#define DEBUG_LCMS
+#define DEBUG_LCMS
#include <glib/gstdio.h>
#include <sys/fcntl.h>
#ifdef DEBUG_LCMS
extern guint update_in_progress;
-#define DEBUG_MESSAGE(key, ...) \
+#define DEBUG_MESSAGE_SCISLAC(key, ...) \
{\
Inkscape::Preferences *prefs = Inkscape::Preferences::get();\
bool dump = prefs->getBool(Glib::ustring("/options/scislac/") + #key);\
gtk_widget_show_all( dialog );\
}\
}
+
+
+#define DEBUG_MESSAGE(key, ...)\
+{\
+ g_message( __VA_ARGS__ );\
+}
+
#endif // DEBUG_LCMS
static SPObjectClass *cprof_parent_class;
index 985e3ac5153cecf1194f03502a2d4db8bacbdbc5..5c66eca46fa520821c7164dfb6b3215ca8ebfb20 100644 (file)
--- a/src/dropper-context.cpp
+++ b/src/dropper-context.cpp
}
+/**
+ * Returns the current dropper context icc-color.
+ */
+SPColor* sp_dropper_context_get_icc_color(SPEventContext *ec)
+{
+ //TODO: implement-me!
+}
+
/**
* Returns the current dropper context color.
*/
diff --git a/src/sp-image.cpp b/src/sp-image.cpp
index 65aad1e2d097a30f0e20df76275becc1ce5386c0..f4ab3d9eff43ed4001b460dc8b5b13f2f0fe76c2 100644 (file)
--- a/src/sp-image.cpp
+++ b/src/sp-image.cpp
#if ENABLE_LCMS
#include "color-profile-fns.h"
#include "color-profile.h"
-//#define DEBUG_LCMS
+#define DEBUG_LCMS
#ifdef DEBUG_LCMS
+
+
+#define DEBUG_MESSAGE(key, ...)\
+{\
+ g_message( __VA_ARGS__ );\
+}
+
#include "preferences.h"
#include <gtk/gtkmessagedialog.h>
#endif // DEBUG_LCMS
#ifdef DEBUG_LCMS
extern guint update_in_progress;
-#define DEBUG_MESSAGE(key, ...) \
+#define DEBUG_MESSAGE_SCISLAC(key, ...) \
{\
Inkscape::Preferences *prefs = Inkscape::Preferences::get();\
bool dump = prefs->getBool("/options/scislac/" #key);\
index ae837117afcd1df2d36a204b2b1198e2b858e60a..2872dace0a6fd8099c19ec7c8d76264fb21b9ed6 100644 (file)
#include "inkscape.h"
#include "profile-manager.h"
-#define noDEBUG_LCMS
+#define DEBUG_LCMS
#if ENABLE_LCMS
#include "color-profile-fns.h"
#include "color-profile.h"
-#define DEBUG_LCMS
+
#ifdef DEBUG_LCMS
#include "preferences.h"
#include <gtk/gtkmessagedialog.h>