summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-popup.h
blob: 1043aa2c6823f42299bdf4e84a580b84df02cee3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifdef USE_TILE_LOCAL
#ifndef TILEREG_POPUP_H
#define TILEREG_POPUP_H

#include "tilereg-menu.h"

class PopupRegion : public MenuRegion
{
public:
    PopupRegion(ImageManager *im, FontWrapper *entry);

    virtual int handle_mouse(MouseEvent &event);
    virtual void render();
    virtual void run();
    virtual void place_entries();

    // get the value returned by the popup
    int get_retval();

protected:
    int m_retval;
};
#endif
#endif