summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/windowmanager.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-10-12 23:35:37 +0200
committerRaphael Langella <raphael.langella@gmail.com>2010-10-12 23:35:37 +0200
commit83ad1df84039e24257ffa5943132cfd908f36cd4 (patch)
tree3e5131fab5856bb6a84da1f445d55f287d9d4f5b /crawl-ref/source/windowmanager.h
parentcec1b6e8d63ca618c3a2b93623a28d89cd321165 (diff)
downloadcrawl-ref-83ad1df84039e24257ffa5943132cfd908f36cd4.tar.gz
crawl-ref-83ad1df84039e24257ffa5943132cfd908f36cd4.zip
New option tile_align_at_top (windows only)
When set, the window will be aligned at the top of the screen instead of being centered (avoid taskbar overlap, see mantis 2043). In theory, it would be possible to give the player full control of the window position, but it's more complicated and I don't see any use for it. It can easily be added if anyone ever request it.
Diffstat (limited to 'crawl-ref/source/windowmanager.h')
-rw-r--r--crawl-ref/source/windowmanager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/windowmanager.h b/crawl-ref/source/windowmanager.h
index bb99005214..aadef88b59 100644
--- a/crawl-ref/source/windowmanager.h
+++ b/crawl-ref/source/windowmanager.h
@@ -131,6 +131,7 @@ public:
virtual void swap_buffers() = 0;
virtual int screen_width() const = 0;
virtual int screen_height() const = 0;
+ virtual int desktop_width() const = 0;
// Texture loading
virtual bool load_texture(GenericTexture *tex, const char *filename,