mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
Keymap+WindowServer: Add context menu to keymap applet
Adding a context menu which lists configured keymaps and allows setting the active keymap
This commit is contained in:
parent
db11cfa2c5
commit
9906f41e01
11 changed files with 126 additions and 27 deletions
|
@ -7,14 +7,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "KeymapStatusWidget.h"
|
||||
#include <LibGUI/Label.h>
|
||||
#include <LibGUI/Window.h>
|
||||
|
||||
class KeymapStatusWidget : public GUI::Label {
|
||||
C_OBJECT(KeymapStatusWidget);
|
||||
|
||||
virtual void mousedown_event(GUI::MouseEvent& event) override;
|
||||
};
|
||||
class KeymapStatusWindow final : public GUI::Window {
|
||||
C_OBJECT(KeymapStatusWindow)
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue