summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-stat.h
blob: 4fcfb5b0b7c3e3d0b90ea8f53aa6ac565095c46e (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
#ifdef USE_TILE_LOCAL
#ifndef TILEREG_STAT_H
#define TILEREG_STAT_H

#include "tilereg-text.h"
#include "tilebuf.h"

class StatRegion : public TextRegion
{
public:
    StatRegion(FontWrapper *font);

    virtual int handle_mouse(MouseEvent &event);
    virtual bool update_tip_text(string &tip);

    virtual void render();
    virtual void clear();

protected:
    ShapeBuffer m_shape_buf;
    void _clear_buffers();
};

#endif
#endif