mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:38:13 +00:00
WindowServer+NotificationServer: Vertical title bar for notifications
This patch adds a specialized window type for notifications. They now have a title bar on the right-hand side, with a close button. This removes the need for the "Done" button in notifications, giving us a bit more horizontal space overall. Design based on a mock-up from @xTibor :^)
This commit is contained in:
parent
cbd7effd3b
commit
012a4eb0b5
7 changed files with 115 additions and 60 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
// Keep this in sync with WindowType.
|
||||
// Keep this in sync with WindowServer::WindowType.
|
||||
enum class WindowType {
|
||||
Invalid = 0,
|
||||
Normal,
|
||||
|
@ -38,6 +38,7 @@ enum class WindowType {
|
|||
Tooltip,
|
||||
Menubar,
|
||||
MenuApplet,
|
||||
Notification,
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue