summaryrefslogtreecommitdiff
path: root/Userland/Services/Taskbar/TaskbarWindow.h
AgeCommit message (Collapse)Author
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-11-26Taskbar: Unbreak SDL2 port by changing include pathJelle Raaijmakers
Ports would not be able to find `QuickLaunchWidget.h` this way.
2022-11-26Taskbar: Made it possible to add a system menu to taskbar laterArda Cinar
This makes it possible to construct the taskbar before the system menu and remove the awkward reference in Taskbar/main.cpp
2022-11-26Taskbar: Rename start_menu to system_menuArda Cinar
The main menu in GUI (the one in the lower left side of screen by default) was called start_menu in some parts of the code and system_menu in others. In the documentation, it was referred to as "system menu". So, in order to be consistent, these variables are all renamed to system_menu
2022-08-25LibGUI+Taskbar+WindowServer: Remove mode and parent methods from Taskbarthankyouverycool
Taskbar only needs a modeless parent and the activity state of the modal chain to update buttons.
2022-06-01Taskbar: Add toggle_show_desktop()Olivier De Cannière
This function is added to separate the desktop toggling functionality from the "Show Desktop" button in the taskbar and to enable calling this behaviour via a keyboard shortcut in a later commit.
2022-04-04ClockSettings+Taskbar: Add settings for taskbar clock formatcflip
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-03-24Services: Use default constructors/destructorsLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-01-12Taskbar: Include `ScreenLayout.h` from `Services` directoryJelle Raaijmakers
While trying to include `Desktop.h` for the SDL2 port, compilation failed on finding this include. Specify the full include path to make it work.
2021-12-28Taskbar: Add dropping of AppFiles to QuickLaunchfaxe1008
This change adds the capability to drop AppFiles to the quick launch section of the Taskbar. All logic was moved to a new QuickLaunchWidget.
2021-11-14Taskbar: Make quicklaunch bar editablefaxe1008
This change adds a ConfigServer Listener to TaskbarWindow. Items in the quicklaunch bar may be added or removed by editing the Taskbar config.
2021-11-13Everywhere: Replace "virtual desktop" => "workspace"Andreas Kling
2021-07-20Taskbar: Update the start button width when system fonts changeAndreas Kling
2021-07-10Taskbar: Scale window icon bitmap if it's not 16x16LuK1337
Fixes: #5806
2021-07-08Taskbar: Make clicks at the edges and corners work as expectedAndrea Martinelli
This makes it easy for the user to just throw the mouse at the corner of the screen and obtain the desired outcome (eg. opening the start menu), without having to precisely position the cursor over one of the buttons.
2021-07-04Taskbar: Add show desktop button to toggle showing of the desktopForLoveOfCats
2021-07-03Taskbar: Only show the current desktop's window buttonsTom
By tracking what virtual desktop a window is on, and what desktop is being viewed we can show or hide the window buttons accordingly.
2021-06-28Taskbar: Move 'Assistant' Desktop::AppFile to member for quicker accessSpencer Dixon
We care about showing 'Assistant' app as fast as possible when the hotkey is pressed. In order to do that, we can parse the `.af` file ahead of time and have it ready to use.
2021-06-20WindowServer: Add initial support for rendering on multiple screensTom
This allows WindowServer to use multiple framebuffer devices and compose the desktop with any arbitrary layout. Currently, it is assumed that it is configured contiguous and non-overlapping, but this should eventually be enforced. To make rendering efficient, each window now also tracks on which screens it needs to be rendered. This way we don't have to iterate all the windows for each screen but instead use the same rendering loop and then only render to the screen (or screens) that the window actually uses.
2021-05-09Taskbar+LibGUI+WindowServer: Shrink taskbar by one pixelAndreas Kling
Make the taskbar 27 pixels tall instead of 28. This makes the button icons and applets vertically centered. On a related note, this required touching *way* too many places..
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
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-19Taskbar: Show start menu when super key is pressedConor Byrne
This commit re-adds the functionality of the start menu appearing when the super key is pressed
2021-04-04Everywhere: Replace uses of GUI::Desktop's on_rect_change and remove itLinus Groh
2021-03-30Taskbar: Reposition the applet area when the desktop rect changesAndreas Kling
2021-03-30WindowServer+Taskbar: Show applets in taskbar :^)Andreas Kling
WindowServer now collects applet windows into an "applet area" which is really just a window that a WM (window management) client can position via IPC. This is rather hackish, and I think we should come up with a better architecture eventually, but this brings back the missing applets since the global menu where they used to live is gone.
2021-03-25Taskbar: Add start menu :^)Andreas Kling
This will replace the system menu in the top left of the screen. The button behavior doesn't feel quite perfect yet, but this will work for now!
2021-03-25Taskbar: Integrate clock widget into taskbar windowAndreas Kling
Instead of running the clock widget as a separate menu applet, let's just draw a clock here in the taskbar window.
2021-01-12Services: Move to Userland/Services/Andreas Kling