summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-11 10:08:18 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-11 10:08:18 +0000
commit6abfdfb2cdb6e78d530512692b80200d46211aff (patch)
treed835230486b3539820405f82ba8b417675cb89a5 /crawl-ref/source/menu.h
parentcdeeda046914bb54948d0c89e92988ff630f3ad7 (diff)
downloadcrawl-ref-6abfdfb2cdb6e78d530512692b80200d46211aff.tar.gz
crawl-ref-6abfdfb2cdb6e78d530512692b80200d46211aff.zip
Added an MF_SHOW_PAGENUMBERS flag to Menu, which will show "(page X of Y)"
as part of the title. This can get a bit confusing when scrolling using up and down (as opposed to page-up/page-down.) Currently only used for select_items(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3047 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index f7a57f0834..014932cd77 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -165,6 +165,7 @@ enum MenuFlag
MF_ALLOW_FILTER = 0x0080, // Control-F will ask for regex and
// select the appropriate items.
MF_ALLOW_FORMATTING = 0x0100, // Parse index for formatted-string
+ MF_SHOW_PAGENUMBERS = 0x0200, // Show "(page X of Y)" when appropriate
MF_EASY_EXIT = 0x1000
};