Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

/include/GewiWindow.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002             This file is Part of the Gewi GUI Library for ZEngine.
00003              Gewi and ZEngine Copyright (C) 2002, 2003 James Turk
00004 
00005             Licensed under a BSD-style license. (see licensing.txt)
00006 
00007     The maintainer of this library is James Turk (james@conceptofzero.net) 
00008   this library is found at the home of ZEngine http://zengine.sourceforge.net
00009 *******************************************************************************/
00010 
00020 #ifndef __gewiwindow_h__
00021 #define __gewiwindow_h__
00022 
00023 #include "GewiEngine.h"
00024 #include "GewiContainer.h"
00025 
00026 namespace Gewi
00027 {
00028 
00034 class GWindow : public GContainer
00035 {
00036     protected:
00038         bool rDrag;
00040         float rDragX;
00042         float rDragY;
00044         ResourceID rBackground;
00045 
00046     public:
00053         GWindow(GContainer *parent=NULL);
00054 
00065         virtual void Create(float x, float y, float width, float height, ResourceID backgroundImg);
00066 
00077         virtual void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
00078 
00084         virtual void Show();
00085 };
00086 
00087 }
00088 
00089 #endif //__gewiwindow_h__

Generated on Fri Aug 1 17:17:30 2003 for Gewi by doxygen1.3