Talk:GUIVariable
From The Battle for Wesnoth Wiki
resize_mode lists three values - perhaps they are the only ones actually used?
enum class resize_mode { scale, scale_sharp, stretch, tile, tile_center, tile_highres, };
grow_direction looks like it was just copied from resize_mode. Would that be this?
struct grow_direction_defines { static constexpr const char* const horizontal = "horizontal"; static constexpr const char* const vertical = "vertical"; ENUM_AND_ARRAY(horizontal, vertical) }; using grow_direction = string_enums::enum_base<grow_direction_defines>;
White haired uncle (talk) 05:36, 5 November 2024 (UTC)
This page was last edited on 5 November 2024, at 05:40.