mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
PDFViewer: Update the page number when scrolling between pages
This commit is contained in:
parent
395bee07e0
commit
4f0a75224c
3 changed files with 9 additions and 0 deletions
|
@ -47,6 +47,8 @@ public:
|
|||
ALWAYS_INLINE const RefPtr<PDF::Document>& document() const { return m_document; }
|
||||
void set_document(RefPtr<PDF::Document>);
|
||||
|
||||
Function<void(u32 new_page)> on_page_change;
|
||||
|
||||
protected:
|
||||
PDFViewer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue