serenity/Userland/Games/2048
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
..
BoardView.cpp 2048: Animate sliding tiles 2021-06-11 22:45:14 +02:00
BoardView.h 2048: Animate sliding tiles 2021-06-11 22:45:14 +02:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Game.cpp 2048: Fix move success detection 2021-06-12 00:46:11 +01:00
Game.h 2048: Animate sliding tiles 2021-06-11 22:45:14 +02:00
GameSizeDialog.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
GameSizeDialog.h 2048: Do not default to only temporarily applying settings changes 2021-05-18 16:48:39 +02:00
main.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00