Serenity Operating System
1/*
2 * Copyright (c) 2021, Timur Sultanov <SultanovTS@yandex.ru>
3 * Copyright (c) 2022, the SerenityOS developers.
4 *
5 * SPDX-License-Identifier: BSD-2-Clause
6 */
7
8#pragma once
9
10#include "KeymapStatusWidget.h"
11#include <LibGUI/Label.h>
12#include <LibGUI/Window.h>
13
14class KeymapStatusWindow final : public GUI::Window {
15 C_OBJECT(KeymapStatusWindow)
16public:
17 virtual ~KeymapStatusWindow() override = default;
18
19private:
20 virtual void wm_event(GUI::WMEvent&) override;
21
22 KeymapStatusWindow();
23
24 RefPtr<KeymapStatusWidget> m_status_widget;
25
26 void set_keymap_text(DeprecatedString const& keymap);
27};