/* * Copyright (c) 2022, Sam Atkins * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include class CharacterMapWidget final : public GUI::Widget { C_OBJECT(CharacterMapWidget); public: virtual ~CharacterMapWidget() override = default; void initialize_menubar(GUI::Window& window); private: CharacterMapWidget(); virtual void did_change_font() override; void update_statusbar(); RefPtr m_toolbar; RefPtr m_font_name_label; RefPtr m_glyph_map; RefPtr m_output_box; RefPtr m_copy_output_button; RefPtr m_statusbar; RefPtr m_find_window; RefPtr m_unicode_block_listview; RefPtr m_unicode_block_model; RefPtr m_choose_font_action; RefPtr m_copy_selection_action; RefPtr m_previous_glyph_action; RefPtr m_next_glyph_action; RefPtr m_go_to_glyph_action; RefPtr m_find_glyphs_action; Vector m_unicode_block_list; Unicode::CodePointRange m_range { 0x0000, 0x10FFFF }; };