diff options
author | Florian Diebold <flodiebold@gmail.com> | 2011-12-08 02:15:00 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2011-12-08 22:52:59 +0100 |
commit | f9695c3e32d202785fc6a5427c1753438e1c5881 (patch) | |
tree | beda013626e797d152d883dcf4ea2d9d42b46ec8 /crawl-ref/source/menu.h | |
parent | 68ddb51797594012c85c948f65712070b7113ae2 (diff) | |
download | crawl-ref-f9695c3e32d202785fc6a5427c1753438e1c5881.tar.gz crawl-ref-f9695c3e32d202785fc6a5427c1753438e1c5881.zip |
Webtiles: Load large menus lazily.
Some menus, namely ^P, ? and ?:, are too large to be sent to the
client in one piece. Instead, they are now loaded on demand, in chunks
of 50 elements.
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index bfd7b0e72f..4312bf8b8b 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -371,6 +371,7 @@ public: #ifdef USE_TILE_WEB void webtiles_write_menu() const; void webtiles_scroll(int first); + void webtiles_handle_item_request(int start, int end); #endif protected: MenuEntry *title; |