diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-08 22:55:30 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-08 22:55:30 +0000 |
commit | a37536cb8e61301d865bf8d909643bd4fca2f230 (patch) | |
tree | 6db9b2253284cf850ad4dc6f2ebe97f39bf52733 /crawl-ref/source/menu.h | |
parent | 7636bc910fb7d3329510c840129b73876c6b551e (diff) | |
download | crawl-ref-a37536cb8e61301d865bf8d909643bd4fca2f230.tar.gz crawl-ref-a37536cb8e61301d865bf8d909643bd4fca2f230.zip |
Confined help menu scrolling to within a file (David.)
I'm iffy as to whether this really helps, but I'm putting it in for now.
1,000th commit...
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1000 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index 9d58fa4158..84e0d44df4 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -360,6 +360,11 @@ public: virtual void add_text(const std::string& s); virtual ~formatted_scroller(); protected: + virtual bool page_down(); + virtual bool line_down(); + virtual bool page_up(); + virtual bool line_up(); + virtual void draw_index_item(int index, const MenuEntry* me) const; virtual bool process_key( int keyin ); bool jump_to( int linenum ); |