forked from rosebudai/OpenRCT2-Web
27 lines
938 B
C++
27 lines
938 B
C++
/*****************************************************************************
|
|
* Copyright (c) 2014-2018 OpenRCT2 developers
|
|
*
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
|
*
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
|
*****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __ENABLE_SCRIPTING__
|
|
|
|
# include "../interface/Window.h"
|
|
|
|
# include <optional>
|
|
# include <string_view>
|
|
|
|
namespace OpenRCT2::Ui::Windows
|
|
{
|
|
void UpdateWidgetText(rct_window* w, rct_widgetindex widget, const std::string_view& string_view);
|
|
rct_window* FindCustomWindowByClassification(const std::string_view& classification);
|
|
std::optional<rct_widgetindex> FindWidgetIndexByName(rct_window* w, const std::string_view& name);
|
|
} // namespace OpenRCT2::Ui::Windows
|
|
|
|
#endif
|