mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
lua_cc_picture: don't use any corner modes for images
Only for compatibility with old behavior before api < 1.94
This commit is contained in:
@@ -127,6 +127,7 @@ int CLuaInstCCPicture::CCPictureNew(lua_State *L)
|
||||
(*udata)->cp = new CComponentsPicture(x, y, dx, dy, image_name, pw, has_shadow, (fb_pixel_t)color_frame, (fb_pixel_t)color_background, (fb_pixel_t)color_shadow, transparency);
|
||||
|
||||
(*udata)->cp->doPaintBg(true);
|
||||
(*udata)->cp->setCornerType(CORNER_NONE);
|
||||
(*udata)->parent = pw;
|
||||
luaL_getmetatable(L, LUA_CPICTURE);
|
||||
lua_setmetatable(L, -2);
|
||||
|
Reference in New Issue
Block a user