Skip to content
Permalink
Browse files

Add OOP Method for guiStaticImageGetNativeSize (#1045)

  • Loading branch information...
xerox8521 authored and qaisjp committed Aug 8, 2019
1 parent 081ebdc commit 938d8322512a4987461fd0968e6dab33207a88a4
Showing with 1 addition and 0 deletions.
  1. +1 −0 Client/mods/deathmatch/logic/luadefs/CLuaGUIDefs.cpp
@@ -385,6 +385,7 @@ void CLuaGUIDefs::AddGuiImageClass(lua_State* luaVM)

lua_classfunction(luaVM, "create", "guiCreateStaticImage");
lua_classfunction(luaVM, "loadImage", "guiStaticImageLoadImage");
lua_classfunction(luaVM, "getNativeSize", "guiStaticImageGetNativeSize");

lua_classvariable(luaVM, "image", "guiStaticImageLoadImage", NULL);

0 comments on commit 938d832

Please sign in to comment.
You can’t perform that action at this time.