]> Shamusworld >> Repos - ttedit/blob - src/charwindow.h
Fixed middle drag scrolling, restructured mouse loop a bit
[ttedit] / src / charwindow.h
1 //
2 // CHARWINDOW.H: Header file
3 //
4 // by James L. Hammons
5 // (C) 2008 Underground Software
6 //
7
8 #ifndef __CHARWINDOW_H__
9 #define __CHARWINDOW_H__
10
11 #include <wx/wx.h>                                                              // So that whoever uses this can without having
12                                                                                                 // to pull in a bunch of references manually
13 #include <wx/minifram.h>
14
15 class CharWindow: public wxMiniFrame
16 {
17         private:
18         protected:
19         public:
20                 wxBitmap * bmp;
21
22                 // Constructor and destructor
23 //              CharWindow(wxFrame * parent, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = 0);
24                 CharWindow(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);
25                 ~CharWindow(void);
26
27                 void OnPaint(wxPaintEvent &e);
28 //              void OnMouseEvent(wxMouseEvent &e);
29
30         DECLARE_EVENT_TABLE()
31 };
32
33 #endif  // __CHARWINDOW_H__