1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 19:27:35 +00:00
serenity/Userland/Applications/FontEditor
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
..
.gitignore Applications: Move to Userland/Applications/ 2021-01-12 12:05:23 +01:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
FontEditor.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
FontEditor.h Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
FontEditorWindow.gml FontEditor: Fix minor margin inconsistency 2021-07-27 22:17:23 +02:00
GlyphEditorWidget.cpp FontEditor: Don't put invalid clicks on the undo stack 2021-04-26 18:43:35 +02:00
GlyphEditorWidget.h FontEditor: Don't put invalid clicks on the undo stack 2021-04-26 18:43:35 +02:00
GlyphMapWidget.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
GlyphMapWidget.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
main.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
NewFontDialog.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
NewFontDialog.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
NewFontDialogPage1.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
NewFontDialogPage2.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
UndoGlyph.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00