Sha256: b2e28bbd426d0a6da3615264677b7a5afd2eaf2691e56c9917caf59cd5542d9d

Contents?: true

Size: 301 Bytes

Versions: 50

Compression:

Stored size: 301 Bytes

Contents

#include <Gosu/Utility.hpp>
#include <Gosu/WinUtility.hpp>
#include <windows.h>
using namespace std;

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

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
gosu-0.7.47.1 GosuImpl/UtilityWin.cpp
gosu-0.7.46 GosuImpl/UtilityWin.cpp
gosu-0.7.45 GosuImpl/UtilityWin.cpp
gosu-0.7.44 GosuImpl/UtilityWin.cpp
gosu-0.7.43 GosuImpl/UtilityWin.cpp
gosu-0.7.41 GosuImpl/UtilityWin.cpp
gosu-0.7.40 GosuImpl/UtilityWin.cpp
gosu-0.7.39 GosuImpl/UtilityWin.cpp
gosu-0.7.38 GosuImpl/UtilityWin.cpp
gosu-0.7.37 GosuImpl/UtilityWin.cpp