summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-msg.h
blob: bab485aec84e2646d1905c97adbf89763d59a3e1 (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_MSG_H
#define TILEREG_MSG_H

#include "tilereg-text.h"

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

    void set_overlay(bool is_overlay);

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

    string &alt_text() { return m_alt_text; }
protected:
    string m_alt_text;
    bool m_overlay;
};

#endif
#endif