diff options
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 8f75aeb..617ac6b 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -77,6 +77,9 @@ Optagelsen standses ved tryk på den røde cirkel med gul streg over." /** * Images */ +#define PIXMAP_MUTE PIXMAPS"/mute.png" +#define PIXMAP_UNMUTE PIXMAPS"/unmute.png" + #define PIXMAP_RECORD PIXMAPS"/record.png" #define PIXMAP_STOP PIXMAPS"/stop.png" @@ -108,6 +111,7 @@ public slots: void redraw_edge(); void taskbar_update(); void about_clicked(); + void mute_clicked(); private: void clear(); @@ -131,6 +135,8 @@ private: QImage *img_record; QImage *img_stop; QImage *img_logo; + QImage *img_mute; + QImage *img_unmute; QImage *img_dummy; @@ -155,6 +161,7 @@ private: QPushButton *btn_rec; QPushButton *btn_shoot; QPushButton *btn_freeze; + QPushButton *btn_mute; QPushButton *btn_about; @@ -164,6 +171,7 @@ private: bool recording; bool frozen; + bool muted; // Configuration values float unit; |