Minor tweaks to Dropdown code

This commit is contained in:
Aaron van Geffen committed 2026-02-06 22:19:29 +01:00
1 parent c11ac55bbc
commit 1104bebc96
2 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ namespace OpenRCT2::Dropdown
enum class ItemType
{
/**
* Regular label with padding at the left. Will get marked with » if selected.
* Regular label with padding on the left. Will get marked with » if selected.
*/
regular,
/**
+1 -5
View File
@@ -7,8 +7,6 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "openrct2/core/String.hpp"
#include <algorithm>
#include <bitset>
#include <iterator>
@@ -20,6 +18,7 @@
#include <openrct2/SpriteIds.h>
#include <openrct2/config/Config.h>
#include <openrct2/core/BitSet.hpp>
#include <openrct2/core/String.hpp>
#include <openrct2/drawing/ColourMap.h>
#include <openrct2/drawing/Drawing.h>
#include <openrct2/drawing/Rectangle.h>
@@ -624,9 +623,6 @@ namespace OpenRCT2::Ui::Windows
}
} // namespace OpenRCT2::Ui::Windows
using namespace OpenRCT2::Ui::Windows;
using namespace OpenRCT2;
namespace OpenRCT2::Dropdown
{
static Item StringItem(ItemType _type, const utf8* string)