summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-mem.h
blob: 93334fc039c7a177f182486cbbdd4dde6a95a3b7 (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
25
26
27
#ifdef USE_TILE_LOCAL
#ifndef TILEREG_MEM_H
#define TILEREG_MEM_H

#include "tilereg-spl.h"

class MemoriseRegion : public SpellRegion
{
public:
    MemoriseRegion(const TileRegionInit &init);

    virtual void update();
    virtual int handle_mouse(MouseEvent &event);
    virtual bool update_tip_text(string &tip);
    virtual bool update_tab_tip_text(string &tip, bool active);

    virtual const string name() const { return "Memorisation"; }

protected:
    virtual int get_max_slots();

    virtual void draw_tag();
    virtual void activate();
};

#endif
#endif