mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-03-27 12:49:10 +03:00
lsteamclient: Make getglyph png and svg helpers non-static.
This commit is contained in:
parent
fd79f236ca
commit
46a427e8d0
@ -47,7 +47,7 @@ static std::unordered_map<int /*EInputActionOrigin*/, char *> cached_input_glyph
|
|||||||
static std::unordered_map<int /*flags*/, std::unordered_map<int /*EInputActionOrigin*/, char *> > cached_input_glyphs_svg;
|
static std::unordered_map<int /*flags*/, std::unordered_map<int /*EInputActionOrigin*/, char *> > cached_input_glyphs_svg;
|
||||||
static std::unordered_map<int /*flags*/, std::unordered_map<int /*EInputActionOrigin*/, char *> > cached_input_glyphs_png[ESteamInputGlyphSize_count];
|
static std::unordered_map<int /*flags*/, std::unordered_map<int /*EInputActionOrigin*/, char *> > cached_input_glyphs_png[ESteamInputGlyphSize_count];
|
||||||
|
|
||||||
static const char *steamclient_isteaminput_getglyph_png(int origin, int flags, int size, const char *lin_path)
|
const char *steamclient_isteaminput_getglyph_png(int origin, int flags, int size, const char *lin_path)
|
||||||
{
|
{
|
||||||
if(!lin_path)
|
if(!lin_path)
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -68,7 +68,7 @@ static const char *steamclient_isteaminput_getglyph_png(int origin, int flags, i
|
|||||||
return cached_input_glyphs_png[size][flags][origin];
|
return cached_input_glyphs_png[size][flags][origin];
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *steamclient_isteaminput_getglyph_svg(int origin, int flags, const char *lin_path)
|
const char *steamclient_isteaminput_getglyph_svg(int origin, int flags, const char *lin_path)
|
||||||
{
|
{
|
||||||
if(!lin_path)
|
if(!lin_path)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -46,6 +46,8 @@ void steamclient_free_stringlist(const char **out);
|
|||||||
const char *steamclient_isteamcontroller_getglyph(int origin, const char *lin_path);
|
const char *steamclient_isteamcontroller_getglyph(int origin, const char *lin_path);
|
||||||
const char *steamclient_isteaminput_getglyph(int origin, const char *lin_path);
|
const char *steamclient_isteaminput_getglyph(int origin, const char *lin_path);
|
||||||
const char *steamclient_isteaminput_getglyph_xbox(int origin, const char *lin_path);
|
const char *steamclient_isteaminput_getglyph_xbox(int origin, const char *lin_path);
|
||||||
|
const char *steamclient_isteaminput_getglyph_png(int origin, int flags, int size, const char *lin_path);
|
||||||
|
const char *steamclient_isteaminput_getglyph_svg(int origin, int flags, const char *lin_path);
|
||||||
uint32 manual_convert_nNativeKeyCode(uint32 win_vk);
|
uint32 manual_convert_nNativeKeyCode(uint32 win_vk);
|
||||||
void *create_LinuxISteamMatchmakingServerListResponse(void *win, const char *version);
|
void *create_LinuxISteamMatchmakingServerListResponse(void *win, const char *version);
|
||||||
void *create_LinuxISteamMatchmakingPingResponse(void *win, const char *version);
|
void *create_LinuxISteamMatchmakingPingResponse(void *win, const char *version);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user