ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/gdimg.h
(Generate patch)
# Line 16 | Line 16
16       void setFile(FILE* f);
17       static int defaultBg;
18   public:
19 <  GDImg(int w=64, int h=64, const char* fname=NULL, int bg_rgb=defaultBg);
19 >
20 >  void init(int w=64, int h=64, const char* fname=NULL, int bg_rgb=defaultBg);
21 >  GDImg(int w=64, int h=64, const char* fname=NULL, int bg_rgb=defaultBg) {
22 >          init(w,h, fname, bg_rgb);
23 >  }
24    GDImg(int w,int h, int bg_rgb) {
25 <     GDImg(w,h, (const char*)NULL, bg_rgb);
25 >     init(w,h, (const char*)NULL, bg_rgb);
26       }
27    ~GDImg();
28    void write(const char* fname=NULL); //automatically write GIF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines