summaryrefslogtreecommitdiff
path: root/src/yuv_draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuv_draw.h')
-rw-r--r--src/yuv_draw.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/yuv_draw.h b/src/yuv_draw.h
index 62f7d02..bf233ae 100644
--- a/src/yuv_draw.h
+++ b/src/yuv_draw.h
@@ -24,16 +24,14 @@
* along with MIaV; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#include "config.h"
-#ifdef USE_GUI
#ifndef __MIAV_YUV_DRAW_H__
#define __MIAV_YUV_DRAW_H__
#include <SDL/SDL.h>
-#include <qpixmap.h>
-#include <qimage.h>
-#include <qpainter.h>
+#include <QPixmap>
+#include <QImage>
+#include <QPainter>
#define ICON_HEIGHT 48
#define ICON_WIDTH 48
@@ -47,8 +45,8 @@ public:
void addPixel(int x, int y, int val);
- void setTopText(char* text);
- void setBottomText(char* text);
+ void setTopText(const char* text);
+ void setBottomText(const char* text);
void mute(bool muted);
void draw();
@@ -67,4 +65,3 @@ private:
};
#endif/*__MIAV_YUV_DRAW_H__*/
-#endif/*USE_GUI*/