diff options
Diffstat (limited to 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h new file mode 100644 index 0000000..0b29001 --- /dev/null +++ b/mainwindow.h @@ -0,0 +1,31 @@ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include <QMainWindow> + +#include <ft2build.h> +#include FT_FREETYPE_H +#include FT_GLYPH_H + +namespace Ui { +class MainWindow; +} + +class MainWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit MainWindow(QWidget *parent = 0); + ~MainWindow(); + +protected: + virtual void paintEvent(QPaintEvent* event); + +private: + Ui::MainWindow* ui__; + uchar* data__; + static FT_Library ftlib__; +}; + +#endif // MAINWINDOW_H |