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

Diff of /paragui/include/pgimage.h

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

revision 1.3.6.1 by braindead, Sat Jan 25 16:53:57 2003 UTC revision 1.3.6.1.2.1 by braindead, Tue Dec 2 15:27:57 2003 UTC
# Line 33  Line 33 
33  #ifndef PG_IMAGE_H  #ifndef PG_IMAGE_H
34  #define PG_IMAGE_H  #define PG_IMAGE_H
35    
 #ifdef SWIG  
 %include "swigcommon.h"  
 %module pgimage  
 %{  
 #include "pgimage.h"  
 %}  
 #endif  
   
36  #include "pgthemewidget.h"  #include "pgthemewidget.h"
37    
38  /**  /**
# Line 69  public: Line 61  public:
61          @param freeimage        if true the imagedata is handled by the widget          @param freeimage        if true the imagedata is handled by the widget
62          @param style            widgetstyle to use          @param style            widgetstyle to use
63          */          */
 #ifdef SWIG  
         %name(PG_ImageSurface) PG_Image(PG_Widget* parent, const PG_Point& p, SDL_Surface* image, bool freeimage = true, const char* style = "ThemeWidget");  
 #else  
64          PG_Image(PG_Widget* parent, const PG_Point& p, SDL_Surface* image, bool freeimage = true, const char* style = "ThemeWidget");          PG_Image(PG_Widget* parent, const PG_Point& p, SDL_Surface* image, bool freeimage = true, const char* style = "ThemeWidget");
 #endif  
65    
66          /**          /**
67          Contructor of the PG_Image class (loading from file)          Contructor of the PG_Image class (loading from file)
# Line 84  public: Line 72  public:
72          @param style            widgetstyle to use          @param style            widgetstyle to use
73          This constructor creates the widget and loads the image from a file using a colorkey.          This constructor creates the widget and loads the image from a file using a colorkey.
74          */          */
 #ifdef SWIG  
         %name(PG_ImageColorKey) PG_Image(PG_Widget* parent, const PG_Point& p, const char* filename, Uint32 colorkey, const char* style);  
 #else  
75          PG_Image(PG_Widget* parent, const PG_Point& p, const char* filename, Uint32 colorkey, const char* style);          PG_Image(PG_Widget* parent, const PG_Point& p, const char* filename, Uint32 colorkey, const char* style);
 #endif  
76    
77          /**          /**
78          Set the colorkey of the image          Set the colorkey of the image

Legend:
Removed from v.1.3.6.1  
changed lines
  Added in v.1.3.6.1.2.1

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