Andreas Kling
55dead60b5
LibGUI: Add CommonActions helpers for "zoom in/out" and "reset zoom"
2021-05-15 20:36:41 +02:00
Andreas Kling
bfd2ec88f4
LibGUI: Make Action::set_text() update any associated menu items
...
Now you can change the text of an action and it will actually show
up in the menu. :^)
2021-05-08 22:17:51 +02:00
Andreas Kling
b91c49364d
AK: Rename adopt() to adopt_ref()
...
This makes it more symmetrical with adopt_own() (which is used to
create a NonnullOwnPtr from the result of a naked new.)
2021-04-23 16:46:57 +02:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Andreas Kling
7ceb4f5330
LibGUI: Add some more status tips to common actions
2021-04-18 10:58:22 +02:00
Andreas Kling
a2086ad56e
LibGUI: Rename Action::long_text to Action::status_tip
...
This feels a bit more descriptive.
2021-04-18 10:58:22 +02:00
Andreas Kling
e7263a7e75
LibGUI: Add a "long text" string to GUI::Action
...
Actions can now have a longer text description, in addition to its
regular UI string. The longer text will soon be used to display
a more detailed description of hovered actions in statusbars.
2021-04-17 20:49:53 +02:00
Andreas Kling
afb6e3a79d
LibGUI: Give Alt shortcuts to all the CommonActions :^)
2021-04-09 17:08:49 +02:00
Andreas Kling
eff7ea5b84
LibGUI: Add GUI::CommonActions::make_properties_action()
...
Many apps want a "Properties" action with the same icon and shortcut.
2021-04-04 22:43:43 +02:00
Andreas Kling
716dc5bec9
LibGUI: Use delegating constructors in GUI::Action
2021-02-20 13:25:04 +01:00
Andreas Kling
1bc17d2870
LibGUI: Tidy up Action constructors and factory functions a bit
2021-02-20 13:25:04 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00