/[paragui]/paragui/include/pgtheme.h
ViewVC logotype

Diff of /paragui/include/pgtheme.h

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

revision 1.3 by braindead, Mon Apr 15 13:35:35 2002 UTC revision 1.3.2.1 by braindead, Mon Nov 24 09:17:21 2003 UTC
# Line 55  public: Line 55  public:
55          virtual int FindFontStyle(const char* widgettype, const char* objectname) = 0;          virtual int FindFontStyle(const char* widgettype, const char* objectname) = 0;
56          virtual SDL_Surface* FindSurface(const char* widgettype, const char* object, const char* name) = 0;          virtual SDL_Surface* FindSurface(const char* widgettype, const char* object, const char* name) = 0;
57          virtual PG_Gradient* FindGradient(const char* widgettype, const char* object, const char* name) = 0;          virtual PG_Gradient* FindGradient(const char* widgettype, const char* object, const char* name) = 0;
58          virtual long FindProperty(const char* widgettype, const char* object, const char* name) = 0;          virtual void GetProperty(const char* widgettype, const char* object, const char* name, long& prop) = 0;
59          virtual SDL_Color* FindColor(const char* widgettype, const char* object, const char* name) = 0;          virtual void GetProperty(const char* widgettype, const char* object, const char* name, Uint8& prop) = 0;
60            virtual void GetProperty(const char* widgettype, const char* object, const char* name, bool& prop) = 0;
61            virtual void GetProperty(const char* widgettype, const char* object, const char* name, int& prop) = 0;
62            inline void GetProperty(const char* widgettype, const char* object, const char* name, Uint16& prop) {
63                    long b=-1;
64                    GetProperty(widgettype, object, name, b);
65                    if(b == -1) {
66                            return;
67                    }
68                    prop = (Uint16)b;
69            }
70            virtual void GetColor(const char* widgettype, const char* object, const char* name, PG_Color& color) = 0;
71          virtual const char* FindString(const char* widgettype, const char* object, const char* name) = 0;          virtual const char* FindString(const char* widgettype, const char* object, const char* name) = 0;
72    
73          /**          /**

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

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