Complete transfer of usable method declarations in imaggif.h
and fix a typo in imagtiff.h
This commit is contained in:
@@ -45,11 +45,20 @@ public:
|
|||||||
bool verbose = true, int delayMilliSecs = 1000);
|
bool verbose = true, int delayMilliSecs = 1000);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
// allow parent class documentation to overwrite.
|
||||||
virtual int DoGetImageCount(wxInputStream& stream);
|
virtual int DoGetImageCount(wxInputStream& stream);
|
||||||
virtual bool DoCanRead(wxInputStream& stream);
|
virtual bool DoCanRead(wxInputStream& stream);
|
||||||
|
|
||||||
|
// TODO: document these as necessary
|
||||||
bool DoSaveFile(const wxImage&, wxOutputStream *, bool verbose,
|
bool DoSaveFile(const wxImage&, wxOutputStream *, bool verbose,
|
||||||
bool first, int delayMilliSecs, bool loop,
|
bool first, int delayMilliSecs, bool loop,
|
||||||
const wxRGB *pal, int palCount,
|
const wxRGB *pal, int palCount,
|
||||||
int mask_index);
|
int mask_index);
|
||||||
|
bool InitHashTable();
|
||||||
|
void ClearHashTable();
|
||||||
|
void InsertHashTable(unsigned long key, int code);
|
||||||
|
int ExistsHashTable(unsigned long key);
|
||||||
|
bool CompressOutput(wxOutputStream *, int code);
|
||||||
|
bool SetupCompress(wxOutputStream *, int bpp);
|
||||||
|
bool CompressLine(wxOutputStream *, const wxUint8 *line, int lineLen);
|
||||||
};
|
};
|
@@ -45,6 +45,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual bool SaveFile(wxImage *image, wxOutputStream& stream, bool verbose=true);
|
virtual bool SaveFile(wxImage *image, wxOutputStream& stream, bool verbose=true);
|
||||||
virtual int DoGetImageCount(wxInputStream& stream);
|
virtual int DoGetImageCount(wxInputStream& stream);
|
||||||
virutal bool DoCanRead(wxInputStream& stream);
|
virtual bool DoCanRead(wxInputStream& stream);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user