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.10.7 src/UtilityWin.cpp
gosu-0.10.6 src/UtilityWin.cpp
gosu-0.10.5 src/UtilityWin.cpp
gosu-0.10.5.pre0 src/UtilityWin.cpp
gosu-0.10.5.pre1 src/UtilityWin.cpp
gosu-0.10.4 src/UtilityWin.cpp
gosu-0.10.3 src/UtilityWin.cpp
gosu-0.10.2 src/UtilityWin.cpp
gosu-0.10.2.pre1 src/UtilityWin.cpp
gosu-0.10.1.2 src/UtilityWin.cpp
gosu-0.10.1.1 src/UtilityWin.cpp
gosu-0.10.1 src/UtilityWin.cpp
gosu-0.10.0 src/UtilityWin.cpp
gosu-0.9.2 src/UtilityWin.cpp
gosu-0.9.2.pre1 src/UtilityWin.cpp
gosu-0.9.1 src/UtilityWin.cpp
gosu-0.9.0 src/UtilityWin.cpp
gosu-0.9.0.pre1 src/UtilityWin.cpp
gosu-0.8.7.2 src/UtilityWin.cpp
gosu-0.8.7.1 src/UtilityWin.cpp