mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
lsteamclient: Make getglyph png and svg helpers non-static.
This commit is contained in:
parent
fd79f236ca
commit
46a427e8d0
2 changed files with 4 additions and 2 deletions
|
|
@ -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_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)
|
||||
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];
|
||||
}
|
||||
|
||||
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)
|
||||
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_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_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);
|
||||
void *create_LinuxISteamMatchmakingServerListResponse(void *win, const char *version);
|
||||
void *create_LinuxISteamMatchmakingPingResponse(void *win, const char *version);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue