diff options
author | Ixtli <cg@325i.org> | 2010-04-01 17:46:29 +0900 |
---|---|---|
committer | Enne Walker <ennewalker@users.sourceforge.net> | 2010-04-24 10:19:47 -0400 |
commit | 8afcc8373d29caa3ead3c4a2e29cbc8adf4cc88f (patch) | |
tree | f34391c0161f971dc532f06957292847f234e9bd /crawl-ref/source/libgui.cc | |
parent | aec2b3cc4236f6fc7e2701d3564e54c562537a1c (diff) | |
download | crawl-ref-8afcc8373d29caa3ead3c4a2e29cbc8adf4cc88f.tar.gz crawl-ref-8afcc8373d29caa3ead3c4a2e29cbc8adf4cc88f.zip |
Renamed UIWrapper ABC to WindowManager and instantiation to 'wm'.
Diffstat (limited to 'crawl-ref/source/libgui.cc')
-rw-r--r-- | crawl-ref/source/libgui.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc index 66d320d2aa..adbf009e4d 100644 --- a/crawl-ref/source/libgui.cc +++ b/crawl-ref/source/libgui.cc @@ -336,7 +336,7 @@ GotoRegion get_cursor_region() void delay(int ms) { tiles.redraw(); - wrapper->delay(ms); + wm->delay(ms); } void update_screen() @@ -347,7 +347,7 @@ void update_screen() int kbhit() { // Look for the presence of any keyboard events in the queue. - int count = wrapper->get_event_count(UI_KEYDOWN); + int count = wm->get_event_count(UI_KEYDOWN); ASSERT(count != -1); return (count == 1 ? 1 : 0); |