/* * Copyright (c) 2022, Sam Atkins * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "CharacterMapWidget.h" #include #include #include class CharacterSearchWidget final : public GUI::Widget { C_OBJECT(CharacterSearchWidget); public: virtual ~CharacterSearchWidget() override = default; Function on_character_selected; private: CharacterSearchWidget(); void search(); RefPtr m_search_input; RefPtr m_search_button; RefPtr m_results_table; };