1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 13:17:43 +00:00
serenity/Userland/Applications/HexEditor
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
FindDialog.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
FindDialog.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
FindDialog.h HexEditor: Add 'Find All' option to Find Dialog to find all matches 2021-05-27 22:57:17 +02:00
GoToOffsetDialog.cpp AK+Everywhere: Disallow constructing Functions from incompatible types 2021-06-06 00:27:30 +04:30
GoToOffsetDialog.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
GoToOffsetDialog.h HexEditor: Add 'Go to Offset...' dialog 2021-05-23 18:13:49 +02:00
HexEditor.cpp HexEditor: Fix off-by-one bugs in selected text length calculations 2021-06-01 12:23:43 +02:00
HexEditor.h HexEditor: Fix off-by-one bugs in selected text length calculations 2021-06-01 12:23:43 +02:00
HexEditorWidget.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
HexEditorWidget.h Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
HexEditorWindow.gml HexEditor: Add 'Find All' option to Find Dialog to find all matches 2021-05-27 22:57:17 +02:00
main.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
SearchResultsModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00