1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 08:47:34 +00:00
serenity/Userland/Services/Taskbar
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
..
ClockWidget.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
ClockWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
main.cpp Taskbar: Add keyboard shortcuts to the fixed items in the start menu 2021-08-14 13:34:59 +02:00
ShutdownDialog.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
ShutdownDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TaskbarButton.cpp Services: Remove unused header includes 2021-08-01 08:10:16 +02:00
TaskbarButton.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TaskbarWindow.cpp Userland+LibGUI: Make Margins arguments match CSS ordering 2021-08-18 10:30:50 +02:00
TaskbarWindow.h Taskbar: Update the start button width when system fonts change 2021-07-20 02:48:29 +02:00
WindowIdentifier.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowList.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowList.h Taskbar: Only show the current desktop's window buttons 2021-07-03 12:27:23 +02:00