aboutsummaryrefslogtreecommitdiffstats
path: root/example/mainwindow.h
blob: f86c17dadf4475ba73b9e6a6d4ea6b568cf5612c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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