1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00
serenity/Userland/Applications/PDFViewer
sin-ack e11d177618 Userland+LibGUI: Add shorthand versions of the Margins constructor
This allows for typing [8] instead of [8, 8, 8, 8] to specify the same
margin on all edges, for example. The constructors follow CSS' style of
specifying margins. The added constructors are:

- Margins(int all): Sets the same margin on all edges.
- Margins(int vertical, int horizontal): Sets the first argument to top
  and bottom margins, and the second argument to left and right margins.
- Margins(int top, int vertical, int bottom): Sets the first argument to
  the top margin, the second argument to the left and right margins,
  and the third argument to the bottom margin.
2021-08-18 10:30:50 +02:00
..
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
main.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
NumericInput.cpp PDFViewer: Add a toolbar 2021-05-25 00:24:09 +04:30
NumericInput.h PDFViewer: Add a toolbar 2021-05-25 00:24:09 +04:30
OutlineModel.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
OutlineModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
PDFViewer.cpp LibGfx: Use "try_" prefix for static factory functions 2021-07-21 18:02:15 +02:00
PDFViewer.h PDFViewer: Update the page number when scrolling between pages 2021-06-22 06:26:44 +04:30
PDFViewerWidget.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
PDFViewerWidget.h Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
SidebarWidget.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
SidebarWidget.h PDFViewer: Add a tab bar with outlines and thumbnails 2021-05-25 00:24:09 +04:30