summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/windowmanager-sdl.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-10-18 22:22:50 +0200
committerRaphael Langella <raphael.langella@gmail.com>2010-10-18 22:22:50 +0200
commit0abe7ac4eaed3c056b1ef6dbf8af1e8ed13e87fb (patch)
tree90e7a0ef9330f78fd75aaf365c76b36b4f8d9ec9 /crawl-ref/source/windowmanager-sdl.h
parentcb4e4dcd0f90cdab2e8f67d9b18e306f9439053c (diff)
downloadcrawl-ref-0abe7ac4eaed3c056b1ef6dbf8af1e8ed13e87fb.tar.gz
crawl-ref-0abe7ac4eaed3c056b1ef6dbf8af1e8ed13e87fb.zip
remove tile_align_at_top option (much better taskbar overlap fix)
taskbar overlap is now automatically detected, and the window is placed just above it.
Diffstat (limited to 'crawl-ref/source/windowmanager-sdl.h')
-rw-r--r--crawl-ref/source/windowmanager-sdl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/windowmanager-sdl.h b/crawl-ref/source/windowmanager-sdl.h
index e9eb881471..2403cd265f 100644
--- a/crawl-ref/source/windowmanager-sdl.h
+++ b/crawl-ref/source/windowmanager-sdl.h
@@ -42,6 +42,7 @@ public:
virtual int screen_width() const;
virtual int screen_height() const;
virtual int desktop_width() const;
+ virtual int desktop_height() const;
// Texture loading
virtual bool load_texture(GenericTexture *tex, const char *filename,
@@ -57,6 +58,7 @@ protected:
SDL_Surface *m_context;
const SDL_VideoInfo* video_info;
int _desktop_width;
+ int _desktop_height;
};
#endif // USE_SDL