1
Fork 0
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:
FalseHonesty 2021-06-20 15:07:44 -04:00 committed by Ali Mohammad Pur
parent 395bee07e0
commit 4f0a75224c
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();