2 // CHARWINDOW.H: Header file
5 // (C) 2009 Underground Software
8 #ifndef __CHARWINDOW_H__
9 #define __CHARWINDOW_H__
12 #include "glyphpoints.h"
14 class CharWindow: public QWidget
19 CharWindow(QWidget * parent = NULL);
20 void MakePathFromPoints(GlyphPoints * gp);
23 QSize minimumSizeHint() const;
24 QSize sizeHint() const;
25 void paintEvent(QPaintEvent * event);
33 #include <wx/wx.h> // So that whoever uses this can without having
34 // to pull in a bunch of references manually
35 #include <wx/minifram.h>
37 class CharWindow: public wxMiniFrame
44 // Constructor and destructor
45 // CharWindow(wxFrame * parent, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = 0);
46 CharWindow(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);
49 void OnPaint(wxPaintEvent &e);
50 // void OnMouseEvent(wxMouseEvent &e);
56 #endif // __CHARWINDOW_H__