Complete transfer of usable method declarations in imaggif.h

and fix a typo in imagtiff.h
This commit is contained in:
Samuel Dunn
2017-06-23 18:25:25 -07:00
parent e2e5000c32
commit f1362c78a1
2 changed files with 10 additions and 1 deletions

View File

@@ -45,11 +45,20 @@ public:
bool verbose = true, int delayMilliSecs = 1000);
protected:
// allow parent class documentation to overwrite.
virtual int DoGetImageCount(wxInputStream& stream);
virtual bool DoCanRead(wxInputStream& stream);
// TODO: document these as necessary
bool DoSaveFile(const wxImage&, wxOutputStream *, bool verbose,
bool first, int delayMilliSecs, bool loop,
const wxRGB *pal, int palCount,
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);
};

View File

@@ -45,6 +45,6 @@ public:
protected:
virtual bool SaveFile(wxImage *image, wxOutputStream& stream, bool verbose=true);
virtual int DoGetImageCount(wxInputStream& stream);
virutal bool DoCanRead(wxInputStream& stream);
virtual bool DoCanRead(wxInputStream& stream);
};