class specific update implementation
Reimplemented from AppBaseClass.
Definition at line 1572 of file AppWren.cpp.
1588 wrenEnsureSlots(
vm, 4);
1601 Serial.println(F(
"M AppWren::render() VM ERROR: Surface not available"));
1603 }
else Serial.println(F(
"M AppWren::render() Surface created"));
1626 draw->setCursor(
x+(
w/2),
y+(
h/2),
true);
1633 am->
data->
update(
"VM_BYTES_ALLOCATED",(int32_t)wrenCollectGarbage(
vm));
Surface * p_display_surface
const char * loadModuleSource(const char *name)
receiver for the wren c callback function getSourceForModule
char wren_module_name[MAX_TEXT_LENGTH]
bool FASTRUN loadScript(const char *script)
runs the script in the VM
bool dynamicSurfaceManager()
responsible for managing the surface buffer memory allocation
void releaseWrenHandles()
release any/all Wren embedded call handles
bool isWrenResultOK(WrenInterpretResult res)
bool enable_call_forwarding
elapsedMillis time_active
void freeModuleSource()
receiver for the wren c callback function loadModuleComplete indicating it's now ok to release the mo...
void FLASHMEM restartVM()
shutsdown then starts the VM
void bltSurface2Surface(Surface *dest, int16_t dest_x, int16_t dest_y, Surface *source, int16_t from_x, int16_t from_y, int16_t from_width, int16_t from_height, bltMode blt_mode)
block transfer from source to dest with the given parameters
int32_t read(const char *key)
returns the int32_t value of the record
bool update(const char *key, int32_t val, uint32_t *owner)
update the value of an owned record creates a new record if one does not exist and initializes its ...
References AppBaseClass::am, Arial_9, BLT_COPY, ILI9341_t3_ERIS::bltSurface2Surface(), AppManager::data, ILI9341_t3_ERIS::disablePixelOP(), AppBaseClass::draw, dynamicSurfaceManager(), enable_call_forwarding, freeModuleSource(), Surface::getHeight(), Surface::getWidth(), AppBaseClass::h, h_render, h_slot0, AppBaseClass::has_focus, AppBaseClass::has_pop, is_pressed, isWrenResultOK(), loadModuleSource(), loadScript(), AppManager::p_display_surface, SvcDataDictionary::read(), reboot_request, releaseWrenHandles(), restartVM(), show_active, surface_cache, time_active, SvcDataDictionary::update(), using_image, vm, AppBaseClass::w, wren_module_name, AppBaseClass::x, and AppBaseClass::y.