Browse Source

native_vars

master
Martin Vladic 2 years ago
parent
commit
4309ce7c27
  1. 2
      eez
  2. 2
      lvgl-template-web.eez-project
  3. 8
      src/ui/flow_def.c

2
eez

@ -1 +1 @@
Subproject commit d5dbe45e4dda5e46a1e3230c64044c06da205aae Subproject commit 9e026b8c7279309b8af2dd156beda9f7f14ff5a8

2
lvgl-template-web.eez-project

@ -49,7 +49,7 @@
{ {
"objID": "0f3ea37c-f0d3-4061-c693-76b52bd9d632", "objID": "0f3ea37c-f0d3-4061-c693-76b52bd9d632",
"fileName": "flow_def.c", "fileName": "flow_def.c",
"template": "#include \"flow_def.h\"\n\n//${eez-studio GUI_ASSETS_DEF_COMPRESSED}\n" "template": "#include <eez/core/vars.h>\n\n#include \"flow_def.h\"\n#include \"vars.h\"\n\n//${eez-studio GUI_ASSETS_DEF_COMPRESSED}\n\n//${eez-studio LVGL_NATIVE_VARS_TABLE_DEF}\n"
}, },
{ {
"objID": "81fa9cb7-33e4-4272-9340-49a50037b327", "objID": "81fa9cb7-33e4-4272-9340-49a50037b327",

8
src/ui/flow_def.c

@ -1,4 +1,7 @@
#include <eez/core/vars.h>
#include "flow_def.h" #include "flow_def.h"
#include "vars.h"
// ASSETS DEFINITION // ASSETS DEFINITION
const uint8_t assets[409] = { const uint8_t assets[409] = {
@ -29,3 +32,8 @@ const uint8_t assets[409] = {
0x00, 0x00, 0xE4, 0x02, 0x2F, 0x03, 0x03, 0x68, 0x00, 0x03, 0x08, 0x01, 0x00, 0x04, 0xB0, 0x01, 0x00, 0x00, 0xE4, 0x02, 0x2F, 0x03, 0x03, 0x68, 0x00, 0x03, 0x08, 0x01, 0x00, 0x04, 0xB0, 0x01,
0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}; };
native_var_t native_vars[] = {
{ NATIVE_VAR_TYPE_NONE, 0, 0 },
};

Loading…
Cancel
Save