diff options
Diffstat (limited to 'example/mainwindow.h')
-rw-r--r-- | example/mainwindow.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/example/mainwindow.h b/example/mainwindow.h new file mode 100644 index 0000000..f86c17d --- /dev/null +++ b/example/mainwindow.h @@ -0,0 +1,36 @@ +/* +** Arabtype Copyright 2012-2015(c) Wael El Oraiby. All Rights Reserved +** +** This file is in public domain +*/ +#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 |