]> git.saurik.com Git - wxWidgets.git/commit - interface/wx/image.h
document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modif...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 1 Jun 2009 11:43:36 +0000 (11:43 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 1 Jun 2009 11:43:36 +0000 (11:43 +0000)
commit8faef7ccbc4b4e192da06de7e1a2a7f1dff7ec91
treec3eedb518d525e9d0f6a0a11a42accd84ebeb20c
parent1f51673bb890f637a1979df92ff939935a1dd460
document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modify the current stream position and that they require seekable streams; rename current GetImageCount() functions to DoGetImageCount() and put save-and-restore stream position logic in GetImageCount(); add comments in the various DoCanRead() and in DoGetImageCount() where the stream position is modified; remove unneeded SeekI(0) calls from DoCanRead() and DoGetImageCount() functions: they didn't allow to load images from non-seekable streams; implement forward-seeking in wxInputStream::SeekI() also for non-seekable streams

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
25 files changed:
include/wx/anidecod.h
include/wx/animdecod.h
include/wx/gifdecod.h
include/wx/imagbmp.h
include/wx/image.h
include/wx/imaggif.h
include/wx/imagtiff.h
include/wx/xpmdecod.h
interface/wx/image.h
interface/wx/stream.h
src/common/anidecod.cpp
src/common/gifdecod.cpp
src/common/imagbmp.cpp
src/common/image.cpp
src/common/imaggif.cpp
src/common/imagiff.cpp
src/common/imagjpeg.cpp
src/common/imagpcx.cpp
src/common/imagpng.cpp
src/common/imagpnm.cpp
src/common/imagtga.cpp
src/common/imagtiff.cpp
src/common/imagxpm.cpp
src/common/stream.cpp
src/common/xpmdecod.cpp