Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

ui.h

00001 /***************************************************************************
00002                           ui.h  -  description
00003           $Id: ui.h 3 2006-06-11 08:16:14Z neoneurone $
00004                              -------------------
00005     begin                : ven jun 6 2003
00006     copyright            : (C) 2003 by Duong-Khang NGUYEN
00007     email                : neoneurone @ users sourceforge net
00008  ***************************************************************************/
00009 
00010 /***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   any later version.                                                    *
00016  *                                                                         *
00017  ***************************************************************************/
00018 
00019 #ifndef _OPENCITY_UI_H_
00020     #define _OPENCITY_UI_H_
00021 
00022     #include "macros.h"
00023 
00024     #include "SDL.h"
00025 
00026    //========================================================================
00031 class UI {
00032 public:
00033     UI();
00034     virtual ~UI();
00035 
00036 
00037     virtual void
00038     uiKeyboard( const SDL_KeyboardEvent & rcsSDLKeyboardEvent ) = 0;
00039 
00040 
00041     virtual void
00042     uiMouseMotion( const SDL_MouseMotionEvent & rcsSDLMouseMotionEvent ) = 0;
00043 
00044 
00045     virtual void
00046     uiMouseButton( const SDL_MouseButtonEvent & rcsSDLMouseButtonEvent ) = 0;
00047 
00048 
00049     virtual void
00050     uiExpose( const SDL_ExposeEvent & rcsSDLExposeEvent ) = 0;
00051 
00052 
00053     virtual void
00054     uiResize( const SDL_ResizeEvent & rcsSDLResizeEvent )= 0;
00055 
00056 };
00057 #endif
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00066 
00067 
00068 
00069 
00070 
00071 
00072 
00073 
00074 
00075 
00076 
00077 
00078 
00079 
00080 
00081 
00082 
00083 
00084 
00085 
00086 
00087 
00088 
00089 
00090 
00091 
00092 
00093 
00094 

Generated on Sat Nov 11 10:21:10 2006 for OpenCity by  doxygen 1.4.2