Template for LVGL web simulator project with EEZ Studio
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

155 lines
5.5 KiB

2 years ago
{
"objID": "6666cd76-f969-5646-9e7b-e39d750cc7d9",
"settings": {
"objID": "e007d988-9fba-797d-72e9-efc33ca6d05c",
"general": {
"objID": "fd434352-2277-c4a8-e87e-e96cfcbf2305",
"projectVersion": "v3",
"projectType": "lvgl",
"assetsFolder": "./assets",
"imports": [],
"flowSupport": true,
"displayWidth": 800,
"displayHeight": 480
},
"build": {
"objID": "72794a43-a0fc-13c2-7eb5-67dd952141a4",
"configurations": [
{
"objID": "bba0546c-06b8-604d-c43e-ecf1963e7492",
"name": "Default"
}
],
"files": [
{
"objID": "05204dce-0fc5-4c81-b733-2ccc8e6c8671",
"fileName": "screens.h",
"template": "#ifndef EEZ_LVGL_UI_SCREENS_H\r\n#define EEZ_LVGL_UI_SCREENS_H\r\n\r\n#include \"lvgl/lvgl.h\"\r\n\r\n#ifdef __cplusplus\r\nextern \"C\" {\r\n#endif\r\n\r\n//${eez-studio LVGL_SCREENS_DECL}\r\n//${eez-studio LVGL_SCREENS_DECL_EXT}\r\n\r\n#ifdef __cplusplus\r\n}\r\n#endif\r\n\r\n#endif /*EEZ_LVGL_UI_SCREENS_H*/"
},
{
"objID": "2212bc5e-cf4a-4a81-c9ab-a671066d086f",
"fileName": "screens.c",
"template": "#include \"screens.h\"\n#include \"images.h\"\n#include \"fonts.h\"\n#include \"actions.h\"\n#include \"../flow.h\"\n\n//${eez-studio LVGL_SCREENS_DEF}\n//${eez-studio LVGL_SCREENS_DEF_EXT}"
},
{
"objID": "19d3d573-88a3-4550-f4da-753b61d7f0c4",
"fileName": "actions.h",
"template": "#ifndef EEZ_LVGL_UI_EVENTS_H\r\n#define EEZ_LVGL_UI_EVENTS_H\r\n\r\n#include \"lvgl/lvgl.h\"\r\n\r\n//${eez-studio LVGL_ACTIONS_DECL}\r\n\r\n#endif /*EEZ_LVGL_UI_EVENTS_H*/"
},
{
"objID": "e95514b3-1083-49b9-a4f6-847d4792f050",
"fileName": "vars.h",
"template": "#ifndef EEZ_LVGL_UI_VARS_H\r\n#define EEZ_LVGL_UI_VARS_H\r\n\r\n#include <stdint.h>\r\n\r\n//${eez-studio LVGL_VARS_DECL}\r\n\r\n#endif /*EEZ_LVGL_UI_VARS_H*/"
},
{
"objID": "9c770003-b028-4a8b-9447-fea072e67b3a",
"fileName": "flow_def.h",
"template": "#pragma once\n\n#include <eez/gui/data.h>\n#include <eez/gui/widget.h>\n\n#include \"lvgl/lvgl.h\"\n\nnamespace eez {\n\n//${eez-studio GUI_THEMES_ENUM}\n\n//${eez-studio GUI_COLORS_ENUM}\n\n//${eez-studio GUI_ASSETS_DECL_COMPRESSED}\n\n} // namespace eez\n"
},
{
"objID": "0f3ea37c-f0d3-4061-c693-76b52bd9d632",
"fileName": "flow_def.cpp",
"template": "#include \"flow_def.h\"\n\nnamespace eez {\n\n//${eez-studio GUI_ASSETS_DEF_COMPRESSED}\n\n} // namespace eez\n"
},
{
"objID": "81fa9cb7-33e4-4272-9340-49a50037b327",
"fileName": "images.h",
"template": "#ifndef EEZ_LVGL_UI_IMAGES_H\r\n#define EEZ_LVGL_UI_IMAGES_H\r\n\r\n#include \"lvgl/lvgl.h\"\r\n\r\n//${eez-studio LVGL_IMAGES_DECL}\r\n\r\n#endif /*EEZ_LVGL_UI_IMAGES_H*/"
},
{
"objID": "5844b3a8-54b7-4bdf-ff04-d052e689328c",
"fileName": "images.c",
"template": "#include \"images.h\"\n\n//${eez-studio LVGL_IMAGES_DEF}"
},
{
"objID": "bad0addd-10de-48f7-e57e-b40fce3e7c45",
"fileName": "fonts.h",
"template": "#ifndef EEZ_LVGL_UI_FONTS_H\r\n#define EEZ_LVGL_UI_FONTS_H\r\n\r\n#include \"lvgl/lvgl.h\"\r\n\r\n//${eez-studio LVGL_FONTS_DECL}\r\n\r\n#endif /*EEZ_LVGL_UI_FONTS_H*/"
}
],
"destinationFolder": "src\\ui"
}
},
"variables": {
"objID": "c6c71e16-53e1-217f-d03b-cef56c6b037a",
"globalVariables": [],
"structures": [],
"enums": []
},
"actions": [],
"pages": [
{
"objID": "4b40eba7-b31a-468a-b887-11dfd0b6637f",
"components": [
{
"objID": "6b272cb8-48b4-467f-c130-a1edc1f930b7",
"type": "LVGLLabelWidget",
"left": 356,
"top": 232,
"width": 89,
"height": 16,
"customInputs": [],
"customOutputs": [],
"style": {
"objID": "a9bf737e-205d-4003-aae9-0ca3b6710d43",
"inheritFrom": "default"
},
"timeline": [],
"leftUnit": "px",
"topUnit": "px",
"widthUnit": "content",
"heightUnit": "content",
"children": [],
"flags": "PRESS_LOCK|CLICK_FOCUSABLE|GESTURE_BUBBLE|SNAPPABLE|SCROLLABLE|SCROLL_ELASTIC|SCROLL_MOMENTUM|SCROLL_CHAIN",
"hiddenFlagType": "literal",
"clickableFlagType": "literal",
"scrollbarMode": "auto",
"scrollDirection": "all",
"checkedStateType": "literal",
"disabledStateType": "literal",
"states": "",
"localStyles": {
"objID": "b70b99db-02c2-420a-cbdf-e6366dc84e67"
},
"eventHandlers": [],
"text": "Hello, world!",
"textType": "literal",
"longMode": "WRAP",
"recolor": false
}
],
"connectionLines": [],
"localVariables": [],
"name": "Main",
"left": 0,
"top": 0,
"width": 800,
"height": 480,
"lvglLocalStyles": {
"objID": "e85dbd5d-8325-1629-003b-86fd654ae635"
}
}
],
"fonts": [],
"bitmaps": [],
"colors": [
{
"objID": "a3333659-ca35-4e6c-e434-d9dd1aa3b7d8",
"name": "color"
},
{
"objID": "f111d279-a86c-40ff-8739-063e95629d7f",
"name": "background_color"
}
],
"themes": [
{
"objID": "728af2e4-0a31-4f5c-b5cf-8fbdc345e872",
"name": "default",
"colors": [
"#ffffff",
"#404040"
]
}
]
}