Sha256: 6091859dc5ca1c2a50b0454488c75fd152d10470d8c63b9f0798bf5cd5e0fee9

Contents?: true

Size: 336 Bytes

Versions: 12

Compression:

Stored size: 336 Bytes

Contents

#include <Gosu/Platform.hpp>
#if defined(GOSU_IS_WIN)

#include <Gosu/Utility.hpp>
#include "WinUtility.hpp"
#include <windows.h>

std::string Gosu::language()
{
    LCID lcid = GetUserDefaultLCID();
    char buffer[9];
    winapi_check(GetLocaleInfoA(lcid, LOCALE_SISO639LANGNAME, buffer, sizeof buffer));
    return buffer;
}

#endif

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gosu-0.12.1 src/UtilityWin.cpp
gosu-0.12.0 src/UtilityWin.cpp
gosu-0.11.4.pre3 src/UtilityWin.cpp
gosu-0.11.4.pre2 src/UtilityWin.cpp
gosu-0.11.4.pre1 src/UtilityWin.cpp
gosu-0.11.3.1 src/UtilityWin.cpp
gosu-0.11.3 src/UtilityWin.cpp
gosu-0.11.3.pre1 src/UtilityWin.cpp
gosu-0.11.2 src/UtilityWin.cpp
gosu-0.11.1 src/UtilityWin.cpp
gosu-0.11.1.pre1 src/UtilityWin.cpp
gosu-0.11.0 src/UtilityWin.cpp