Age | Commit message (Collapse) | Author |
|
|
|
This was done with CLion's automatic rename feature.
|
|
|
|
We now not only collect actions that are children of windows but also
all actions that are part of a window's menus and submenus :^)
|
|
This adds a helper function to Menu that allows us to set all the
children enabled/disabled.
|
|
This is a fallible variant of add_submenu() that returns ErrorOr.
|
|
These are fallible variants that return ErrorOr. :^)
|
|
Currently, any number of menubars can be plugged in and out of a window.
This is unnecessary complexity, since we only need one menubar on a
window. This commit removes most of the logic for dynamically attaching
and detaching menubars and makes one menubar always available. The
menubar is only considered existent if it has at least a single menu in
it (in other words, an empty menubar will not be shown).
This commit additionally fixes a bug wherein menus added after a menubar
has been attached would not have their rects properly setup, and would
therefore appear glitched out on the top left corner of the menubar.
|
|
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 *
|
|
|
|
I hereby declare these to be full nouns that we don't split,
neither by space, nor by underscore:
- Breadcrumbbar
- Coolbar
- Menubar
- Progressbar
- Scrollbar
- Statusbar
- Taskbar
- Toolbar
This patch makes everything consistent by replacing every other variant
of these with the proper one. :^)
|
|
This will allow clients to react to these events.
|
|
|