diff options
Diffstat (limited to 'Dalos/Console.h')
-rw-r--r-- | Dalos/Console.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Dalos/Console.h b/Dalos/Console.h index 65e8357..f7af59b 100644 --- a/Dalos/Console.h +++ b/Dalos/Console.h @@ -1,6 +1,6 @@ /* * Dalos - * Copyright (C) 2004 Nicolas "Pixel" Noble + * Copyright (C) 2003-2005 Nicolas "Pixel" Noble * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Console.h,v 1.3 2004-12-26 02:45:55 pixel Exp $ */ +/* $Id: Console.h,v 1.4 2004-12-26 03:29:10 pixel Exp $ */ #ifndef __CONSOLE_H__ #define __CONSOLE_H__ @@ -30,14 +30,13 @@ #include <engine.h> #include <widgets.h> -class console_keyevent : public mogltk::engine::keyevent { - public: - virtual void down(SDL_keysym k); - virtual void up(SDL_keysym k); -}; - class console : public mogltk::widget { public: + class console_keyevent : public mogltk::engine::keyevent { + public: + virtual void down(SDL_keysym k); + virtual void up(SDL_keysym k); + }; console(mogltk::shape * sh, mogltk::widget * father, int y, int _nlines); virtual ~console(); void add_line(const String & s); |