From 02ceeb2dd1662f2f0495723b2ac4f624827f1212 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 26 Nov 2002 17:04:23 +0000 Subject: removed deps for BaseDisplay and using FbTk App instead --- util/fbrun/main.cc | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/util/fbrun/main.cc b/util/fbrun/main.cc index 994ace8..60d2762 100644 --- a/util/fbrun/main.cc +++ b/util/fbrun/main.cc @@ -19,10 +19,10 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: main.cc,v 1.5 2002/11/15 14:00:45 fluxgen Exp $ +// $Id: main.cc,v 1.6 2002/11/26 17:04:23 fluxgen Exp $ #include "FbRun.hh" -#include "BaseDisplay.hh" +#include "App.hh" #include "StringUtil.hh" #include @@ -30,21 +30,8 @@ using namespace std; -class App:public BaseDisplay { -public: - App(const char *displaystr):BaseDisplay("FbRun", displaystr) { } - FbRun &fbrun() { return m_fbrun; } - void handleEvent(XEvent * const ev) { - m_fbrun.handleEvent(ev); - if (m_fbrun.end()) - shutdown(); - } -private: - FbRun m_fbrun; -}; - void showUsage(const char *progname) { - cerr<<"fbrun 1.1.1 : (c) 2002 Henrik Kinnunen"<