PDFViewer: Update the page number when scrolling between pages

This commit is contained in:
FalseHonesty 2021-06-20 15:07:44 -04:00 committed by Ali Mohammad Pur
commit 4f0a75224c
Notes: sideshowbarker 2024-07-18 11:56:09 +09:00
3 changed files with 9 additions and 0 deletions

View file

@ -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();