From 4fc36a5d62322b46261dce595933d9022abbd9b6 Mon Sep 17 00:00:00 2001 From: jcid Date: Fri, 4 Jul 2008 15:45:13 +0200 Subject: - implemented UI's destructor (i.e. UI::~UI()) --- src/ui.hh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/ui.hh') diff --git a/src/ui.hh b/src/ui.hh index be48362b..883d289d 100644 --- a/src/ui.hh +++ b/src/ui.hh @@ -10,6 +10,7 @@ #include #include #include +#include #include "findbar.hh" @@ -48,7 +49,9 @@ class UI : public fltk::Window { NewProgressBox *PProg, *IProg; Image *ImgLeftIns, *ImgLeftSens, *ImgRightIns, *ImgRightSens, *ImgStopIns, *ImgStopSens, *ImgFullScreenOn, *ImgFullScreenOff, - *ImgImageLoadOn, *ImgImageLoadOff, *ImgMeterOK, *ImgMeterBug; + *ImgImageLoadOn, *ImgImageLoadOff, *ImgMeterOK, *ImgMeterBug, + *ImgHome, *ImgReload, *ImgSave, *ImgBook, *ImgClear, *ImgSearch; + MultiImage *ImgLeftMulti, *ImgRightMulti, *ImgStopMulti; Group *Panel, *StatusPanel; Widget *Main; Output *Status; @@ -67,11 +70,12 @@ class UI : public fltk::Window { Group *make_menu(int tiny); Group *make_panel(int ww); - + void delete_panel_images(); + void delete_status_panel_images(); public: UI(int w, int h, const char* label = 0, const UI *cur_ui = NULL); - ~UI() {} // TODO: implement destructor + ~UI(); // To manage what events to catch and which to let pass int handle(int event); -- cgit v1.2.3