mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 00:56:39 +00:00
PDFViewer: Respect page navigation features in multi-page mode
This includes the text box and the page up/down arrows.
This commit is contained in:
parent
3ecb41b7d9
commit
baac720e13
Notes:
sideshowbarker
2024-07-17 18:46:57 +09:00
Author: https://github.com/mattco98
Commit: baac720e13
Pull-request: https://github.com/SerenityOS/serenity/pull/13394
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/nico
5 changed files with 15 additions and 9 deletions
|
@ -46,7 +46,7 @@ public:
|
|||
virtual ~PDFViewer() override = default;
|
||||
|
||||
ALWAYS_INLINE u32 current_page() const { return m_current_page_index; }
|
||||
ALWAYS_INLINE void set_current_page(u32 current_page) { m_current_page_index = current_page; }
|
||||
void set_current_page(u32 current_page);
|
||||
|
||||
ALWAYS_INLINE RefPtr<PDF::Document> const& document() const { return m_document; }
|
||||
PDF::PDFErrorOr<void> set_document(RefPtr<PDF::Document>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue