1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

stringdraw renamed to print on disp module

imagedraw renamed to draw on disp module
overall functionality maintained for now
Minor comments edited on SConstruct, for romfs building system
This commit is contained in:
Dado Sutter 2009-02-27 10:57:58 +00:00
parent 7dc75fd807
commit 736bdf4f50
2 changed files with 8 additions and 5 deletions

View File

@ -67,8 +67,9 @@ board_list = { 'SAM7-EX256' : [ 'AT91SAM7X256', 'AT91SAM7X512' ],
}
# ROMFS file list "groups"
# To include a file in a ROMFS build, include it in a group here and make
# sure the group is listed on your platform "groups list" right below.
# To include a file in a ROMFS build, include it in a group here (or create one
# if you need) and make sure the group is included on your platform's file_list
# definition (right after this).
romfs = { 'bisect' : [ 'bisect.lua' ],
'hangman' : [ 'hangman.lua' ],
'lhttpd' : [ 'index.pht', 'lhttpd.lua', 'test.lua' ],

View File

@ -1,4 +1,6 @@
// Module for interfacing with Lua DISP code
// eLua Module for LM3S RIT OLED Display Support
// disp is a platform-dependent (LM3S) module, that binds to Lua the basic API
// from Luminary Micro
#include "lua.h"
#include "lualib.h"
@ -97,8 +99,8 @@ const LUA_REG_TYPE disp_map[] =
{ LSTRKEY( "on" ), LFUNCVAL( disp_on ) },
{ LSTRKEY( "off" ), LFUNCVAL( disp_off ) },
{ LSTRKEY( "clear" ), LFUNCVAL( disp_clear ) },
{ LSTRKEY( "stringdraw" ), LFUNCVAL( disp_stringDraw ) },
{ LSTRKEY( "imagedraw" ), LFUNCVAL( disp_imageDraw ) },
{ LSTRKEY( "print" ), LFUNCVAL( disp_stringDraw ) },
{ LSTRKEY( "draw" ), LFUNCVAL( disp_imageDraw ) },
{ LNILKEY, LNILVAL }
};