diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 11:26:10 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 11:26:10 +0000 |
commit | c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18 (patch) | |
tree | b0c76db603208316217e2d48458c44a0a74b831c /src/gui/window.cpp | |
parent | 495e9b9249a6f199a7b1ad0c3c0f350819f23f30 (diff) | |
download | mana-c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18.tar.gz mana-c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18.tar.bz2 mana-c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18.tar.xz mana-c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18.zip |
Display of path to mouse now a debug feature you can toggle with F6, plus some
more log file usage.
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r-- | src/gui/window.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 0c15ab97..0cc4c95c 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -37,9 +37,7 @@ Window::Window(const std::string& text, bool modal, Window *parent): modal(modal), titlebarHeight(20) { -#ifdef __DEBUG - std::cout << "Window::Window(\"" << caption << "\")\n"; -#endif + log("Window::Window(\"%s\")", caption.c_str()); titlebarColor.r = 203; titlebarColor.g = 203; @@ -73,9 +71,7 @@ Window::Window(const std::string& text, bool modal, Window *parent): Window::~Window() { -#ifdef __DEBUG - std::cout << "Window::~Window(\"" << caption << "\")\n"; -#endif + log("Window::~Window(\"%s\")", caption.c_str()); // Free dialog bitmaps //release_bitmap(dLeft); |