summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/windowmanager.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-01-19 17:18:36 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-01-20 15:50:58 +0100
commit7be5cb3070d0fd20fba412742e6354a8c96be838 (patch)
tree54cb16cd007e271ada2cc28d3ec2e83257537348 /crawl-ref/source/windowmanager.h
parent895ea411bbe873a6654749a248027f7c5384e3b8 (diff)
downloadcrawl-ref-7be5cb3070d0fd20fba412742e6354a8c96be838.tar.gz
crawl-ref-7be5cb3070d0fd20fba412742e6354a8c96be838.zip
Rename WM_* to WME_*, because Windows.
It's a bad idea to reuse the names of one of core win32 concepts for something similar but distinct.
Diffstat (limited to 'crawl-ref/source/windowmanager.h')
-rw-r--r--crawl-ref/source/windowmanager.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/crawl-ref/source/windowmanager.h b/crawl-ref/source/windowmanager.h
index 99d5ed3138..89cb5f73f8 100644
--- a/crawl-ref/source/windowmanager.h
+++ b/crawl-ref/source/windowmanager.h
@@ -7,18 +7,18 @@
enum wm_event_type
{
- WM_NOEVENT = 0,
- WM_ACTIVEEVENT,
- WM_KEYDOWN,
- WM_KEYUP,
- WM_MOUSEMOTION,
- WM_MOUSEBUTTONUP,
- WM_MOUSEBUTTONDOWN,
- WM_QUIT,
- WM_CUSTOMEVENT,
- WM_RESIZE,
- WM_EXPOSE,
- WM_NUMEVENTS = 15
+ WME_NOEVENT = 0,
+ WME_ACTIVEEVENT,
+ WME_KEYDOWN,
+ WME_KEYUP,
+ WME_MOUSEMOTION,
+ WME_MOUSEBUTTONUP,
+ WME_MOUSEBUTTONDOWN,
+ WME_QUIT,
+ WME_CUSTOMEVENT,
+ WME_RESIZE,
+ WME_EXPOSE,
+ WME_NUMEVENTS = 15
};
struct wm_keysym