mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 04:15:26 +03:00
Lua drawBitmap on X7
This commit is contained in:
parent
c82c7ee5db
commit
541aa459cf
7 changed files with 193 additions and 13 deletions
|
@ -531,7 +531,7 @@ static int luaLcdDrawBitmap(lua_State *L)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
#elif LCD_DEPTH > 1
|
||||
#else
|
||||
/*luadoc
|
||||
@function lcd.drawPixmap(x, y, name)
|
||||
|
||||
|
@ -873,19 +873,13 @@ const luaL_Reg lcdLib[] = {
|
|||
{ "drawBitmap", luaLcdDrawBitmap },
|
||||
{ "setColor", luaLcdSetColor },
|
||||
{ "RGB", luaRGB },
|
||||
#elif LCD_DEPTH > 1
|
||||
#else
|
||||
{ "getLastPos", luaLcdGetLastPos },
|
||||
{ "getLastRightPos", luaLcdGetLastPos },
|
||||
{ "getLastLeftPos", luaLcdGetLeftPos },
|
||||
{ "drawPixmap", luaLcdDrawPixmap },
|
||||
{ "drawScreenTitle", luaLcdDrawScreenTitle },
|
||||
{ "drawCombobox", luaLcdDrawCombobox },
|
||||
#else
|
||||
{ "drawScreenTitle", luaLcdDrawScreenTitle },
|
||||
{ "getLastPos", luaLcdGetLastPos },
|
||||
{ "getLastRightPos", luaLcdGetLastPos },
|
||||
{ "getLastLeftPos", luaLcdGetLeftPos },
|
||||
{ "drawCombobox", luaLcdDrawCombobox },
|
||||
#endif
|
||||
{ NULL, NULL } /* sentinel */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue