summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eee594a)
raw | patch | inline | side by side (parent: eee594a)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 4 Nov 2006 22:00:14 +0000 (22:00 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 4 Nov 2006 22:00:14 +0000 (22:00 +0000) |
src/desktop.cpp | patch | blob | history |
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 7b0c1f6fcb8f2f6d6e3d29f6aee27a86aab29df8..bf4b0ba6524e1d928e1d085ae8e6fcacafcdf66d 100644 (file)
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
prefs_set_int_attribute("options.outlinemode", "value", 0);
SP_CANVAS_ARENA (drawing)->arena->rendermode = RENDERMODE_NORMAL;
canvas->rendermode = RENDERMODE_NORMAL; // canvas needs that for choosing the best buffer size
+ displayMode = RENDERMODE_NORMAL;
sp_canvas_item_affine_absolute (SP_CANVAS_ITEM (main), _d2w); // redraw
+ _widget->setTitle(SP_DOCUMENT_NAME(sp_desktop_document(this)));
}
void SPDesktop::setDisplayModeOutline()
prefs_set_int_attribute("options.outlinemode", "value", 1);
SP_CANVAS_ARENA (drawing)->arena->rendermode = RENDERMODE_OUTLINE;
canvas->rendermode = RENDERMODE_OUTLINE; // canvas needs that for choosing the best buffer size
+ displayMode = RENDERMODE_OUTLINE;
sp_canvas_item_affine_absolute (SP_CANVAS_ITEM (main), _d2w); // redraw
+ _widget->setTitle(SP_DOCUMENT_NAME(sp_desktop_document(this)));
}
void SPDesktop::displayModeToggle()