From 971d1fdf8599dccdc604ed9374373af16af8354f Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 27 Oct 2005 14:08:28 +0000 Subject: *** empty log message *** --- src/mainwindow.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 617ac6b..56a5312 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -53,7 +53,7 @@ using namespace std; /** * First some GUI specs */ -#define NUM_HISTORY 3 +//#define NUM_HISTORY 3 // moved to a genuine variable // Button sizes in cm (metric) #define BUTTON_WIDTH 8 #define BUTTON_HEIGHT 2 @@ -114,6 +114,8 @@ public slots: void mute_clicked(); private: + unsigned int num_history; + void clear(); Info *info; @@ -153,7 +155,7 @@ private: float rec_edge_counter; QTimer *timer; QLabel *img_recedge; - HistoryWidget *img_history[NUM_HISTORY]; + HistoryWidget **img_history; QPushButton *btn_logo; QPushButton *btn_clear; -- cgit v1.2.3