Sha256: 7f8019dcc941e53b5f8b2d6c008ec3121cb74dcbf139360987eb761fe891ddee

Contents?: true

Size: 352 Bytes

Versions: 22

Compression:

Stored size: 352 Bytes

Contents

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

#include <Gosu/Utility.hpp>
#include "WinUtility.hpp"
#include <windows.h>
using namespace 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

22 entries across 22 versions & 1 rubygems

Version Path
gosu-1.1.1.1 src/UtilityWin.cpp
gosu-1.1.0 src/UtilityWin.cpp
gosu-1.1.0.pre2 src/UtilityWin.cpp
gosu-1.1.0.pre1 src/UtilityWin.cpp
gosu-1.0.0 src/UtilityWin.cpp
gosu-1.0.0.pre2 src/UtilityWin.cpp
gosu-1.0.0.pre1 src/UtilityWin.cpp
gosu-0.15.2 src/UtilityWin.cpp
gosu-0.15.1 src/UtilityWin.cpp
gosu-0.15.0 src/UtilityWin.cpp
gosu-0.14.6.pre1 src/UtilityWin.cpp
gosu-0.14.5 src/UtilityWin.cpp
gosu-0.14.4 src/UtilityWin.cpp
gosu-0.14.4.pre2 src/UtilityWin.cpp
gosu-0.14.3.pre1 src/UtilityWin.cpp
gosu-0.14.3 src/UtilityWin.cpp
gosu-0.14.0 src/UtilityWin.cpp
gosu-0.14.0.pre2 src/UtilityWin.cpp
gosu-0.13.3 src/UtilityWin.cpp
gosu-0.13.2 src/UtilityWin.cpp