mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
The EmojiInputDialogWidget currently has no frame style, so on themes with no window shadow it looks out of place. The similar CommandPalette dialog uses the Window frame style like normal windows. With this style the Emoji dialog looks more uniform and is more distinct from the background with a window shadow.
25 lines
473 B
C++
25 lines
473 B
C++
/*
|
|
* Copyright (c) 2024, Aryan Baburajan <[email protected]>.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Frame.h>
|
|
|
|
namespace GUI {
|
|
|
|
class EmojiInputDialogWidget : public GUI::Frame {
|
|
C_OBJECT_ABSTRACT(EmojiInputDialogWidget)
|
|
|
|
public:
|
|
static ErrorOr<NonnullRefPtr<EmojiInputDialogWidget>> try_create();
|
|
virtual ~EmojiInputDialogWidget() override = default;
|
|
|
|
private:
|
|
EmojiInputDialogWidget() = default;
|
|
};
|
|
|
|
}
|