| 1 |
#ifndef CAPTIONBAR_H |
| 2 |
#define CAPTIONBAR_H |
| 3 |
|
| 4 |
#include "gui.h" |
| 5 |
#include <wx/bitmap.h> |
| 6 |
|
| 7 |
class CaptionBar : public CaptionBarBase |
| 8 |
{ |
| 9 |
wxString m_caption; |
| 10 |
wxString m_style; |
| 11 |
wxBitmap m_icon; |
| 12 |
|
| 13 |
public: |
| 14 |
CaptionBar(wxWindow* parent, const wxString& caption, const wxString& style, const wxBitmap& icon); |
| 15 |
virtual ~CaptionBar(); |
| 16 |
|
| 17 |
protected: |
| 18 |
virtual void OnLeftDown(wxMouseEvent& event); |
| 19 |
virtual void OnEraseBG(wxEraseEvent& event); |
| 20 |
virtual void OnPaint(wxPaintEvent& event); |
| 21 |
}; |
| 22 |
#endif // CAPTIONBAR_H |