2022-01-19 11:44:56 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, Timur Sultanov <SultanovTS@yandex.ru>
|
2022-02-10 18:24:17 +00:00
|
|
|
* Copyright (c) 2022, the SerenityOS developers.
|
2022-01-19 11:44:56 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-04-02 23:06:35 +00:00
|
|
|
#include "KeymapStatusWidget.h"
|
2022-01-19 11:44:56 +00:00
|
|
|
#include <LibGUI/Label.h>
|
|
|
|
#include <LibGUI/Window.h>
|
|
|
|
|
|
|
|
class KeymapStatusWindow final : public GUI::Window {
|
|
|
|
C_OBJECT(KeymapStatusWindow)
|
|
|
|
public:
|
2022-02-10 18:24:17 +00:00
|
|
|
virtual ~KeymapStatusWindow() override = default;
|
2022-01-19 11:44:56 +00:00
|
|
|
|
|
|
|
private:
|
2022-02-04 20:04:25 +00:00
|
|
|
virtual void wm_event(GUI::WMEvent&) override;
|
2022-01-19 11:44:56 +00:00
|
|
|
|
|
|
|
KeymapStatusWindow();
|
|
|
|
|
2022-02-04 20:04:25 +00:00
|
|
|
RefPtr<KeymapStatusWidget> m_status_widget;
|
2022-01-19 11:44:56 +00:00
|
|
|
|
2022-12-04 18:02:33 +00:00
|
|
|
void set_keymap_text(DeprecatedString const& keymap);
|
2022-01-19 11:44:56 +00:00
|
|
|
};
|