Difference between revisions of "Talk:GUIVariable"
From The Battle for Wesnoth Wiki
(Created page with "resize_mode lists three values - perhaps they are the only ones actually used? <syntaxhighlight lang="cpp"> enum class resize_mode { scal...") |
m |
||
Line 24: | Line 24: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | ||
[[User:White haired uncle|White haired uncle]] ([[User talk:White haired uncle|talk]]) 05:36, 5 November 2024 (UTC) | [[User:White haired uncle|White haired uncle]] ([[User talk:White haired uncle|talk]]) 05:36, 5 November 2024 (UTC) |
Latest revision as of 05:40, 5 November 2024
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.