diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-08-25 19:16:02 +0000 |
|---|---|---|
| committer | Krzysztof Kosinski <tweenk.pl@gmail.com> | 2011-08-25 19:16:02 +0000 |
| commit | 093f4174abc07b4ea523617fccdd8028f2670fea (patch) | |
| tree | 5aba6cd030bc6b0dbb59ec48e32a0b0364b516bd /src/desktop.h | |
| parent | German translation update (diff) | |
| parent | Reduce default rendering cache size to 64 MiB (diff) | |
| download | inkscape-093f4174abc07b4ea523617fccdd8028f2670fea.tar.gz inkscape-093f4174abc07b4ea523617fccdd8028f2670fea.zip | |
Merge rendering cache branch (GSoC 2011)
(bzr r10579)
Diffstat (limited to 'src/desktop.h')
| -rw-r--r-- | src/desktop.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/desktop.h b/src/desktop.h index 5fd786936..5dcd014ca 100644 --- a/src/desktop.h +++ b/src/desktop.h @@ -212,19 +212,19 @@ public: Inkscape::RenderMode _display_mode; Inkscape::RenderMode getMode() const { return _display_mode; } - void _setDisplayColorMode(Inkscape::ColorRenderMode mode); + void _setDisplayColorMode(Inkscape::ColorMode mode); void setDisplayColorModeNormal() { - _setDisplayColorMode(Inkscape::COLORRENDERMODE_NORMAL); + _setDisplayColorMode(Inkscape::COLORMODE_NORMAL); } void setDisplayColorModeGrayscale() { - _setDisplayColorMode(Inkscape::COLORRENDERMODE_GRAYSCALE); + _setDisplayColorMode(Inkscape::COLORMODE_GRAYSCALE); } // void setDisplayColorModePrintColorsPreview() { -// _setDisplayColorMode(Inkscape::COLORRENDERMODE_PRINT_COLORS_PREVIEW); +// _setDisplayColorMode(Inkscape::COLORMODE_PRINT_COLORS_PREVIEW); // } void displayColorModeToggle(); - Inkscape::ColorRenderMode _display_color_mode; - Inkscape::ColorRenderMode getColorMode() const { return _display_color_mode; } + Inkscape::ColorMode _display_color_mode; + Inkscape::ColorMode getColorMode() const { return _display_color_mode; } Inkscape::UI::Widget::Dock* getDock() { return _widget->getDock(); } |
