summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-05 04:29:26 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-05 04:29:26 +0000
commit7d1c30fb193015fef6f15b76c4360ac733581b58 (patch)
tree1b931fdef657b50903c53956c9e5769b397d8d51 /crawl-ref/source/tilereg.h
parent5c7064085c546eeeaecb43267806c0058345f865 (diff)
downloadcrawl-ref-7d1c30fb193015fef6f15b76c4360ac733581b58.tar.gz
crawl-ref-7d1c30fb193015fef6f15b76c4360ac733581b58.zip
Improved Tile screen layout. Small screens get the message window overlaid on the dungeon. Even smaller screens get the graphics shrunk (and thus slightly blurry.) Added full screen options and several predefined layouts for older and newer Eee PC resolutions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6774 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilereg.h')
-rw-r--r--crawl-ref/source/tilereg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg.h b/crawl-ref/source/tilereg.h
index 50c6317526..3f658ca377 100644
--- a/crawl-ref/source/tilereg.h
+++ b/crawl-ref/source/tilereg.h
@@ -161,8 +161,13 @@ class MessageRegion : public TextRegion
public:
MessageRegion(FTFont *font);
+ void set_overlay(bool is_overlay);
+
virtual int handle_mouse(MouseEvent &event);
+ virtual void render();
virtual bool update_tip_text(std::string &tip);
+protected:
+ bool m_overlay;
};
class CRTRegion : public TextRegion