diff options
author | ElOraiby <wael.eloraiby@gmail.com> | 2015-05-31 20:53:45 -0400 |
---|---|---|
committer | ElOraiby <wael.eloraiby@gmail.com> | 2015-05-31 20:53:45 -0400 |
commit | 2e38deaac5fbde751bfd09ec2c098a15a6019892 (patch) | |
tree | a52cd56ea4c3f2ac18dd726cf8818087fa265779 /example/mainwindow.h | |
parent | 64b2267a76c6a509b5a5b052907c047d4a5ceadc (diff) |
move the example to the example folder
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 |