/[paragui]/paragui/src/themes/theme_priv.h
ViewVC logotype

Diff of /paragui/src/themes/theme_priv.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3.6.2 by braindead, Sat Jan 4 21:13:41 2003 UTC revision 1.3.6.2.2.1 by braindead, Mon Nov 24 09:17:22 2003 UTC
# Line 30  Line 30 
30  #define THEME_PRIV_H  #define THEME_PRIV_H
31    
32  #include "paragui.h"  #include "paragui.h"
33    #include "pgcolor.h"
34    
35  #include <string>  #include <string>
36  #include <vector>  #include <vector>
# Line 58  public: Line 59  public:
59          int style;          int style;
60  };  };
61    
 class THEME_COLOR {  
 public:  
         SDL_Color c;  
         Uint32 val;  
 };  
   
62  class THEME_STRING {  class THEME_STRING {
63  public:  public:
64          virtual ~THEME_STRING() {}          virtual ~THEME_STRING() {}
# Line 95  public: Line 90  public:
90          long value;          long value;
91  };  };
92    
93  class THEME_GRADIENT {  class THEME_GRADIENT : public PG_Gradient {
94  public:  public:
95          string name;          string name;
         THEME_COLOR color[4];  
         PG_Gradient gradient;  
96  };  };
97    
98  #ifdef HASH_MAP_INC  #ifdef HASH_MAP_INC
# Line 187  public: Line 180  public:
180    
181          SDL_Surface* FindSurface(const char* widgettype, const char* object, const char* name);          SDL_Surface* FindSurface(const char* widgettype, const char* object, const char* name);
182          PG_Gradient* FindGradient(const char* widgettype, const char* object, const char* name);          PG_Gradient* FindGradient(const char* widgettype, const char* object, const char* name);
183          long FindProperty(const char* widgettype, const char* object, const char* name);          void GetProperty(const char* widgettype, const char* object, const char* name, long& prop);
184          SDL_Color* FindColor(const char* widgettype, const char* object, const char* name);          void GetProperty(const char* widgettype, const char* object, const char* name, Uint8& prop);
185            void GetProperty(const char* widgettype, const char* object, const char* name, bool& prop);
186            void GetProperty(const char* widgettype, const char* object, const char* name, int& prop);
187            void GetColor(const char* widgettype, const char* object, const char* name, PG_Color& color);
188          const char* FindString(const char* widgettype, const char* object, const char* name);          const char* FindString(const char* widgettype, const char* object, const char* name);
189    
190          THEME_FONT* defaultfont;          THEME_FONT* defaultfont;

Legend:
Removed from v.1.3.6.2  
changed lines
  Added in v.1.3.6.2.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26