add missing files, support display blanking
This commit is contained in:
parent
3fc72514a4
commit
9f8b9059f9
9 changed files with 293 additions and 25 deletions
9
item.cpp
Normal file
9
item.cpp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include "item.h"
|
||||
#include "string.h"
|
||||
|
||||
void Item::setName(const char * const nameN)
|
||||
{
|
||||
size_t len = strlen(nameN);
|
||||
if(len < MAX_NAME_LENGTH)memcpy(name, nameN, len+1);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue