diff --git a/doc/html/GewiButton_8cpp.html b/doc/html/GewiButton_8cpp.html deleted file mode 100755 index b074536..0000000 --- a/doc/html/GewiButton_8cpp.html +++ /dev/null @@ -1,27 +0,0 @@ - - -GewiButton.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiButton.cpp File Reference


Detailed Description

-Implementation of GButton, a simple button class.
-
Id
GewiButton.cpp,v 1.3 2003/06/07 05:42:32 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiButton.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiButton_8h-source.html b/doc/html/GewiButton_8h-source.html deleted file mode 100755 index cbefdf5..0000000 --- a/doc/html/GewiButton_8h-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -/include/GewiButton.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiButton.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 __gewibutton_h__
-00021 #define __gewibutton_h__
-00022 
-00023 #include "GewiEngine.h"
-00024 #include "GewiWidget.h"
-00025 
-00026 namespace Gewi
-00027 {
-00028 
-00034 enum GButtonType
-00035 {
-00036     GBT_PRESS,  
-00037     GBT_HOVER   
-00038 };
-00039 
-00045 class GButton : public GWidget
-00046 {
-00047     protected:
-00049         bool rPressed;
-00051         GButtonType rType;
-00053         ResourceID rNormalImage;
-00055         ResourceID rPressedImage;
-00056 
-00057     public:
-00064         GButton(GContainer *parent=NULL);
-00065 
-00078         virtual void Create(float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, GButtonType type=GBT_PRESS);
-00079 
-00090         virtual void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
-00091 
-00097         virtual void Show();
-00098 
-00105         bool IsPressed();
-00106 
-00113         void SetState(bool pressed);
-00114 };
-00115 
-00116 }
-00117 
-00118 #endif //__gewibutton_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiButton_8h.html b/doc/html/GewiButton_8h.html deleted file mode 100755 index 4788930..0000000 --- a/doc/html/GewiButton_8h.html +++ /dev/null @@ -1,30 +0,0 @@ - - -GewiButton.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiButton.h File Reference


Detailed Description

-Definition file for GButton, a simple button class.
-
Id
GewiButton.h,v 1.4 2003/06/07 05:41:18 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiEngine.h"
-#include "GewiWidget.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiContainer_8cpp.html b/doc/html/GewiContainer_8cpp.html deleted file mode 100755 index 1344f38..0000000 --- a/doc/html/GewiContainer_8cpp.html +++ /dev/null @@ -1,27 +0,0 @@ - - -GewiContainer.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiContainer.cpp File Reference


Detailed Description

-Implementation of GContainer, a barebones widget that can contain child widgets.
-
Id
GewiContainer.cpp,v 1.6 2003/06/12 09:32:32 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiContainer.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiContainer_8h-source.html b/doc/html/GewiContainer_8h-source.html deleted file mode 100755 index e14b856..0000000 --- a/doc/html/GewiContainer_8h-source.html +++ /dev/null @@ -1,62 +0,0 @@ - - -/include/GewiContainer.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiContainer.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 __gewicontainer_h__
-00021 #define __gewicontainer_h__
-00022 
-00023 #include "GewiIncludes.h"
-00024 #include "GewiWidgetList.h"
-00025 #include "GewiWidget.h"
-00026 
-00027 namespace Gewi
-00028 {
-00029 
-00035 class GContainer : public GWidget
-00036 {
-00043     friend GWidget; 
-00044 
-00045     protected:
-00047         WidgetList rChildList;
-00048         
-00055         void AddChild(GWidget *widget);
-00056 
-00063         void ReleaseChild(GWidget *widget);
-00064 
-00071         void InsertWidget(WidgetNode *node);
-00072 
-00073     public:
-00080         GContainer(GContainer *parent=NULL);
-00081 
-00082         ~GContainer();
-00083 
-00091         virtual void Move(float x, float y);
-00092 
-00103         virtual void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
-00104 
-00110         virtual void Show();
-00111 };
-00112 
-00113 }
-00114 
-00115 #endif //__gewicontainer_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiContainer_8h.html b/doc/html/GewiContainer_8h.html deleted file mode 100755 index b8ec122..0000000 --- a/doc/html/GewiContainer_8h.html +++ /dev/null @@ -1,31 +0,0 @@ - - -GewiContainer.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiContainer.h File Reference


Detailed Description

-Definition file for GContainer, a barebones widget that can contain child widgets.
-
Id
GewiContainer.h,v 1.6 2003/06/09 03:28:59 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiIncludes.h"
-#include "GewiWidgetList.h"
-#include "GewiWidget.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiDefines_8h-source.html b/doc/html/GewiDefines_8h-source.html deleted file mode 100755 index 233d77b..0000000 --- a/doc/html/GewiDefines_8h-source.html +++ /dev/null @@ -1,57 +0,0 @@ - - -/include/GewiDefines.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiDefines.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 __gewidefines_h__
-00021 #define __gewidefines_h__
-00022 
-00023 namespace Gewi
-00024 {
-00025 
-00027 typedef unsigned int ResourceID;
-00029 typedef unsigned int GewiJustify;
-00030 
-00036 enum GewiEvent
-00037 { 
-00038     GE_LDOWN,       
-00039     GE_LUP,         
-00040     GE_RDOWN,       
-00041     GE_RUP,         
-00042     GE_KDOWN,       
-00043     GE_KUP,         
-00044     GE_GOTFOCUS,    
-00045     GE_LOSTFOCUS    
-00046 };
-00047 
-00056 enum _GewiJustify
-00057 { 
-00058     GJ_CENTER = 0,      
-00059     GJ_LEFT =   1<<0,   
-00060     GJ_RIGHT =  1<<1,   
-00061     GJ_TOP =    1<<2,   
-00062     GJ_BOTTOM = 1<<3    
-00063 };
-00064 
-00065 };
-00066 
-00067 #endif //__gewidefines_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiDefines_8h.html b/doc/html/GewiDefines_8h.html deleted file mode 100755 index dfdbce5..0000000 --- a/doc/html/GewiDefines_8h.html +++ /dev/null @@ -1,27 +0,0 @@ - - -GewiDefines.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiDefines.h File Reference


Detailed Description

-Definition file, holds enumerations and typedefs which need to be accessed by many files within Gewi.
-$id$
-
Author:
James Turk
- -

- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiEngine_8cpp.html b/doc/html/GewiEngine_8cpp.html deleted file mode 100755 index f86f059..0000000 --- a/doc/html/GewiEngine_8cpp.html +++ /dev/null @@ -1,28 +0,0 @@ - - -GewiEngine.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiEngine.cpp File Reference


Detailed Description

-Implementation of GewiEngine, core engine for Gewi GUI control.
-
Id
GewiEngine.cpp,v 1.9 2003/06/16 04:47:54 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiWidget.h"
-#include "GewiEngine.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiEngine_8h-source.html b/doc/html/GewiEngine_8h-source.html deleted file mode 100755 index bcce11d..0000000 --- a/doc/html/GewiEngine_8h-source.html +++ /dev/null @@ -1,93 +0,0 @@ - - -/include/GewiEngine.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiEngine.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 __gewiengine_h__
-00021 #define __gewiengine_h__
-00022 
-00023 #include "GewiIncludes.h"
-00024 #include "GewiWidgetList.h"
-00025 
-00026 
-00032 namespace Gewi
-00033 {
-00034 
-00035 
-00042 class GewiEngine
-00043 {
-00044     public:
-00046         static VersionInfo Version;
-00048         static VersionInfo MinZEVersion;
-00049 
-00050     private:
-00052         static GewiEngine *sInstance;
-00054         std::vector<ZE::ZImage*> mImageVec;
-00056         std::vector<ZE::ZFont*> mFontVec;
-00058         WidgetList mWidgetList;
-00059 
-00060     //singleton setup//
-00061     private:
-00067         GewiEngine();
-00068 
-00069     public:
-00071         static const ResourceID InvalidID = UINT_MAX;    //UINT_MAX b/c many compilers don't like numeric_limits
-00072         
-00080         static GewiEngine* GetInstance();
-00081 
-00087         static void ReleaseInstance();
-00088 
-00089     //utilities//
-00090 
-00098         static int EventFilter(SDL_Event *event);
-00099 
-00107         static char TranslateKey(SDL_keysym key);
-00108 
-00114         void Display();
-00115 
-00116     //resource management//
-00117 
-00125         ResourceID AddResource(ZE::ZImage *image);
-00126 
-00134         ResourceID AddResource(ZE::ZFont *font);
-00135 
-00143         ZE::ZImage* Image(ResourceID id);
-00144 
-00152         ZE::ZFont* Font(ResourceID id);
-00153 
-00159         void FreeResources();
-00160 
-00161     //widget management//
-00162     private:
-00169         void InsertWidget(WidgetNode *node);
-00170 
-00171     public:
-00178         void Register(GWidget *widget);
-00179 
-00192         void SendMessage(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
-00193 
-00200         void DeleteWidget(GWidget *widget);
-00201 };
-00202 
-00203 }
-00204 
-00205 #endif //__gewiengine_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiEngine_8h.html b/doc/html/GewiEngine_8h.html deleted file mode 100755 index 2261dc1..0000000 --- a/doc/html/GewiEngine_8h.html +++ /dev/null @@ -1,30 +0,0 @@ - - -GewiEngine.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiEngine.h File Reference


Detailed Description

-Definition file for GewiEngine, core engine for Gewi GUI control.
-
Id
GewiEngine.h,v 1.7 2003/06/11 00:19:40 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiIncludes.h"
-#include "GewiWidgetList.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiIncludes_8h-source.html b/doc/html/GewiIncludes_8h-source.html deleted file mode 100755 index 2b8b17f..0000000 --- a/doc/html/GewiIncludes_8h-source.html +++ /dev/null @@ -1,35 +0,0 @@ - - -/include/GewiIncludes.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiIncludes.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 __gewiincludes_h__
-00021 #define __gewiincludes_h__
-00022 
-00023 #include <string>
-00024 #include <vector>
-00025 #include <cmath>
-00026 #include <climits>
-00027 #include "ZEngine.h"
-00028 #include "GewiDefines.h"
-00029 
-00030 #endif //__gewiincludes_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiIncludes_8h.html b/doc/html/GewiIncludes_8h.html deleted file mode 100755 index 4b14b6d..0000000 --- a/doc/html/GewiIncludes_8h.html +++ /dev/null @@ -1,32 +0,0 @@ - - -GewiIncludes.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiIncludes.h File Reference


Detailed Description

-Include file for Gewi, contains external includes for Gewi.
-
id
GewiIncludes.h,v 1.3 2003/05/19 23:56:05 cozman Exp
-
-
Author:
James Turk
- -

-#include <string>
-#include <vector>
-#include <cmath>
-#include <climits>
-#include "ZEngine.h"
-#include "GewiDefines.h"
- -

-Go to the source code of this file. - -
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiSlider_8cpp.html b/doc/html/GewiSlider_8cpp.html deleted file mode 100755 index d2ebdd3..0000000 --- a/doc/html/GewiSlider_8cpp.html +++ /dev/null @@ -1,27 +0,0 @@ - - -GewiSlider.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiSlider.cpp File Reference


Detailed Description

-Implementation of GSlider, GHorizSlider and GVertSlider, the slide-select classes for Gewi.
-
Id
GewiSlider.cpp,v 1.5 2003/06/12 09:32:33 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiSlider.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiSlider_8h-source.html b/doc/html/GewiSlider_8h-source.html deleted file mode 100755 index 0e0092b..0000000 --- a/doc/html/GewiSlider_8h-source.html +++ /dev/null @@ -1,74 +0,0 @@ - - -/include/GewiSlider.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiSlider.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 __gewislider_h__
-00021 #define __gewislider_h__
-00022 
-00023 #include "GewiEngine.h"
-00024 #include "GewiWidget.h"
-00025 
-00026 namespace Gewi
-00027 {
-00028 
-00034 class GSlider : public GWidget
-00035 {
-00036     protected:
-00038         bool rPressed;
-00040         ResourceID rBackground;
-00042         ResourceID rSlider;
-00044         float rMin;
-00046         float rMax;
-00048         float rPos;
-00050         int rIncrement;
-00051 
-00052     public:
-00059         GSlider(GContainer *parent=NULL);
-00060 
-00075         virtual void Create(float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, 
-00076             float min, float max, int increment);
-00077 
-00084         void SetPos(float pos);
-00085 
-00092         float GetPos();
-00093 };
-00094 
-00100 class GHorizSlider : public GSlider
-00101 {
-00102     public:
-00113         virtual void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
-00114 
-00120         virtual void Show();
-00121 };
-00122 
-00128 class GVertSlider : public GSlider
-00129 {
-00130     public:
-00141         virtual void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
-00142 
-00148         virtual void Show();
-00149 };
-00150 
-00151 }
-00152 
-00153 #endif //__gewislider_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiSlider_8h.html b/doc/html/GewiSlider_8h.html deleted file mode 100755 index 9b54dbc..0000000 --- a/doc/html/GewiSlider_8h.html +++ /dev/null @@ -1,30 +0,0 @@ - - -GewiSlider.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiSlider.h File Reference


Detailed Description

-Definition file for GSlider, GHorizSlider and GVertSlider, the slide-select classes for Gewi.
-
Id
GewiSlider.h,v 1.4 2003/06/07 05:41:18 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiEngine.h"
-#include "GewiWidget.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiStaticText_8cpp.html b/doc/html/GewiStaticText_8cpp.html deleted file mode 100755 index 1528f3b..0000000 --- a/doc/html/GewiStaticText_8cpp.html +++ /dev/null @@ -1,27 +0,0 @@ - - -GewiStaticText.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiStaticText.cpp File Reference


Detailed Description

-Implementation of GStaticText, file to hold static text, labels and such.
-
Id
GewiStaticText.cpp,v 1.6 2003/06/12 09:32:33 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiStaticText.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiStaticText_8h-source.html b/doc/html/GewiStaticText_8h-source.html deleted file mode 100755 index 07cad0e..0000000 --- a/doc/html/GewiStaticText_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -/include/GewiStaticText.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiStaticText.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 __gewistatictext_h__
-00021 #define __gewistatictext_h__
-00022 
-00023 #include "GewiEngine.h"
-00024 #include "GewiWidget.h"
-00025 
-00026 namespace Gewi
-00027 {
-00028 
-00034 class GStaticText : public GWidget
-00035 {
-00036     protected:
-00038         ResourceID rBackgroundImage;
-00040         ResourceID rFont;
-00042         std::string rText;
-00044         ZE::ZImage rTextBuf;
-00046         int rXOff;
-00048         int rYOff;
-00050         GewiJustify rJustify;
-00051     public:
-00058         GStaticText(GContainer *parent=NULL);
-00059 
-00073         virtual void Create(float x, float y, float width, float height, 
-00074             ResourceID font, std::string text=" ", GewiJustify just=GJ_CENTER, ResourceID backgroundImg=GewiEngine::InvalidID);
-00075 
-00086         virtual void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
-00087 
-00093         virtual void Show();
-00094 
-00101         void SetText(std::string text);
-00102 
-00109         std::string GetText();
-00110 };
-00111 
-00112 }
-00113 
-00114 #endif //__gewistatictext_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiStaticText_8h.html b/doc/html/GewiStaticText_8h.html deleted file mode 100755 index c41ffaa..0000000 --- a/doc/html/GewiStaticText_8h.html +++ /dev/null @@ -1,30 +0,0 @@ - - -GewiStaticText.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiStaticText.h File Reference


Detailed Description

-Definition file for GStaticText, file to hold static text, labels and such.
-
Id
GewiStaticText.h,v 1.5 2003/06/11 00:19:40 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiEngine.h"
-#include "GewiWidget.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiTextButton_8cpp.html b/doc/html/GewiTextButton_8cpp.html deleted file mode 100755 index 334ddd0..0000000 --- a/doc/html/GewiTextButton_8cpp.html +++ /dev/null @@ -1,27 +0,0 @@ - - -GewiTextButton.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiTextButton.cpp File Reference


Detailed Description

-Implementation of GTextButton, a GButton that has a text label.
-
Id
GewiTextButton.cpp,v 1.4 2003/06/11 00:19:29 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiTextButton.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiTextButton_8h-source.html b/doc/html/GewiTextButton_8h-source.html deleted file mode 100755 index 07b2965..0000000 --- a/doc/html/GewiTextButton_8h-source.html +++ /dev/null @@ -1,58 +0,0 @@ - - -/include/GewiTextButton.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiTextButton.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 __gewitextbutton_h__
-00021 #define __gewitextbutton_h__
-00022 
-00023 #include "GewiEngine.h"
-00024 #include "GewiButton.h"
-00025 
-00026 namespace Gewi
-00027 {
-00028 
-00034 class GTextButton : public GButton
-00035 {
-00036     protected:
-00038         std::string rText;
-00040         ZE::ZImage rTextBuf;
-00042         int rXOff;
-00044         int rYOff;
-00046         ResourceID rFont;
-00047 
-00048     public:
-00055         GTextButton(GContainer *parent=NULL);
-00056 
-00071         virtual void Create(float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, ResourceID font,
-00072             std::string text=" ", GButtonType type=GBT_PRESS);
-00073         
-00079         virtual void Show();
-00080 
-00087         void SetText(std::string text);
-00088 
-00095         std::string GetText();
-00096 };
-00097 
-00098 }
-00099 
-00100 #endif //__gewitextbutton_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiTextButton_8h.html b/doc/html/GewiTextButton_8h.html deleted file mode 100755 index bd4471a..0000000 --- a/doc/html/GewiTextButton_8h.html +++ /dev/null @@ -1,30 +0,0 @@ - - -GewiTextButton.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiTextButton.h File Reference


Detailed Description

-Definition file for GTextButton, a GButton that has a text label.
-
Id
GewiTextButton.h,v 1.5 2003/06/11 00:19:40 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiEngine.h"
-#include "GewiButton.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiTextField_8cpp.html b/doc/html/GewiTextField_8cpp.html deleted file mode 100755 index cfc9d7a..0000000 --- a/doc/html/GewiTextField_8cpp.html +++ /dev/null @@ -1,27 +0,0 @@ - - -GewiTextField.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiTextField.cpp File Reference


Detailed Description

-Implementation of GTextField, text input area widget.
-
Id
GewiTextField.cpp,v 1.6 2003/06/12 09:32:33 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiTextField.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiTextField_8h-source.html b/doc/html/GewiTextField_8h-source.html deleted file mode 100755 index a5762f6..0000000 --- a/doc/html/GewiTextField_8h-source.html +++ /dev/null @@ -1,60 +0,0 @@ - - -/include/GewiTextField.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiTextField.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 __gewitextfield_h__
-00021 #define __gewitextfield_h__
-00022 
-00023 #include "GewiEngine.h"
-00024 #include "GewiWidget.h"
-00025 
-00026 namespace Gewi
-00027 {
-00028 
-00034 class GTextField : public GWidget
-00035 {
-00036     protected:
-00038         std::string rText;
-00040         ZE::ZImage rBuffer;
-00042         ResourceID rFont;
-00044         ResourceID rBackground;
-00046         int rMaxChars;
-00048         int rLeftPadding;
-00049 
-00050     public:
-00057         GTextField(GContainer *parent=NULL);
-00058 
-00072         virtual void Create(float x, float y, float width, float height, ResourceID font, ResourceID backgroundImg, int maxChars=256, int leftPad=0);
-00073 
-00084         virtual void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
-00085 
-00091         virtual void Show();
-00092 
-00099         void SetText(std::string text);
-00100 
-00107         std::string GetText();
-00108 };
-00109 
-00110 }
-00111 
-00112 #endif //__gewiewitextfield_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiTextField_8h.html b/doc/html/GewiTextField_8h.html deleted file mode 100755 index 30a7c3c..0000000 --- a/doc/html/GewiTextField_8h.html +++ /dev/null @@ -1,30 +0,0 @@ - - -GewiTextField.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiTextField.h File Reference


Detailed Description

-Definition file for GTextField, text input area widget.
-
Id
GewiTextField.h,v 1.6 2003/06/11 00:19:40 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiEngine.h"
-#include "GewiWidget.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWidgetList_8cpp.html b/doc/html/GewiWidgetList_8cpp.html deleted file mode 100755 index f6fb8ed..0000000 --- a/doc/html/GewiWidgetList_8cpp.html +++ /dev/null @@ -1,28 +0,0 @@ - - -GewiWidgetList.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiWidgetList.cpp File Reference


Detailed Description

-Implementation of WidgetList, a list of widgets used by GewiEngine and GContainers.
-
Id
GewiWidgetList.cpp,v 1.5 2003/06/12 09:32:33 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiWidgetList.h"
-#include "GewiWidget.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWidgetList_8h-source.html b/doc/html/GewiWidgetList_8h-source.html deleted file mode 100755 index a2ee36f..0000000 --- a/doc/html/GewiWidgetList_8h-source.html +++ /dev/null @@ -1,71 +0,0 @@ - - -/include/GewiWidgetList.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiWidgetList.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 __gewiwidgetlist_h__
-00021 #define __gewiwidgetlist_h__
-00022 
-00023 #include "GewiIncludes.h"
-00024 
-00025 namespace Gewi
-00026 {
-00027 
-00028 class GWidget;
-00029 
-00035 class WidgetNode
-00036 {
-00037     public:
-00043         WidgetNode();
-00044 
-00046         GWidget *widget;
-00048         WidgetNode *prev;
-00050         WidgetNode *next;
-00051 };
-00052 
-00053 
-00060 class WidgetList
-00061 {
-00062     private:
-00064         WidgetNode *mWidgetList;
-00066         WidgetNode *mClick;
-00067 
-00074         void DeleteWidgetMem(WidgetNode *node);
-00075     public:
-00081         WidgetList();
-00082 
-00089         void AddWidget(WidgetNode *node);
-00090 
-00097         void DeleteWidget(GWidget *widget);
-00098 
-00104         void DeleteWidgets();
-00105         
-00116         void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch);
-00117 
-00123         void FitParent();
-00124 
-00130         void ShowWidgets();
-00131 };
-00132 
-00133 }
-00134 
-00135 #endif //__gewiwidgetlist_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWidgetList_8h.html b/doc/html/GewiWidgetList_8h.html deleted file mode 100755 index 4bb04f4..0000000 --- a/doc/html/GewiWidgetList_8h.html +++ /dev/null @@ -1,29 +0,0 @@ - - -GewiWidgetList.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiWidgetList.h File Reference


Detailed Description

-Definition file for WidgetList, a list of widgets used by GewiEngine and GContainers.
-
Id
GewiWidgetList.h,v 1.4 2003/06/07 05:41:18 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiIncludes.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWidget_8cpp.html b/doc/html/GewiWidget_8cpp.html deleted file mode 100755 index d7a735b..0000000 --- a/doc/html/GewiWidget_8cpp.html +++ /dev/null @@ -1,29 +0,0 @@ - - -GewiWidget.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiWidget.cpp File Reference


Detailed Description

-Implementation of GWidget, virtual widget base class.
-
Id
GewiWidget.cpp,v 1.7 2003/06/12 09:32:33 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiWidget.h"
-#include "GewiEngine.h"
-#include "GewiContainer.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWidget_8h-source.html b/doc/html/GewiWidget_8h-source.html deleted file mode 100755 index 7a16522..0000000 --- a/doc/html/GewiWidget_8h-source.html +++ /dev/null @@ -1,77 +0,0 @@ - - -/include/GewiWidget.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiWidget.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 __gewiwidget_h__
-00021 #define __gewiwidget_h__
-00022 
-00023 #include "GewiIncludes.h"
-00024 
-00025 namespace Gewi
-00026 {
-00027 
-00028 class GewiEngine;
-00029 class GContainer;
-00030 
-00036 class GWidget
-00037 {
-00038     protected:
-00040         GewiEngine *rGewi;
-00042         ZE::ZEngine *rZE;
-00044         ZE::ZRect rBoundRect;
-00046         GContainer *rParent;
-00048         float rRelX;
-00050         float rRelY;
-00052         bool rVisible;
-00053 
-00054     public:
-00061         GWidget(GContainer *parent=NULL);
-00062 
-00068         virtual ~GWidget();
-00069 
-00075         void ToggleVisible();
-00076 
-00083         void FitParent();
-00084 
-00094         virtual void Create(float x, float y, float width, float height);
-00095 
-00103         virtual void Move(float x, float y);
-00104 
-00115         virtual void Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)=0;
-00116 
-00122         virtual void Show()=0;
-00123 
-00130         float X();
-00131 
-00138         float Y();
-00139 
-00146         bool Visible();
-00147 
-00154         bool MouseInWidget();
-00155 
-00163         bool Contains(Sint16 x, Sint16 y);
-00164 };
-00165 
-00166 }
-00167 
-00168 #endif //__gewiwidget_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWidget_8h.html b/doc/html/GewiWidget_8h.html deleted file mode 100755 index 46c6092..0000000 --- a/doc/html/GewiWidget_8h.html +++ /dev/null @@ -1,29 +0,0 @@ - - -GewiWidget.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiWidget.h File Reference


Detailed Description

-Definition file for GWidget, virtual widget base class.
-
Id
GewiWidget.h,v 1.6 2003/06/11 00:19:40 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiIncludes.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWindow_8cpp.html b/doc/html/GewiWindow_8cpp.html deleted file mode 100755 index 83ef344..0000000 --- a/doc/html/GewiWindow_8cpp.html +++ /dev/null @@ -1,27 +0,0 @@ - - -GewiWindow.cpp File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/src/GewiWindow.cpp File Reference


Detailed Description

-Implementation of GWindow, a basic window class based on GContainer.
-
Id
GewiWindow.cpp,v 1.4 2003/06/07 05:42:33 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiWindow.h"
- - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWindow_8h-source.html b/doc/html/GewiWindow_8h-source.html deleted file mode 100755 index ddee03f..0000000 --- a/doc/html/GewiWindow_8h-source.html +++ /dev/null @@ -1,54 +0,0 @@ - - -/include/GewiWindow.h Source File - - - -
-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 Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/GewiWindow_8h.html b/doc/html/GewiWindow_8h.html deleted file mode 100755 index 96c230d..0000000 --- a/doc/html/GewiWindow_8h.html +++ /dev/null @@ -1,30 +0,0 @@ - - -GewiWindow.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/GewiWindow.h File Reference


Detailed Description

-Definition file for GWindow, a basic window class based on GContainer.
-
Id
GewiWindow.h,v 1.4 2003/06/07 05:41:18 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiEngine.h"
-#include "GewiContainer.h"
- -

-Go to the source code of this file. - - - -

Namespaces

namespace  Gewi
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/Gewi_8h-source.html b/doc/html/Gewi_8h-source.html deleted file mode 100755 index a5a4163..0000000 --- a/doc/html/Gewi_8h-source.html +++ /dev/null @@ -1,30 +0,0 @@ - - -/include/Gewi.h Source File - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/Gewi.h

Go to the documentation of this file.
00001 
-00050 #ifndef __gewi_h__
-00051 #define __gewi_h__
-00052 
-00053 #include "GewiIncludes.h"
-00054 #include "GewiDefines.h"
-00055 #include "GewiContainer.h"
-00056 #include "GewiButton.h"
-00057 #include "GewiEngine.h"
-00058 #include "GewiSlider.h"
-00059 #include "GewiStaticText.h"
-00060 #include "GewiTextButton.h"
-00061 #include "GewiTextField.h"
-00062 #include "GewiWindow.h"
-00063 
-00064 #endif //__zengine_h__
-

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/Gewi_8h.html b/doc/html/Gewi_8h.html deleted file mode 100755 index 185e242..0000000 --- a/doc/html/Gewi_8h.html +++ /dev/null @@ -1,36 +0,0 @@ - - -Gewi.h File Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

/include/Gewi.h File Reference


Detailed Description

-Header file for the Gewi GUI lib, an addon for the ZEngine Game Engine, both from Concept of Zero, this is the file that programs that wish to use should include.
-
Id
Gewi.h,v 1.2 2003/06/16 04:47:54 cozman Exp
-
-
Author:
James Turk
- -

-#include "GewiIncludes.h"
-#include "GewiDefines.h"
-#include "GewiContainer.h"
-#include "GewiButton.h"
-#include "GewiEngine.h"
-#include "GewiSlider.h"
-#include "GewiStaticText.h"
-#include "GewiTextButton.h"
-#include "GewiTextField.h"
-#include "GewiWindow.h"
- -

-Go to the source code of this file. - -
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/annotated.html b/doc/html/annotated.html deleted file mode 100755 index 3237529..0000000 --- a/doc/html/annotated.html +++ /dev/null @@ -1,29 +0,0 @@ - - -Annotated Index - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi Compound List

Here are the classes, structs, unions and interfaces with brief descriptions: - - - - - - - - - - - - - -
Gewi::GButtonGButton class for basic buttons
Gewi::GContainerGContainer class, definition of a container widget
Gewi::GewiEngineMain GewiEngine Singleton Class
Gewi::GHorizSliderGHorizSlider, horizontal slider widget class
Gewi::GSliderGSlider (virtual) slider widget class
Gewi::GStaticTextGStaticText for stationary labels
Gewi::GTextButtonGTextButton class for button with text label
Gewi::GTextFieldGTextField class for basic text input area
Gewi::GVertSliderGHorizSlider, horizontal slider widget class
Gewi::GWidgetGWidget base widget class
Gewi::GWindowGWindow, a simple window class
Gewi::WidgetListClass containing a linked list of widgets
Gewi::WidgetNodeWidgetNode class, node for linked list
-
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GButton-members.html b/doc/html/classGewi_1_1GButton-members.html deleted file mode 100755 index ff4ca85..0000000 --- a/doc/html/classGewi_1_1GButton-members.html +++ /dev/null @@ -1,43 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GButton Member List

This is the complete list of members for Gewi::GButton, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, GButtonType type=GBT_PRESS)Gewi::GButton [virtual]
Gewi::GWidget::Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GButton(GContainer *parent=NULL)Gewi::GButton
GWidget(GContainer *parent=NULL)Gewi::GWidget
IsPressed()Gewi::GButton
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GButton [virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GWidget [virtual]
rBoundRectGewi::GWidget [protected]
rGewiGewi::GWidget [protected]
rNormalImageGewi::GButton [protected]
rParentGewi::GWidget [protected]
rPressedGewi::GButton [protected]
rPressedImageGewi::GButton [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rTypeGewi::GButton [protected]
rVisibleGewi::GWidget [protected]
rZEGewi::GWidget [protected]
SetState(bool pressed)Gewi::GButton
Show()Gewi::GButton [virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GButton.html b/doc/html/classGewi_1_1GButton.html deleted file mode 100755 index d2c7039..0000000 --- a/doc/html/classGewi_1_1GButton.html +++ /dev/null @@ -1,331 +0,0 @@ - - -Gewi::GButton class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GButton Class Reference

#include <GewiButton.h> -

-Inherits Gewi::GWidget. -

-Inherited by Gewi::GTextButton. -

-List of all members.


Detailed Description

-GButton simple button widget, derived from GWidget. -

- - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 GButton (GContainer *parent=NULL)
 Simple constructor for GButton.

virtual void Create (float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, GButtonType type=GBT_PRESS)
 GButton's create function, must be called to set up actual button.

virtual void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Overload of Message, used to recieve messages.

virtual void Show ()
 Draws this button to the screen.

bool IsPressed ()
 Returns button state.

void SetState (bool pressed)
 Sets button state (pressed/unpressed).


Protected Attributes

-bool rPressed
 Boolean holding if button is currently pressed or not.

-GButtonType rType
 Enum for type of button.

-ResourceID rNormalImage
 Resource ID for the non-pressed image.

-ResourceID rPressedImage
 Resource ID for the pressed (or hover) image.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - - -
Gewi::GButton::GButton GContainer parent = NULL  ) 
-
- - - - - -
-   - - -

-Constructor for GButton, can take a parent.

Parameters:
- - -
parent Pointer to GContainer derived class to be the parent. Default value is NULL which means no parent.
-
-
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GButton::Create float  x,
float  y,
float  width,
float  height,
ResourceID  normalImg,
ResourceID  pressImg,
GButtonType  type = GBT_PRESS
[virtual]
-
- - - - - -
-   - - -

-Every widget has a create function which must be called to define the button's appearance and settings.

Parameters:
- - - - - - - - -
x X position of widget within it's container (entire screen if no parent)
y Y position of widget within it's container (entire screen if no parent)
width Width of widget.
height Height of widget.
normalImg Image for button when not pressed.
pressImg Image for button when pressed (or hovered if type is GBT_HOVER).
type GButtonType, either the default, GBT_PRESS (normal button), or GBT_HOVER (a button which responds to the hovering mouse).
-
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GButton::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
[virtual]
-
- - - - - -
-   - - -

-Recieves and processes a message, required overload for all widgets.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
- -

-Implements Gewi::GWidget.

-

- - - - -
- - - - - - - - - -
void Gewi::GButton::Show  )  [virtual]
-
- - - - - -
-   - - -

-Draws widget to the screen, required overload for all widgets. -

-Implements Gewi::GWidget. -

-Reimplemented in Gewi::GTextButton.

-

- - - - -
- - - - - - - - - -
bool Gewi::GButton::IsPressed  ) 
-
- - - - - -
-   - - -

-Returns true if buttons is pressed, false otherwise. (GBT_HOVER can only be pressed once, after that they stay down.)

Returns:
button pressed state
-
-

- - - - -
- - - - - - - - - - -
void Gewi::GButton::SetState bool  pressed  ) 
-
- - - - - -
-   - - -

-Sets button to pressed (true) or unpressed (false).

Parameters:
- - -
pressed true means pressed, false means unpressed.
-
-
-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GContainer-members.html b/doc/html/classGewi_1_1GContainer-members.html deleted file mode 100755 index 1c5d651..0000000 --- a/doc/html/classGewi_1_1GContainer-members.html +++ /dev/null @@ -1,42 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GContainer Member List

This is the complete list of members for Gewi::GContainer, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AddChild(GWidget *widget)Gewi::GContainer [protected]
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GContainer(GContainer *parent=NULL)Gewi::GContainer
GWidgetGewi::GContainer [private]
Gewi::GWidget::GWidget(GContainer *parent=NULL)Gewi::GWidget
InsertWidget(WidgetNode *node)Gewi::GContainer [protected]
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GContainer [virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GContainer [virtual]
rBoundRectGewi::GWidget [protected]
rChildListGewi::GContainer [protected]
ReleaseChild(GWidget *widget)Gewi::GContainer [protected]
rGewiGewi::GWidget [protected]
rParentGewi::GWidget [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rVisibleGewi::GWidget [protected]
rZEGewi::GWidget [protected]
Show()Gewi::GContainer [virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GContainer() (defined in Gewi::GContainer)Gewi::GContainer
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GContainer.html b/doc/html/classGewi_1_1GContainer.html deleted file mode 100755 index 1df94ed..0000000 --- a/doc/html/classGewi_1_1GContainer.html +++ /dev/null @@ -1,358 +0,0 @@ - - -Gewi::GContainer class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GContainer Class Reference

#include <GewiContainer.h> -

-Inherits Gewi::GWidget. -

-Inherited by Gewi::GWindow. -

-List of all members.


Detailed Description

-GContainer widget which is a standard GWidget that can serve as a parent, contain and manage other widgets. -

- - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 GContainer (GContainer *parent=NULL)
 Simple constructor for GContainer.

virtual void Move (float x, float y)
 Move container and children.

virtual void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Overload of Message, used to recieve messages.

virtual void Show ()
 Show children.


Protected Member Functions

void AddChild (GWidget *widget)
 Adds a child to the child list.

void ReleaseChild (GWidget *widget)
 Removes a child from the child list.

void InsertWidget (WidgetNode *node)
 Inserts a child to the child list.


Protected Attributes

-WidgetList rChildList
 List of child widgets assigned to this container.


Private Attributes

friend GWidget
-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - - -
Gewi::GContainer::GContainer GContainer *  parent = NULL  ) 
-
- - - - - -
-   - - -

-Constructor for GContainer, can take a parent (to be contained on a GContainer derived class, allowing nested containers).

Parameters:
- - -
parent Pointer to GContainer derived class to be the parent. Default value is NULL which means no parent.
-
-
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - -
void Gewi::GContainer::AddChild GWidget widget  )  [protected]
-
- - - - - -
-   - - -

-Registers the widget as a child of this container, private because GWidget is a friend.

Parameters:
- - -
widget Widget to register as a child of this container.
-
-
-

- - - - -
- - - - - - - - - - -
void Gewi::GContainer::ReleaseChild GWidget widget  )  [protected]
-
- - - - - -
-   - - -

-Releases the widget which is a child of this container, private because GWidget is a friend.

Parameters:
- - -
widget Widget to release from this container.
-
-
-

- - - - -
- - - - - - - - - - -
void Gewi::GContainer::InsertWidget WidgetNode node  )  [protected]
-
- - - - - -
-   - - -

-Calls needed function of WidgetList class to put widget into the linked list.

Parameters:
- - -
node WidgetNode to insert into rChildList.
-
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - -
void Gewi::GContainer::Move float  x,
float  y
[virtual]
-
- - - - - -
-   - - -

-Same as GWidget::Move but overloaded to move children.

Parameters:
- - - -
x New x position for container.
y New y position for container.
-
- -

-Reimplemented from Gewi::GWidget.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GContainer::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
[virtual]
-
- - - - - -
-   - - -

-Recieves and processes a message, required overload for all widgets, overloaded to also account for children.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
- -

-Implements Gewi::GWidget. -

-Reimplemented in Gewi::GWindow.

-

- - - - -
- - - - - - - - - -
void Gewi::GContainer::Show  )  [virtual]
-
- - - - - -
-   - - -

-Draws all children in appropriate back-to-front order. -

-Implements Gewi::GWidget. -

-Reimplemented in Gewi::GWindow.

-


Member Data Documentation

-

- - - - -
- - -
friend Gewi::GContainer::GWidget [private] -
-
- - - - - -
-   - - -

-The usage of friend here is used simply to allow GWidget proper access to what used to belong to it before the class split GWidget needs access to Add/ReleaseChild but to make them public would reduce encapsulation. (For those keeping score, this is to many people the only effective use of friend.)

-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GHorizSlider-members.html b/doc/html/classGewi_1_1GHorizSlider-members.html deleted file mode 100755 index a9597ef..0000000 --- a/doc/html/classGewi_1_1GHorizSlider-members.html +++ /dev/null @@ -1,46 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GHorizSlider Member List

This is the complete list of members for Gewi::GHorizSlider, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, float min, float max, int increment)Gewi::GSlider [virtual]
Gewi::GWidget::Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GetPos()Gewi::GSlider
GSlider(GContainer *parent=NULL)Gewi::GSlider
GWidget(GContainer *parent=NULL)Gewi::GWidget
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GHorizSlider [virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GWidget [virtual]
rBackgroundGewi::GSlider [protected]
rBoundRectGewi::GWidget [protected]
rGewiGewi::GWidget [protected]
rIncrementGewi::GSlider [protected]
rMaxGewi::GSlider [protected]
rMinGewi::GSlider [protected]
rParentGewi::GWidget [protected]
rPosGewi::GSlider [protected]
rPressedGewi::GSlider [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rSliderGewi::GSlider [protected]
rVisibleGewi::GWidget [protected]
rZEGewi::GWidget [protected]
SetPos(float pos)Gewi::GSlider
Show()Gewi::GHorizSlider [virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GHorizSlider.html b/doc/html/classGewi_1_1GHorizSlider.html deleted file mode 100755 index dfd6f03..0000000 --- a/doc/html/classGewi_1_1GHorizSlider.html +++ /dev/null @@ -1,129 +0,0 @@ - - -Gewi::GHorizSlider class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GHorizSlider Class Reference

#include <GewiSlider.h> -

-Inherits Gewi::GSlider. -

-List of all members.


Detailed Description

-Derived from GSlider, overloads message and show to complete the class. -

- - - - - - - -

Public Member Functions

virtual void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Overload of Message, used to recieve messages.

virtual void Show ()
 Draws this slider to the screen.

-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GHorizSlider::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
[virtual]
-
- - - - - -
-   - - -

-Recieves and processes a message, required overload for all widgets.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
- -

-Implements Gewi::GWidget.

-

- - - - -
- - - - - - - - - -
void Gewi::GHorizSlider::Show  )  [virtual]
-
- - - - - -
-   - - -

-Draws widget to the screen, required overload for all widgets. -

-Implements Gewi::GWidget.

-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GSlider-members.html b/doc/html/classGewi_1_1GSlider-members.html deleted file mode 100755 index fa00dba..0000000 --- a/doc/html/classGewi_1_1GSlider-members.html +++ /dev/null @@ -1,46 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GSlider Member List

This is the complete list of members for Gewi::GSlider, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, float min, float max, int increment)Gewi::GSlider [virtual]
Gewi::GWidget::Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GetPos()Gewi::GSlider
GSlider(GContainer *parent=NULL)Gewi::GSlider
GWidget(GContainer *parent=NULL)Gewi::GWidget
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)=0Gewi::GWidget [pure virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GWidget [virtual]
rBackgroundGewi::GSlider [protected]
rBoundRectGewi::GWidget [protected]
rGewiGewi::GWidget [protected]
rIncrementGewi::GSlider [protected]
rMaxGewi::GSlider [protected]
rMinGewi::GSlider [protected]
rParentGewi::GWidget [protected]
rPosGewi::GSlider [protected]
rPressedGewi::GSlider [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rSliderGewi::GSlider [protected]
rVisibleGewi::GWidget [protected]
rZEGewi::GWidget [protected]
SetPos(float pos)Gewi::GSlider
Show()=0Gewi::GWidget [pure virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GSlider.html b/doc/html/classGewi_1_1GSlider.html deleted file mode 100755 index cdbbf7a..0000000 --- a/doc/html/classGewi_1_1GSlider.html +++ /dev/null @@ -1,251 +0,0 @@ - - -Gewi::GSlider class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GSlider Class Reference

#include <GewiSlider.h> -

-Inherits Gewi::GWidget. -

-Inherited by Gewi::GHorizSlider, and Gewi::GVertSlider. -

-List of all members.


Detailed Description

-Framework for simple slider widget, virtual (fails to overload Show), derived from GWidget. -

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 GSlider (GContainer *parent=NULL)
 Simple constructor for GSlider.

virtual void Create (float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, float min, float max, int increment)
 GSlider's create function, must be called to set up actual slider.

void SetPos (float pos)
 Set position of slider.

float GetPos ()
 Get position of slider.


Protected Attributes

-bool rPressed
 Boolean value holding if slider is currently 'pressed' or active.

-ResourceID rBackground
 ID for background image for slider.

-ResourceID rSlider
 Image ID for the sliding part of the slider.

-float rMin
 Minimum position for slider.

-float rMax
 Maximum position for slider.

-float rPos
 Current position of slider.

-int rIncrement
 Movement snap increment.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - - -
Gewi::GSlider::GSlider GContainer parent = NULL  ) 
-
- - - - - -
-   - - -

-Default constructor for GSlider, can take a parent.

Parameters:
- - -
parent Pointer to GContainer derived class to be the parent. Default value is NULL which means no parent.
-
-
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GSlider::Create float  x,
float  y,
float  width,
float  height,
ResourceID  backgroundImg,
ResourceID  sliderImg,
float  min,
float  max,
int  increment
[virtual]
-
- - - - - -
-   - - -

-Every widget has a create function which must be called to define the button's appearance and settings.

Parameters:
- - - - - - - - - - -
x X position of widget within it's container (entire screen if no parent)
y Y position of widget within it's container (entire screen if no parent)
width Width of widget.
height Height of widget.
backgroundImg Image for stationary portion of slider.
sliderImg Image for moving portion of slider.
min Minimum value on slider.
max Maximum value on slider.
increment Slider snap-to increment.
-
-
-

- - - - -
- - - - - - - - - - -
void Gewi::GSlider::SetPos float  pos  ) 
-
- - - - - -
-   - - -

-Sets position of slider, will snap within bounds.

Parameters:
- - -
pos Desired position.
-
-
-

- - - - -
- - - - - - - - - -
float Gewi::GSlider::GetPos  ) 
-
- - - - - -
-   - - -

-Access current position of slider.

Returns:
Slider position.
-
-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GStaticText-members.html b/doc/html/classGewi_1_1GStaticText-members.html deleted file mode 100755 index ce24bb3..0000000 --- a/doc/html/classGewi_1_1GStaticText-members.html +++ /dev/null @@ -1,46 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GStaticText Member List

This is the complete list of members for Gewi::GStaticText, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height, ResourceID font, std::string text="", GewiJustify just=GJ_CENTER, ResourceID backgroundImg=GewiEngine::InvalidID)Gewi::GStaticText [virtual]
Gewi::GWidget::Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GetText()Gewi::GStaticText
GStaticText(GContainer *parent=NULL)Gewi::GStaticText
GWidget(GContainer *parent=NULL)Gewi::GWidget
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GStaticText [virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GWidget [virtual]
rBackgroundImageGewi::GStaticText [protected]
rBoundRectGewi::GWidget [protected]
rFontGewi::GStaticText [protected]
rGewiGewi::GWidget [protected]
rJustifyGewi::GStaticText [protected]
rParentGewi::GWidget [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rTextGewi::GStaticText [protected]
rTextBufGewi::GStaticText [protected]
rVisibleGewi::GWidget [protected]
rXOffGewi::GStaticText [protected]
rYOffGewi::GStaticText [protected]
rZEGewi::GWidget [protected]
SetText(std::string text)Gewi::GStaticText
Show()Gewi::GStaticText [virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GStaticText.html b/doc/html/classGewi_1_1GStaticText.html deleted file mode 100755 index efcb23d..0000000 --- a/doc/html/classGewi_1_1GStaticText.html +++ /dev/null @@ -1,343 +0,0 @@ - - -Gewi::GStaticText class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GStaticText Class Reference

#include <GewiStaticText.h> -

-Inherits Gewi::GWidget. -

-List of all members.


Detailed Description

-GStaticText, stationary label class, derived from GWidget. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 GStaticText (GContainer *parent=NULL)
 Simple constructor for GStaticText.

virtual void Create (float x, float y, float width, float height, ResourceID font, std::string text="", GewiJustify just=GJ_CENTER, ResourceID backgroundImg=GewiEngine::InvalidID)
 GButton's create function, must be called to set up actual button.

virtual void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Overload of Message, used to recieve messages.

virtual void Show ()
 Draws static label to the screen.

void SetText (std::string text)
 Set text of label.

std::string GetText ()
 Get current text in label.


Protected Attributes

-ResourceID rBackgroundImage
 Image for background of label (often no image).

-ResourceID rFont
 Font to use for label.

-std::string rText
 Current text of label.

-ZE::ZImage rTextBuf
 Text buffer ZImage, used internally.

-int rXOff
 Calculated X Offset for text, calculated from justification.

-int rYOff
 Calculated Y Offset for text, calculated from justification.

-GewiJustify rJustify
 Justification, can be or'ed together enums from _GewiJustify, see documentation of that enum for details.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - - -
Gewi::GStaticText::GStaticText GContainer parent = NULL  ) 
-
- - - - - -
-   - - -

-Constructor for GStaticText, can take a parent.

Parameters:
- - -
parent Pointer to GContainer derived class to be the parent. Default value is NULL which means no parent.
-
-
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GStaticText::Create float  x,
float  y,
float  width,
float  height,
ResourceID  font,
std::string  text = "",
GewiJustify  just = GJ_CENTER,
ResourceID  backgroundImg = GewiEngine::InvalidID
[virtual]
-
- - - - - -
-   - - -

-Every widget has a create function which must be called to define the button's appearance and settings.

Parameters:
- - - - - - - - - -
x X position of widget within it's container (entire screen if no parent)
y Y position of widget within it's container (entire screen if no parent)
width Width of widget.
height Height of widget.
font Font ID for text.
text Text for static label. (Defaults to a blank space.)
just Justification, see documented _GewiJustify for details. Defaults to GJ_CENTER.
backgroundImg Image for background, defaults to GewiEngine::InvalidID.
-
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GStaticText::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
[virtual]
-
- - - - - -
-   - - -

-Recieves and processes a message, required overload for all widgets.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
- -

-Implements Gewi::GWidget.

-

- - - - -
- - - - - - - - - -
void Gewi::GStaticText::Show  )  [virtual]
-
- - - - - -
-   - - -

-Draws static label to the screen, required overload for all widgets. -

-Implements Gewi::GWidget.

-

- - - - -
- - - - - - - - - - -
void Gewi::GStaticText::SetText std::string  text  ) 
-
- - - - - -
-   - - -

-Sets the current text of the label.

Parameters:
- - -
text New text for label.
-
-
-

- - - - -
- - - - - - - - - -
std::string Gewi::GStaticText::GetText  ) 
-
- - - - - -
-   - - -

-Return text in label.

Returns:
text currently in label.
-
-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GTextButton-members.html b/doc/html/classGewi_1_1GTextButton-members.html deleted file mode 100755 index ec74c89..0000000 --- a/doc/html/classGewi_1_1GTextButton-members.html +++ /dev/null @@ -1,52 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GTextButton Member List

This is the complete list of members for Gewi::GTextButton, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, ResourceID font, std::string text="", GButtonType type=GBT_PRESS)Gewi::GTextButton [virtual]
Gewi::GButton::Create(float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, GButtonType type=GBT_PRESS)Gewi::GButton [virtual]
Gewi::GWidget::Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GButton(GContainer *parent=NULL)Gewi::GButton
GetText()Gewi::GTextButton
GTextButton(GContainer *parent=NULL)Gewi::GTextButton
GWidget(GContainer *parent=NULL)Gewi::GWidget
IsPressed()Gewi::GButton
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GButton [virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GWidget [virtual]
rBoundRectGewi::GWidget [protected]
rFontGewi::GTextButton [protected]
rGewiGewi::GWidget [protected]
rNormalImageGewi::GButton [protected]
rParentGewi::GWidget [protected]
rPressedGewi::GButton [protected]
rPressedImageGewi::GButton [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rTextGewi::GTextButton [protected]
rTextBufGewi::GTextButton [protected]
rTypeGewi::GButton [protected]
rVisibleGewi::GWidget [protected]
rXOffGewi::GTextButton [protected]
rYOffGewi::GTextButton [protected]
rZEGewi::GWidget [protected]
SetState(bool pressed)Gewi::GButton
SetText(std::string text)Gewi::GTextButton
Show()Gewi::GTextButton [virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GTextButton.html b/doc/html/classGewi_1_1GTextButton.html deleted file mode 100755 index 7370d6d..0000000 --- a/doc/html/classGewi_1_1GTextButton.html +++ /dev/null @@ -1,275 +0,0 @@ - - -Gewi::GTextButton class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GTextButton Class Reference

#include <GewiTextButton.h> -

-Inherits Gewi::GButton. -

-List of all members.


Detailed Description

-GTextButton text label button widget, derived from GButton. -

- - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 GTextButton (GContainer *parent=NULL)
 Simple constructor for GButton.

virtual void Create (float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, ResourceID font, std::string text="", GButtonType type=GBT_PRESS)
 GButton's create function, must be called to set up actual button.

virtual void Show ()
 Draws static label to the screen.

void SetText (std::string text)
 Set text of button.

std::string GetText ()
 Get current text of button label.


Protected Attributes

-std::string rText
 Text label for button.

-ZE::ZImage rTextBuf
 Text Buffer, used internally.

-int rXOff
 X offset of text.

-int rYOff
 Y offset of text.

-ResourceID rFont
 Font ID for text label.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - - -
Gewi::GTextButton::GTextButton GContainer parent = NULL  ) 
-
- - - - - -
-   - - -

-Constructor for GButton, can take a parent.

Parameters:
- - -
parent Pointer to GContainer derived class to be the parent. Default value is NULL which means no parent.
-
-
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GTextButton::Create float  x,
float  y,
float  width,
float  height,
ResourceID  normalImg,
ResourceID  pressImg,
ResourceID  font,
std::string  text = "",
GButtonType  type = GBT_PRESS
[virtual]
-
- - - - - -
-   - - -

-Every widget has a create function which must be called to define the button's appearance and settings.

Parameters:
- - - - - - - - - - -
x X position of widget within it's container (entire screen if no parent)
y Y position of widget within it's container (entire screen if no parent)
width Width of widget.
height Height of widget.
normalImg Image for button when not pressed.
pressImg Image for button when pressed (or hovered if type is GBT_HOVER).
font Font to draw label with.
text Text for button. (default is blank)
type GButtonType, either the default, GBT_PRESS (normal button), or GBT_HOVER (a button which responds to the hovering mouse).
-
-
-

- - - - -
- - - - - - - - - -
void Gewi::GTextButton::Show  )  [virtual]
-
- - - - - -
-   - - -

-Draws static label to the screen, required overload for all widgets. -

-Reimplemented from Gewi::GButton.

-

- - - - -
- - - - - - - - - - -
void Gewi::GTextButton::SetText std::string  text  ) 
-
- - - - - -
-   - - -

-Sets the current text of the button.

Parameters:
- - -
text New text for button.
-
-
-

- - - - -
- - - - - - - - - -
std::string Gewi::GTextButton::GetText  ) 
-
- - - - - -
-   - - -

-Return text on button label.

Returns:
text currently on button label.
-
-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GTextField-members.html b/doc/html/classGewi_1_1GTextField-members.html deleted file mode 100755 index e7b3275..0000000 --- a/doc/html/classGewi_1_1GTextField-members.html +++ /dev/null @@ -1,45 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GTextField Member List

This is the complete list of members for Gewi::GTextField, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height, ResourceID font, ResourceID backgroundImg, int maxChars=256, int leftPad=0)Gewi::GTextField [virtual]
Gewi::GWidget::Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GetText()Gewi::GTextField
GTextField(GContainer *parent=NULL)Gewi::GTextField
GWidget(GContainer *parent=NULL)Gewi::GWidget
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GTextField [virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GWidget [virtual]
rBackgroundGewi::GTextField [protected]
rBoundRectGewi::GWidget [protected]
rBufferGewi::GTextField [protected]
rFontGewi::GTextField [protected]
rGewiGewi::GWidget [protected]
rLeftPaddingGewi::GTextField [protected]
rMaxCharsGewi::GTextField [protected]
rParentGewi::GWidget [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rTextGewi::GTextField [protected]
rVisibleGewi::GWidget [protected]
rZEGewi::GWidget [protected]
SetText(std::string text)Gewi::GTextField
Show()Gewi::GTextField [virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GTextField.html b/doc/html/classGewi_1_1GTextField.html deleted file mode 100755 index 66ddef2..0000000 --- a/doc/html/classGewi_1_1GTextField.html +++ /dev/null @@ -1,340 +0,0 @@ - - -Gewi::GTextField class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GTextField Class Reference

#include <GewiTextField.h> -

-Inherits Gewi::GWidget. -

-List of all members.


Detailed Description

-GTextField simple text input area widget, derived from GWidget. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 GTextField (GContainer *parent=NULL)
 Simple constructor for GTextField.

virtual void Create (float x, float y, float width, float height, ResourceID font, ResourceID backgroundImg, int maxChars=256, int leftPad=0)
 GButton's create function, must be called to set up actual button.

virtual void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Overload of Message, used to recieve messages.

virtual void Show ()
 Draws the text input area & text to the screen.

void SetText (std::string text)
 Set text in input area.

std::string GetText ()
 Get current text of the input box.


Protected Attributes

-std::string rText
 Text currently entered.

-ZE::ZImage rBuffer
 Text buffer, used internally.

-ResourceID rFont
 Font for text.

-ResourceID rBackground
 Background for text input area.

-int rMaxChars
 Maximum number of characters allowed to be entered.

-int rLeftPadding
 Amount of padding on left hand side.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - - -
Gewi::GTextField::GTextField GContainer parent = NULL  ) 
-
- - - - - -
-   - - -

-Constructor for GTextField, can take a parent.

Parameters:
- - -
parent Pointer to GContainer derived class to be the parent. Default value is NULL which means no parent.
-
-
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GTextField::Create float  x,
float  y,
float  width,
float  height,
ResourceID  font,
ResourceID  backgroundImg,
int  maxChars = 256,
int  leftPad = 0
[virtual]
-
- - - - - -
-   - - -

-Every widget has a create function which must be called to define the button's appearance and settings.

Parameters:
- - - - - - - - - -
x X position of widget within it's container (entire screen if no parent)
y Y position of widget within it's container (entire screen if no parent)
width Width of widget.
height Height of widget.
font Font for text.
backgroundImg Image for text input box.
maxChars Maximum number of characters to be entered, defaults to 256.
leftPad padding on left side, defaults to zero.
-
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GTextField::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
[virtual]
-
- - - - - -
-   - - -

-Recieves and processes a message, required overload for all widgets.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
- -

-Implements Gewi::GWidget.

-

- - - - -
- - - - - - - - - -
void Gewi::GTextField::Show  )  [virtual]
-
- - - - - -
-   - - -

-Draws widget to the screen, required overload for all widgets. -

-Implements Gewi::GWidget.

-

- - - - -
- - - - - - - - - - -
void Gewi::GTextField::SetText std::string  text  ) 
-
- - - - - -
-   - - -

-Sets the current text of the buffer for input area.

Parameters:
- - -
text New text for button.
-
-
-

- - - - -
- - - - - - - - - -
std::string Gewi::GTextField::GetText  ) 
-
- - - - - -
-   - - -

-Return text in the input buffer.

Returns:
text currently in input buffer.
-
-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GVertSlider-members.html b/doc/html/classGewi_1_1GVertSlider-members.html deleted file mode 100755 index e5bb4fc..0000000 --- a/doc/html/classGewi_1_1GVertSlider-members.html +++ /dev/null @@ -1,46 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GVertSlider Member List

This is the complete list of members for Gewi::GVertSlider, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, float min, float max, int increment)Gewi::GSlider [virtual]
Gewi::GWidget::Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GetPos()Gewi::GSlider
GSlider(GContainer *parent=NULL)Gewi::GSlider
GWidget(GContainer *parent=NULL)Gewi::GWidget
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GVertSlider [virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GWidget [virtual]
rBackgroundGewi::GSlider [protected]
rBoundRectGewi::GWidget [protected]
rGewiGewi::GWidget [protected]
rIncrementGewi::GSlider [protected]
rMaxGewi::GSlider [protected]
rMinGewi::GSlider [protected]
rParentGewi::GWidget [protected]
rPosGewi::GSlider [protected]
rPressedGewi::GSlider [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rSliderGewi::GSlider [protected]
rVisibleGewi::GWidget [protected]
rZEGewi::GWidget [protected]
SetPos(float pos)Gewi::GSlider
Show()Gewi::GVertSlider [virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GVertSlider.html b/doc/html/classGewi_1_1GVertSlider.html deleted file mode 100755 index bab99df..0000000 --- a/doc/html/classGewi_1_1GVertSlider.html +++ /dev/null @@ -1,129 +0,0 @@ - - -Gewi::GVertSlider class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GVertSlider Class Reference

#include <GewiSlider.h> -

-Inherits Gewi::GSlider. -

-List of all members.


Detailed Description

-Derived from GSlider, overloads message and show to complete the class. -

- - - - - - - -

Public Member Functions

virtual void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Overload of Message, used to recieve messages.

virtual void Show ()
 Draws this slider to the screen.

-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GVertSlider::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
[virtual]
-
- - - - - -
-   - - -

-Recieves and processes a message, required overload for all widgets.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
- -

-Implements Gewi::GWidget.

-

- - - - -
- - - - - - - - - -
void Gewi::GVertSlider::Show  )  [virtual]
-
- - - - - -
-   - - -

-Draws widget to the screen, required overload for all widgets. -

-Implements Gewi::GWidget.

-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GWidget-members.html b/doc/html/classGewi_1_1GWidget-members.html deleted file mode 100755 index 3cb9427..0000000 --- a/doc/html/classGewi_1_1GWidget-members.html +++ /dev/null @@ -1,35 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GWidget Member List

This is the complete list of members for Gewi::GWidget, including all inherited members. - - - - - - - - - - - - - - - - - - - - -
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GWidget(GContainer *parent=NULL)Gewi::GWidget
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)=0Gewi::GWidget [pure virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GWidget [virtual]
rBoundRectGewi::GWidget [protected]
rGewiGewi::GWidget [protected]
rParentGewi::GWidget [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rVisibleGewi::GWidget [protected]
rZEGewi::GWidget [protected]
Show()=0Gewi::GWidget [pure virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GWidget.html b/doc/html/classGewi_1_1GWidget.html deleted file mode 100755 index 21a284a..0000000 --- a/doc/html/classGewi_1_1GWidget.html +++ /dev/null @@ -1,556 +0,0 @@ - - -Gewi::GWidget class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GWidget Class Reference

#include <GewiWidget.h> -

-Inherited by Gewi::GButton, Gewi::GContainer, Gewi::GSlider, Gewi::GStaticText, and Gewi::GTextField. -

-List of all members.


Detailed Description

-Basic widget class, framework and base class for all other widgets. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 GWidget (GContainer *parent=NULL)
 Simple constructor for GWidget.

virtual ~GWidget ()
 Simple destructor.

void ToggleVisible ()
 Toggle the visible flag.

void FitParent ()
 Reposition widget within parent.

virtual void Create (float x, float y, float width, float height)
 Sets position and dimensions of widget.

virtual void Move (float x, float y)
 Change relative position.

virtual void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)=0
 Important function used to recieve messages.

virtual void Show ()=0
 Draws this button to the screen.

float X ()
 Get X position of widget.

float Y ()
 Get Y position of widget.

bool Visible ()
 Get visible state of widget.

bool MouseInWidget ()
 Check if mouse is in widget.

bool Contains (Sint16 x, Sint16 y)
 Check if the widget contains a point.


Protected Attributes

-GewiEnginerGewi
 Pointer to GewiEngine instance.

-ZE::ZEngine * rZE
 Pointer to ZEngine instance.

-ZE::ZRect rBoundRect
 Rectangle describing area of widget.

-GContainerrParent
 Pointer to parent container. (NULL means it lays in the global setting).

-float rRelX
 Relative X position, relative to parent, or top corner of screen if in global setting.

-float rRelY
 Relative Y position, relative to parent, or top corner of screen if in global setting.

-bool rVisible
 Stores if widget is currently visible.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - - -
Gewi::GWidget::GWidget GContainer parent = NULL  ) 
-
- - - - - -
-   - - -

-Constructor for GWidget, like all widgets this must initialize private data and can take a parent.

Parameters:
- - -
parent Pointer to GContainer derived class to be the parent. Default value is NULL which means no parent.
-
-
-

- - - - -
- - - - - - - - - -
Gewi::GWidget::~GWidget  )  [virtual]
-
- - - - - -
-   - - -

-Must be virtual so that each derived class can free it's members.

-


Member Function Documentation

-

- - - - -
- - - - - - - - - -
void Gewi::GWidget::ToggleVisible  ) 
-
- - - - - -
-   - - -

-Toggles the visible flag, only visible widgets are drawn.

-

- - - - -
- - - - - - - - - -
void Gewi::GWidget::FitParent  ) 
-
- - - - - -
-   - - -

-Adjust this widget to be in the correct position in relationship to it's parent. Only containers call this on their children, it generally shouldn't be called.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GWidget::Create float  x,
float  y,
float  width,
float  height
[virtual]
-
- - - - - -
-   - - -

-Sets up widget rectangle, most widgets must override this to include their specific settings.

Parameters:
- - - - - -
x X position of widget within it's container (entire screen if no parent)
y Y position of widget within it's container (entire screen if no parent)
width Width of widget.
height Height of widget.
-
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - -
void Gewi::GWidget::Move float  x,
float  y
[virtual]
-
- - - - - -
-   - - -

-Set new relative position for widget.

Parameters:
- - - -
x New relative x position.
y New relative y position.
-
- -

-Reimplemented in Gewi::GContainer.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void Gewi::GWidget::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
[pure virtual]
-
- - - - - -
-   - - -

-Recieves and processes a message, required overload for all widgets.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
- -

-Implemented in Gewi::GButton, Gewi::GContainer, Gewi::GHorizSlider, Gewi::GVertSlider, Gewi::GStaticText, Gewi::GTextField, and Gewi::GWindow.

-

- - - - -
- - - - - - - - - -
virtual void Gewi::GWidget::Show  )  [pure virtual]
-
- - - - - -
-   - - -

-Draws widget to the screen, required overload for all widgets. -

-Implemented in Gewi::GButton, Gewi::GContainer, Gewi::GHorizSlider, Gewi::GVertSlider, Gewi::GStaticText, Gewi::GTextButton, Gewi::GTextField, and Gewi::GWindow.

-

- - - - -
- - - - - - - - - -
float Gewi::GWidget::X  ) 
-
- - - - - -
-   - - -

-Get actual (not relative) X position of top left corner of widget.

Returns:
Actual x position of widget.
-
-

- - - - -
- - - - - - - - - -
float Gewi::GWidget::Y  ) 
-
- - - - - -
-   - - -

-Get actual (not relative) Y position of top left corner of widget.

Returns:
Actual y position of widget.
-
-

- - - - -
- - - - - - - - - -
bool Gewi::GWidget::Visible  ) 
-
- - - - - -
-   - - -

-Returns status of internal visible flag.

Returns:
true if visible, false otherwise.
-
-

- - - - -
- - - - - - - - - -
bool Gewi::GWidget::MouseInWidget  ) 
-
- - - - - -
-   - - -

-Returns status of mouse inside widget.

Returns:
true if mouse pointer inside widget, false otherwise.
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - -
bool Gewi::GWidget::Contains Sint16  x,
Sint16  y
-
- - - - - -
-   - - -

-Check if the widget contains the point specified.

Parameters:
- - - -
x X value of point to check.
y Y value of point to check.
-
-
-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GWindow-members.html b/doc/html/classGewi_1_1GWindow-members.html deleted file mode 100755 index 4fea5e0..0000000 --- a/doc/html/classGewi_1_1GWindow-members.html +++ /dev/null @@ -1,47 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GWindow Member List

This is the complete list of members for Gewi::GWindow, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AddChild(GWidget *widget)Gewi::GContainer [protected]
Contains(Sint16 x, Sint16 y)Gewi::GWidget
Create(float x, float y, float width, float height, ResourceID backgroundImg)Gewi::GWindow [virtual]
Gewi::GContainer::Create(float x, float y, float width, float height)Gewi::GWidget [virtual]
FitParent()Gewi::GWidget
GContainer(GContainer *parent=NULL)Gewi::GContainer
Gewi::GWidget::GWidget(GContainer *parent=NULL)Gewi::GWidget
GWindow(GContainer *parent=NULL)Gewi::GWindow
InsertWidget(WidgetNode *node)Gewi::GContainer [protected]
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GWindow [virtual]
MouseInWidget()Gewi::GWidget
Move(float x, float y)Gewi::GContainer [virtual]
rBackgroundGewi::GWindow [protected]
rBoundRectGewi::GWidget [protected]
rChildListGewi::GContainer [protected]
rDragGewi::GWindow [protected]
rDragXGewi::GWindow [protected]
rDragYGewi::GWindow [protected]
ReleaseChild(GWidget *widget)Gewi::GContainer [protected]
rGewiGewi::GWidget [protected]
rParentGewi::GWidget [protected]
rRelXGewi::GWidget [protected]
rRelYGewi::GWidget [protected]
rVisibleGewi::GWidget [protected]
rZEGewi::GWidget [protected]
Show()Gewi::GWindow [virtual]
ToggleVisible()Gewi::GWidget
Visible()Gewi::GWidget
X()Gewi::GWidget
Y()Gewi::GWidget
~GContainer() (defined in Gewi::GContainer)Gewi::GContainer
~GWidget()Gewi::GWidget [virtual]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GWindow.html b/doc/html/classGewi_1_1GWindow.html deleted file mode 100755 index df96532..0000000 --- a/doc/html/classGewi_1_1GWindow.html +++ /dev/null @@ -1,246 +0,0 @@ - - -Gewi::GWindow class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GWindow Class Reference

#include <GewiWindow.h> -

-Inherits Gewi::GContainer. -

-List of all members.


Detailed Description

-GWindow, basic window class, derived from GContainer. -

- - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 GWindow (GContainer *parent=NULL)
 Simple constructor for GWindow.

virtual void Create (float x, float y, float width, float height, ResourceID backgroundImg)
 GButton's create function, must be called to set up actual button.

virtual void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Overload of Message, used to recieve messages.

virtual void Show ()
 Draws window & children to the screen.


Protected Attributes

-bool rDrag
 Holds internal state of if mouse is dragging the window or not.

-float rDragX
 X value of drag coordinate used for drag calculation.

-float rDragY
 Y value of drag coordinate used for drag calculation.

-ResourceID rBackground
 Image used for window.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - - -
Gewi::GWindow::GWindow GContainer parent = NULL  ) 
-
- - - - - -
-   - - -

-Default constructor for GWindow, can take a parent.

Parameters:
- - -
parent Pointer to GContainer derived class to be the parent. Default value is NULL which means no parent.
-
-
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GWindow::Create float  x,
float  y,
float  width,
float  height,
ResourceID  backgroundImg
[virtual]
-
- - - - - -
-   - - -

-Every widget has a create function which must be called to define the button's appearance and settings.

Parameters:
- - - - - - -
x X position of widget within it's container (entire screen if no parent)
y Y position of widget within it's container (entire screen if no parent)
width Width of widget.
height Height of widget.
backgroundImg Image for window.
-
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GWindow::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
[virtual]
-
- - - - - -
-   - - -

-Recieves and processes a message, required overload for all widgets.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
- -

-Reimplemented from Gewi::GContainer.

-

- - - - -
- - - - - - - - - -
void Gewi::GWindow::Show  )  [virtual]
-
- - - - - -
-   - - -

-Draws window & children to the screen, required overload for all widgets. -

-Reimplemented from Gewi::GContainer.

-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GewiEngine-members.html b/doc/html/classGewi_1_1GewiEngine-members.html deleted file mode 100755 index 359a828..0000000 --- a/doc/html/classGewi_1_1GewiEngine-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GewiEngine Member List

This is the complete list of members for Gewi::GewiEngine, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - -
AddResource(ZE::ZImage *image)Gewi::GewiEngine
AddResource(ZE::ZFont *font)Gewi::GewiEngine
DeleteWidget(GWidget *widget)Gewi::GewiEngine
Display()Gewi::GewiEngine
EventFilter(SDL_Event *event)Gewi::GewiEngine [static]
Font(ResourceID id)Gewi::GewiEngine
FreeResources()Gewi::GewiEngine
GetInstance()Gewi::GewiEngine [static]
GewiEngine()Gewi::GewiEngine [private]
Image(ResourceID id)Gewi::GewiEngine
InsertWidget(WidgetNode *node)Gewi::GewiEngine [private]
InvalidIDGewi::GewiEngine [static]
mFontVecGewi::GewiEngine [private]
mImageVecGewi::GewiEngine [private]
MinZEVersionGewi::GewiEngine [static]
mWidgetListGewi::GewiEngine [private]
Register(GWidget *widget)Gewi::GewiEngine
ReleaseInstance()Gewi::GewiEngine [static]
SendMessage(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::GewiEngine
sInstanceGewi::GewiEngine [private, static]
TranslateKey(SDL_keysym key)Gewi::GewiEngine [static]
VersionGewi::GewiEngine [static]

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1GewiEngine.html b/doc/html/classGewi_1_1GewiEngine.html deleted file mode 100755 index 1fa2851..0000000 --- a/doc/html/classGewi_1_1GewiEngine.html +++ /dev/null @@ -1,601 +0,0 @@ - - -Gewi::GewiEngine class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::GewiEngine Class Reference

#include <GewiEngine.h> -

-List of all members.


Detailed Description

-GewiEngine Singleton Class, accessible from anywhere in a program via GetInstance. Contains widgets in global context (those drawn in relation to screen, with a NULL parent) also handles resource management of fonts and images. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

void Display ()
 Draw all widgets in the Gewi system.

ResourceID AddResource (ZE::ZImage *image)
 Adds an image resource to the private vector.

ResourceID AddResource (ZE::ZFont *font)
 Adds a font resource to the private vector.

ZE::ZImage * Image (ResourceID id)
 Access an image in the resource vector.

ZE::ZFont * Font (ResourceID id)
 Access a font in the resource vector.

void FreeResources ()
 Free all resources.

void Register (GWidget *widget)
 Register a widget, adding it to the list of widgets.

void SendMessage (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Send a message to the widgets, this function will decide which widgets the message is relevant to.

void DeleteWidget (GWidget *widget)
 Delete a widget.


Static Public Member Functions

GewiEngine * GetInstance ()
 Get the static instance of GewiEngine.

void ReleaseInstance ()
 Release static instance.

int EventFilter (SDL_Event *event)
 Static event filter, defined to SDL specifications.

char TranslateKey (SDL_keysym key)
 Translate an SDL structure into a character, used by EventFilter.


Static Public Attributes

-VersionInfo Version
 Static version information.

-VersionInfo MinZEVersion
 Required ZEngine version.

-const ResourceID InvalidID = UINT_MAX
 Static variable used to represent invalid IDs (before an ID has been assigned all resourceIDs should == InvalidID).


Private Member Functions

 GewiEngine ()
 GewiEngine constructor, private due to singleton design.

void InsertWidget (WidgetNode *node)
 Inserts a child to the child list.


Private Attributes

-std::vector< ZE::ZImage * > mImageVec
 Vector of pointers to ZImages, used by resource management system.

-std::vector< ZE::ZFont * > mFontVec
 Vector of pointers to ZFonts, used by resource management system.

-WidgetList mWidgetList
 List of widgets in global context.


Static Private Attributes

-GewiEngine * sInstance = NULL
 Singleton static instance of GewiEngine.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - -
Gewi::GewiEngine::GewiEngine  )  [private]
-
- - - - - -
-   - - -

-Initializes GewiEngine instance variables, can only be called once per run of program due to design.

-


Member Function Documentation

-

- - - - -
- - - - - - - - - -
GewiEngine * Gewi::GewiEngine::GetInstance  )  [static]
-
- - - - - -
-   - - -

-Important key to the singleton's design, gets the static instance stored within. Creates static instance on first call.

Returns:
Pointer to static instance of GewiEngine.
-
-

- - - - -
- - - - - - - - - -
void Gewi::GewiEngine::ReleaseInstance  )  [static]
-
- - - - - -
-   - - -

-Releases the instance of GewiEngine, basically only called at very end of program.

-

- - - - -
- - - - - - - - - - -
int Gewi::GewiEngine::EventFilter SDL_Event *  event  )  [static]
-
- - - - - -
-   - - -

-Replaces SDL default event filter, and filters events into static GewiEngine instance.

Parameters:
- - -
event SDL_Event to handle.
-
-
Returns:
Return values specified by SDL.
-
-

- - - - -
- - - - - - - - - - -
char Gewi::GewiEngine::TranslateKey SDL_keysym  key  )  [static]
-
- - - - - -
-   - - -

-Converts SDL_keysym into a standard char, only works for certain meaningful keys.

Parameters:
- - -
key SDL_keysm structure to convert.
-
-
Returns:
Converted character.
-
-

- - - - -
- - - - - - - - - -
void Gewi::GewiEngine::Display  ) 
-
- - - - - -
-   - - -

-Draws all top level widgets and containers, container widgets are expected to draw their own children.

-

- - - - -
- - - - - - - - - - -
ResourceID Gewi::GewiEngine::AddResource ZE::ZImage *  image  ) 
-
- - - - - -
-   - - -

-Add a ZImage to the private vector of images and assign it a ResourceID.

Parameters:
- - -
image Image to add to resources.
-
-
Returns:
ID number of new resource.
-
-

- - - - -
- - - - - - - - - - -
ResourceID Gewi::GewiEngine::AddResource ZE::ZFont *  font  ) 
-
- - - - - -
-   - - -

-Add a ZFont to the private vector of fonts and assign it a ResourceID.

Parameters:
- - -
font Font to add to resources.
-
-
Returns:
ID number of new resource.
-
-

- - - - -
- - - - - - - - - - -
ZE::ZImage * Gewi::GewiEngine::Image ResourceID  id  ) 
-
- - - - - -
-   - - -

-Given the images ID get a pointer to an image stored in the image vector.

Parameters:
- - -
id ID of image to retrieve.
-
-
Returns:
Pointer to image or NULL if invalid ID for images.
-
-

- - - - -
- - - - - - - - - - -
ZE::ZFont * Gewi::GewiEngine::Font ResourceID  id  ) 
-
- - - - - -
-   - - -

-Given the fonts ID get a pointer to a font stored in the font vector.

Parameters:
- - -
id ID of font to retrieve.
-
-
Returns:
Pointer to font or NULL if invalid ID for fonts.
-
-

- - - - -
- - - - - - - - - -
void Gewi::GewiEngine::FreeResources  ) 
-
- - - - - -
-   - - -

-Frees memory for all resources.

-

- - - - -
- - - - - - - - - - -
void Gewi::GewiEngine::InsertWidget WidgetNode node  )  [private]
-
- - - - - -
-   - - -

-Calls needed function of WidgetList class to put widget into the linked list.

Parameters:
- - -
node WidgetNode to insert into mWidgetList.
-
-
-

- - - - -
- - - - - - - - - - -
void Gewi::GewiEngine::Register GWidget widget  ) 
-
- - - - - -
-   - - -

-Add a widget to the list of widgets, all widgets register themselves.

Parameters:
- - -
widget Widget to register.
-
-
-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::GewiEngine::SendMessage SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
-
- - - - - -
-   - - -

-Send a message to the widgets, this function will decide which widgets the message is relevant to. This generally isn't called by the client of GewiEngine, instead the EventFilter hook on events will filter and process. This can be used to fake an event however.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
-
-

- - - - -
- - - - - - - - - - -
void Gewi::GewiEngine::DeleteWidget GWidget widget  ) 
-
- - - - - -
-   - - -

-This deletes a widget and memory associated with that widget, like register, widgets do this for themselves.

Parameters:
- - -
widget to delete
-
-
-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1WidgetList-members.html b/doc/html/classGewi_1_1WidgetList-members.html deleted file mode 100755 index ad7ea9f..0000000 --- a/doc/html/classGewi_1_1WidgetList-members.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::WidgetList Member List

This is the complete list of members for Gewi::WidgetList, including all inherited members. - - - - - - - - - - -
AddWidget(WidgetNode *node)Gewi::WidgetList
DeleteWidget(GWidget *widget)Gewi::WidgetList
DeleteWidgetMem(WidgetNode *node)Gewi::WidgetList [private]
DeleteWidgets()Gewi::WidgetList
FitParent()Gewi::WidgetList
mClickGewi::WidgetList [private]
Message(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)Gewi::WidgetList
mWidgetListGewi::WidgetList [private]
ShowWidgets()Gewi::WidgetList
WidgetList()Gewi::WidgetList

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1WidgetList.html b/doc/html/classGewi_1_1WidgetList.html deleted file mode 100755 index 60fb6e5..0000000 --- a/doc/html/classGewi_1_1WidgetList.html +++ /dev/null @@ -1,330 +0,0 @@ - - -Gewi::WidgetList class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::WidgetList Class Reference

#include <GewiWidgetList.h> -

-List of all members.


Detailed Description

-Linked list of widgets, and various utility functions for containers. Class is internally used only, GContainer and GewiEngine heavily rely on it. -

- - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 WidgetList ()
 Constructor for the linked list.

void AddWidget (WidgetNode *node)
 Add a WidgetNode to the list.

void DeleteWidget (GWidget *widget)
 Delete a widget.

void DeleteWidgets ()
 Delete all widgets.

void Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)
 Intercepts a message to process.

void FitParent ()
 Fit all widgets to the parent.

void ShowWidgets ()
 Show widgets.


Private Member Functions

void DeleteWidgetMem (WidgetNode *node)
 Internal function to delete widget memory.


Private Attributes

-WidgetNodemWidgetList
 Pointer to head of list.

-WidgetNodemClick
 Variable keeping track of where the last click was, to change focus.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - -
Gewi::WidgetList::WidgetList  ) 
-
- - - - - -
-   - - -

-Simply NULLs pointers for the linked list.

-


Member Function Documentation

-

- - - - -
- - - - - - - - - - -
void Gewi::WidgetList::DeleteWidgetMem WidgetNode node  )  [private]
-
- - - - - -
-   - - -

-Deletes the memory used by a widget node, interally used.

Parameters:
- - -
node Node to delete.
-
-
-

- - - - -
- - - - - - - - - - -
void Gewi::WidgetList::AddWidget WidgetNode node  ) 
-
- - - - - -
-   - - -

-Adds a WidgetNode to the list, in the 'front'.

Parameters:
- - -
node Node to add to list.
-
-
-

- - - - -
- - - - - - - - - - -
void Gewi::WidgetList::DeleteWidget GWidget widget  ) 
-
- - - - - -
-   - - -

-Deletes a widget, it's memory and frees it from it's container or GewiEngine.

Parameters:
- - -
widget Widget to delete.
-
-
-

- - - - -
- - - - - - - - - -
void Gewi::WidgetList::DeleteWidgets  ) 
-
- - - - - -
-   - - -

-Deletes all widgets and their memory.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Gewi::WidgetList::Message SDL_Event *  rawEvent,
GewiEvent  event,
Uint16  mouseX,
Uint16  mouseY,
char  ch
-
- - - - - -
-   - - -

-Intercepts and processes incoming messages, delegating them where they belong.

Parameters:
- - - - - - -
rawEvent SDL_Event of original message, may be needed if more information is available on event. (May be NULL).
event GewiEvent enum, description of event recieved.
mouseX Mouse x position in event, if not mouse event may be incorrect.
mouseY Mouse y position in event, if not mouse event may be incorrect.
ch Character pressed in event, may be 0 if not a keypress event.
-
-
-

- - - - -
- - - - - - - - - -
void Gewi::WidgetList::FitParent  ) 
-
- - - - - -
-   - - -

-Fits widgets to parent of which this linked list is a part of.

-

- - - - -
- - - - - - - - - -
void Gewi::WidgetList::ShowWidgets  ) 
-
- - - - - -
-   - - -

-Calls Show method of widgets in reverse order for proper appearance.

-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1WidgetNode-members.html b/doc/html/classGewi_1_1WidgetNode-members.html deleted file mode 100755 index 03bcdfc..0000000 --- a/doc/html/classGewi_1_1WidgetNode-members.html +++ /dev/null @@ -1,19 +0,0 @@ - - -Member List - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::WidgetNode Member List

This is the complete list of members for Gewi::WidgetNode, including all inherited members. - - - - -
nextGewi::WidgetNode
prevGewi::WidgetNode
widgetGewi::WidgetNode
WidgetNode()Gewi::WidgetNode

Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/classGewi_1_1WidgetNode.html b/doc/html/classGewi_1_1WidgetNode.html deleted file mode 100755 index 00371b9..0000000 --- a/doc/html/classGewi_1_1WidgetNode.html +++ /dev/null @@ -1,66 +0,0 @@ - - -Gewi::WidgetNode class Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi::WidgetNode Class Reference

#include <GewiWidgetList.h> -

-List of all members.


Detailed Description

-Doubly linked list node containing a widget. -

- - - - - - - - - - - - -

Public Member Functions

 WidgetNode ()
 Basic constructor.


Public Attributes

-GWidgetwidget
 Pointer to widget for this node.

-WidgetNode * prev
 Pointer to previous node.

-WidgetNode * next
 Pointer to next node.

-


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - -
Gewi::WidgetNode::WidgetNode  ) 
-
- - - - - -
-   - - -

-Simple safety constructor just sets all values to NULL.

-


The documentation for this class was generated from the following files: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/files.html b/doc/html/files.html deleted file mode 100755 index 45480f7..0000000 --- a/doc/html/files.html +++ /dev/null @@ -1,39 +0,0 @@ - - -File Index - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi File List

Here is a list of all documented files with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - -
/include/Gewi.h [code]Header file for Gewi
/include/GewiButton.h [code]Definition file for GButton
/include/GewiContainer.h [code]Definition file for GContainer
/include/GewiDefines.h [code]Define file for Gewi where enumerations, typedefs and #define statements are placed
/include/GewiEngine.h [code]Definition file for GewiEngine
/include/GewiIncludes.h [code]Include file for Gewi
/include/GewiSlider.h [code]Definition file for GSlider, GHorizSlider and GVertSlider
/include/GewiStaticText.h [code]Definition file for GStaticText
/include/GewiTextButton.h [code]Definition file for GTextButton
/include/GewiTextField.h [code]Definition file for GTextField
/include/GewiWidget.h [code]Definition file for GWidget
/include/GewiWidgetList.h [code]Definition file for WidgetList
/include/GewiWindow.h [code]Definition file for GWindow
/src/GewiButton.cppImplementation of GButton
/src/GewiContainer.cppImplementation of GContainer
/src/GewiEngine.cppImplementation of GewiEngine
/src/GewiSlider.cppImplementation of GSlider, GHorizSlider and GVertSlider
/src/GewiStaticText.cppImplementation of GStaticText
/src/GewiTextButton.cppImplementation of GTextButton
/src/GewiTextField.cppImplementation of GTextField
/src/GewiWidget.cppImplementation of GWidget
/src/GewiWidgetList.cppImplementation of WidgetList
/src/GewiWindow.cppImplementation of GWindow
-
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/functions.html b/doc/html/functions.html deleted file mode 100755 index d1c67e2..0000000 --- a/doc/html/functions.html +++ /dev/null @@ -1,162 +0,0 @@ - - -Compound Member Index - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi Compound Members

-a | c | d | e | f | g | i | m | n | p | r | s | t | v | w | x | y | ~
- -

-Here is a list of all documented class members with links to the class documentation for each member:

- a - -

-

- c - -

-

- d - -

-

- e - -

-

- f - -

-

- g - -

-

- i - -

-

- m - -

-

- n - -

-

- p - -

-

- r - -

-

- s - -

-

- t - -

-

- v - -

-

- w - -

-

- x - -

-

- y - -

-

- ~ - -

-
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html deleted file mode 100755 index b9cfe12..0000000 --- a/doc/html/hierarchy.html +++ /dev/null @@ -1,37 +0,0 @@ - - -Hierarchical Index - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: -
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/index.html b/doc/html/index.html deleted file mode 100755 index 9166967..0000000 --- a/doc/html/index.html +++ /dev/null @@ -1,40 +0,0 @@ - - -Gewi Documentation - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi Documentation

-

-

0.2.0

Author:
James Turk
-
Version:
0.2.0
-
Date:
June 16th, 2003
-

-About ZEngine and Gewi

-
-     -ZEngine is designed to provide a powerful yet easy to use 2D game engine in a well designed Object Oriented manner, and uses cross platform libraries such as SDL and OpenGL. (ZEngine can use SDL_ttf,SDL_image, SDL_mixer, and PhysFS all of which are cross platform as well as Open Source.) Gewi sits neatly on top of ZEngine and is written in much the same style, Gewi is designed to be the GUI portion of ZEngine but grew so large it needed to become a seperate project.
-     -Both are licensed under a BSD-style license, and anyone is free to suggest or implement changes to be added to either, as well as modify ZEngine or Gewi to fit their own needs or use it however they like.
-     -Because Gewi relys so heavily on ZEngine it has no website, if anybody writes a version of Gewi that does not use the ZEngine backend I'd be glad to see it and even integrate it with the ZEngine/Gewi source. Until there is some other version, Gewi will always be found right next to ZEngine.
-     -The Gewi website : http://zengine.sourceforge.net/gewi/.
-     -The ZEngine website : http://zengine.sourceforge.net/.
-     -The ZEngine tutorials : http://conceptofzero.net/tutorials/zengine/.
-     -The ZEngine forums : http://www.conceptofzero.net/forums/index.php?act=SF&f=15

-Licensing

-
-
This file is Part of the Gewi GUI Library for ZEngine. - Gewi and ZEngine Copyright (C) 2002, 2003 James Turk

-

Licensed under a BSD-style license. (see licensing.txt)

-

The maintainer of this library is James Turk (james@conceptofzero.net) - this library is found at the home of ZEngine http://zengine.sourceforge.net -

-Contributing Authors

-
- James Turk james@conceptofzero.net - Core Engine, Design, Docs, and Classes
-
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/namespaceGewi.html b/doc/html/namespaceGewi.html deleted file mode 100755 index def758e..0000000 --- a/doc/html/namespaceGewi.html +++ /dev/null @@ -1,195 +0,0 @@ - - -Gewi Namespace Reference - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi Namespace Reference


Detailed Description

-Namespace for all Gewi classes and utility functions. -

- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Compounds

class  GButton
 GButton class for basic buttons. More...

class  GContainer
 GContainer class, definition of a container widget. More...

class  GewiEngine
 Main GewiEngine Singleton Class. More...

class  GSlider
 GSlider (virtual) slider widget class. More...

class  GHorizSlider
 GHorizSlider, horizontal slider widget class. More...

class  GVertSlider
 GHorizSlider, horizontal slider widget class. More...

class  GStaticText
 GStaticText for stationary labels. More...

class  GTextButton
 GTextButton class for button with text label. More...

class  GTextField
 GTextField class for basic text input area. More...

class  GWidget
 GWidget base widget class. More...

class  WidgetNode
 WidgetNode class, node for linked list. More...

class  WidgetList
 Class containing a linked list of widgets. More...

class  GWindow
 GWindow, a simple window class. More...


Typedefs

-typedef unsigned int ResourceID
 Resources are stored centrally and widgets access them by their ResourceID.

-typedef unsigned int GewiJustify
 GewiJustify is a hack so that members of the _GewiJustify enum can be or'ed (|) together.


Enumerations

enum  GButtonType { GBT_PRESS, -GBT_HOVER - }
 Enumeration for the button types. More...

enum  GewiEvent {
-  GE_LDOWN, -GE_LUP, -GE_RDOWN, -GE_RUP, -
-  GE_KDOWN, -GE_KUP, -GE_GOTFOCUS, -GE_LOSTFOCUS -
- }
 Enumeration for basic events that a widget can handle. More...

enum  _GewiJustify {
-  GJ_CENTER = 0, -GJ_LEFT = 1<<0, -GJ_RIGHT = 1<<1, -GJ_TOP = 1<<2, -
-  GJ_BOTTOM = 1<<3 -
- }
 Describess justification options in text buttons and static fields. More...

-


Enumeration Type Documentation

-

- - - - -
- - -
enum Gewi::GButtonType -
-
- - - - - -
-   - - -

-Definitions of the two possible button types.

Enumeration values:
- - - -
GBT_PRESS  -Simple button with standard behavior.
GBT_HOVER  -Button which shows itself clicked when hovered over.
-
-
-

- - - - -
- - -
enum Gewi::GewiEvent -
-
- - - - - -
-   - - -

-Defines names for specific events that are filtered and given to widgets.

Enumeration values:
- - - - - - - - - -
GE_LDOWN  -Left mouse button pressed event.
GE_LUP  -Left mouse button released event.
GE_RDOWN  -Right mouse button pressed event.
GE_RUP  -Right mouse button released event.
GE_KDOWN  -Key pressed.
GE_KUP  -Key released.
GE_GOTFOCUS  -Widget got focus.
GE_LOSTFOCUS  -Widget lost focus.
-
-
-

- - - - -
- - -
enum Gewi::_GewiJustify -
-
- - - - - -
-   - - -

-Justification options in text buttons and static fields, these values can be or'ed together via the typedef GewiJustify. For example GJ_LEFT|GJ_TOP would position the label in the upper left corner. GJ_RIGHT|GJ_CENTER would be in the vertical center of the box, yet justified to the right on the horizontal axis.

Enumeration values:
- - - - - - -
GJ_CENTER  -Center text.
GJ_LEFT  -Align text to the left.
GJ_RIGHT  -Align text to the right.
GJ_TOP  -Position text to the top.
GJ_BOTTOM  -Position text to the bottom.
-
-
-


Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/namespacemembers.html b/doc/html/namespacemembers.html deleted file mode 100755 index f90164e..0000000 --- a/doc/html/namespacemembers.html +++ /dev/null @@ -1,47 +0,0 @@ - - -Namespace Member Index - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi Namespace Members

-_ | g | r
- -

-Here is a list of all documented namespace members with links to the namespaces they belong to:

- _ - -

-

- g - -

-

- r - -

-
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- - diff --git a/doc/html/namespaces.html b/doc/html/namespaces.html deleted file mode 100755 index 5726633..0000000 --- a/doc/html/namespaces.html +++ /dev/null @@ -1,17 +0,0 @@ - - -Namespace Index - - - -
-Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  
-

Gewi Namespace List

Here is a list of all documented namespaces with brief descriptions: - -
GewiGewi Namespace
-
Generated on Mon Jun 16 03:27:18 2003 for Gewi by - -doxygen1.3
- -