mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
plugin/tif: Added GetActivePage support
git-svn-id: svn://ultimatepp.org/upp/trunk@1520 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
76cd6210e7
commit
0a8b64a177
2 changed files with 6 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ public:
|
|||
virtual const RasterFormat *GetFormat();
|
||||
|
||||
virtual int GetPageCount();
|
||||
virtual int GetActivePage() const;
|
||||
virtual void SeekPage(int n);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -907,6 +907,11 @@ int TIFRaster::GetPageCount()
|
|||
return data->pages.GetCount();
|
||||
}
|
||||
|
||||
int TIFRaster::GetActivePage() const
|
||||
{
|
||||
return data->page_index;
|
||||
}
|
||||
|
||||
void TIFRaster::SeekPage(int n)
|
||||
{
|
||||
data->SeekPage(n);
|
||||
|
|
|
|||
Loading…
Reference in a new issue