1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-21 01:23:06 +00:00

Use namespace alias

This commit is contained in:
Evil Eye 2025-12-09 18:22:24 +01:00
parent 44c97786e5
commit ea79cd7678

View file

@ -139,7 +139,7 @@ namespace
} }
void updateSliderLabel(MyGUI::ScrollBar* scroller, MyGUI::TextBox* textBox, void updateSliderLabel(MyGUI::ScrollBar* scroller, MyGUI::TextBox* textBox,
const std::vector<icu_74::UnicodeString>& argNames, const std::vector<icu_74::Formattable>& args) const std::vector<icu::UnicodeString>& argNames, const std::vector<icu::Formattable>& args)
{ {
if (textBox != nullptr) if (textBox != nullptr)
{ {
@ -174,8 +174,8 @@ namespace MWGui
{ {
MyGUI::ScrollBar* scroll = current->castType<MyGUI::ScrollBar>(); MyGUI::ScrollBar* scroll = current->castType<MyGUI::ScrollBar>();
std::string_view valueType = getSettingValueType(current); std::string_view valueType = getSettingValueType(current);
std::vector<icu_74::UnicodeString> argNames; std::vector<icu::UnicodeString> argNames;
std::vector<icu_74::Formattable> args; std::vector<icu::Formattable> args;
if (valueType == "Float" || valueType == "Integer" || valueType == "Cell") if (valueType == "Float" || valueType == "Integer" || valueType == "Cell")
{ {
// TODO: ScrollBar isn't meant for this. should probably use a dedicated FloatSlider widget // TODO: ScrollBar isn't meant for this. should probably use a dedicated FloatSlider widget
@ -729,8 +729,8 @@ namespace MWGui
{ {
if (getSettingType(scroller) == "Slider") if (getSettingType(scroller) == "Slider")
{ {
std::vector<icu_74::UnicodeString> argNames; std::vector<icu::UnicodeString> argNames;
std::vector<icu_74::Formattable> args; std::vector<icu::Formattable> args;
std::string_view valueType = getSettingValueType(scroller); std::string_view valueType = getSettingValueType(scroller);
if (valueType == "Float" || valueType == "Integer" || valueType == "Cell") if (valueType == "Float" || valueType == "Integer" || valueType == "Cell")
{ {