mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-21 08:53:06 +00:00
Use namespace alias
This commit is contained in:
parent
44c97786e5
commit
ea79cd7678
1 changed files with 5 additions and 5 deletions
|
|
@ -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")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue