mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-05-25 12:31:27 +02:00
Creación de repositorio, copia de pantalla
This commit is contained in:
commit
6adc19faf6
71 changed files with 241507 additions and 0 deletions
61
include/ui/ui.h
Normal file
61
include/ui/ui.h
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.3
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: SquareLine_Project
|
||||
|
||||
#ifndef _SQUARELINE_PROJECT_UI_H
|
||||
#define _SQUARELINE_PROJECT_UI_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined __has_include
|
||||
#if __has_include("lvgl.h")
|
||||
#include "lvgl.h"
|
||||
#elif __has_include("lvgl/lvgl.h")
|
||||
#include "lvgl/lvgl.h"
|
||||
#else
|
||||
#include "lvgl.h"
|
||||
#endif
|
||||
#else
|
||||
#include "lvgl.h"
|
||||
#endif
|
||||
|
||||
#include "ui_helpers.h"
|
||||
#include "ui_events.h"
|
||||
|
||||
///////////////////// SCREENS ////////////////////
|
||||
|
||||
#include "ui_Screen1.h"
|
||||
#include "ui_Screen2.h"
|
||||
#include "ui_Screen3.h"
|
||||
#include "ui_Screen4.h"
|
||||
|
||||
///////////////////// VARIABLES ////////////////////
|
||||
|
||||
|
||||
// EVENTS
|
||||
|
||||
extern lv_obj_t * ui____initial_actions0;
|
||||
|
||||
// FONTS
|
||||
LV_FONT_DECLARE(ui_font_Consolas30);
|
||||
LV_FONT_DECLARE(ui_font_Consolas35);
|
||||
LV_FONT_DECLARE(ui_font_Consolas200);
|
||||
LV_FONT_DECLARE(ui_font_Consolas300);
|
||||
LV_FONT_DECLARE(ui_font_Consolas350);
|
||||
LV_FONT_DECLARE(ui_font_Consolas150);
|
||||
LV_FONT_DECLARE(ui_font_Consolas80);
|
||||
LV_FONT_DECLARE(ui_font_Consolas60);
|
||||
LV_FONT_DECLARE(ui_font_Consolas50);
|
||||
|
||||
// UI INIT
|
||||
void ui_init(void);
|
||||
void ui_destroy(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
#endif
|
||||
BIN
include/ui/ui.h:Zone.Identifier
Normal file
BIN
include/ui/ui.h:Zone.Identifier
Normal file
Binary file not shown.
59
include/ui/ui_Screen1.h
Normal file
59
include/ui/ui_Screen1.h
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.3
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: SquareLine_Project
|
||||
|
||||
#ifndef UI_SCREEN1_H
|
||||
#define UI_SCREEN1_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// SCREEN: ui_Screen1
|
||||
extern void ui_Screen1_screen_init(void);
|
||||
extern void ui_Screen1_screen_destroy(void);
|
||||
extern lv_obj_t * ui_Screen1;
|
||||
extern lv_obj_t * ui_PanelGear;
|
||||
extern lv_obj_t * ui_gear;
|
||||
extern lv_obj_t * ui_PanelRPM;
|
||||
extern lv_obj_t * ui_rpm;
|
||||
extern lv_obj_t * ui_PanelBATT;
|
||||
extern lv_obj_t * ui_battvoltlabel;
|
||||
extern lv_obj_t * ui_battvolt;
|
||||
extern lv_obj_t * ui_PanelETC;
|
||||
extern lv_obj_t * ui_ect;
|
||||
extern lv_obj_t * ui_ECTlabel;
|
||||
extern lv_obj_t * ui_PanelSHUTDOWN;
|
||||
extern lv_obj_t * ui_SHUTDOWN_LABEL;
|
||||
extern lv_obj_t * ui_shutdown;
|
||||
extern lv_obj_t * ui_PanelFAN;
|
||||
extern lv_obj_t * ui_FANLabel;
|
||||
extern lv_obj_t * ui_fan;
|
||||
|
||||
// RPM LED Bar - 16 mini panels
|
||||
extern lv_obj_t * ui_RPMBar1;
|
||||
extern lv_obj_t * ui_RPMBar2;
|
||||
extern lv_obj_t * ui_RPMBar3;
|
||||
extern lv_obj_t * ui_RPMBar4;
|
||||
extern lv_obj_t * ui_RPMBar5;
|
||||
extern lv_obj_t * ui_RPMBar6;
|
||||
extern lv_obj_t * ui_RPMBar7;
|
||||
extern lv_obj_t * ui_RPMBar8;
|
||||
extern lv_obj_t * ui_RPMBar9;
|
||||
extern lv_obj_t * ui_RPMBar10;
|
||||
extern lv_obj_t * ui_RPMBar11;
|
||||
extern lv_obj_t * ui_RPMBar12;
|
||||
extern lv_obj_t * ui_RPMBar13;
|
||||
extern lv_obj_t * ui_RPMBar14;
|
||||
extern lv_obj_t * ui_RPMBar15;
|
||||
extern lv_obj_t * ui_RPMBar16;
|
||||
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
BIN
include/ui/ui_Screen1.h:Zone.Identifier
Normal file
BIN
include/ui/ui_Screen1.h:Zone.Identifier
Normal file
Binary file not shown.
41
include/ui/ui_Screen2.h
Normal file
41
include/ui/ui_Screen2.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.3
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: SquareLine_Project
|
||||
|
||||
#ifndef UI_SCREEN2_H
|
||||
#define UI_SCREEN2_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// SCREEN: ui_Screen2
|
||||
extern void ui_Screen2_screen_init(void);
|
||||
extern void ui_Screen2_screen_destroy(void);
|
||||
extern lv_obj_t * ui_Screen2;
|
||||
extern lv_obj_t * ui_fueltitlepanel;
|
||||
extern lv_obj_t * ui_fuellabeltitle;
|
||||
extern lv_obj_t * ui_PanelLambda;
|
||||
extern lv_obj_t * ui_lambda;
|
||||
extern lv_obj_t * ui_LambdaLabel;
|
||||
extern lv_obj_t * ui_PanelLambdatarget;
|
||||
extern lv_obj_t * ui_lambdatarget;
|
||||
extern lv_obj_t * ui_LambdaLabel1;
|
||||
extern lv_obj_t * ui_Panelfuel;
|
||||
extern lv_obj_t * ui_FUELLabel;
|
||||
extern lv_obj_t * ui_fuel;
|
||||
extern lv_obj_t * ui_PaneLCorrlamb;
|
||||
extern lv_obj_t * ui_CORRLAMBDALabel1;
|
||||
extern lv_obj_t * ui_correctionlambda;
|
||||
extern lv_obj_t * ui_PanelETC2;
|
||||
extern lv_obj_t * ui_ect2;
|
||||
extern lv_obj_t * ui_ECTlabel2;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
BIN
include/ui/ui_Screen2.h:Zone.Identifier
Normal file
BIN
include/ui/ui_Screen2.h:Zone.Identifier
Normal file
Binary file not shown.
56
include/ui/ui_Screen3.h
Normal file
56
include/ui/ui_Screen3.h
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.3
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: SquareLine_Project
|
||||
|
||||
#ifndef UI_SCREEN3_H
|
||||
#define UI_SCREEN3_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// SCREEN: ui_Screen3
|
||||
extern void ui_Screen3_screen_init(void);
|
||||
extern void ui_Screen3_screen_destroy(void);
|
||||
extern lv_obj_t * ui_Screen3;
|
||||
extern lv_obj_t * ui_fueltitlepanel2;
|
||||
extern lv_obj_t * ui_fuellabeltitle2;
|
||||
extern lv_obj_t * ui_PanelAUX1;
|
||||
extern lv_obj_t * ui_AUXLabel1;
|
||||
extern lv_obj_t * ui_auxstatus1;
|
||||
extern lv_obj_t * ui_PanelAUX2;
|
||||
extern lv_obj_t * ui_AUXLabel2;
|
||||
extern lv_obj_t * ui_auxstatus2;
|
||||
extern lv_obj_t * ui_PanelAUX3;
|
||||
extern lv_obj_t * ui_AUXLabel3;
|
||||
extern lv_obj_t * ui_auxstatus3;
|
||||
extern lv_obj_t * ui_PanelAUX4;
|
||||
extern lv_obj_t * ui_AUXLabel4;
|
||||
extern lv_obj_t * ui_auxstatus4;
|
||||
extern lv_obj_t * ui_PanelAUX5;
|
||||
extern lv_obj_t * ui_AUXLabel5;
|
||||
extern lv_obj_t * ui_auxstatus5;
|
||||
extern lv_obj_t * ui_PanelAUX6;
|
||||
extern lv_obj_t * ui_AUXLabel6;
|
||||
extern lv_obj_t * ui_auxstatus6;
|
||||
extern lv_obj_t * ui_PanelAUX7;
|
||||
extern lv_obj_t * ui_AUXLabel7;
|
||||
extern lv_obj_t * ui_auxstatus7;
|
||||
extern lv_obj_t * ui_PanelAUX8;
|
||||
extern lv_obj_t * ui_AUXLabel8;
|
||||
extern lv_obj_t * ui_auxstatus8;
|
||||
extern lv_obj_t * ui_PanelAUX9;
|
||||
extern lv_obj_t * ui_AUXLabel9;
|
||||
extern lv_obj_t * ui_auxstatus9;
|
||||
extern lv_obj_t * ui_PanelAUX10;
|
||||
extern lv_obj_t * ui_AUXLabel10;
|
||||
extern lv_obj_t * ui_auxstatus10;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
BIN
include/ui/ui_Screen3.h:Zone.Identifier
Normal file
BIN
include/ui/ui_Screen3.h:Zone.Identifier
Normal file
Binary file not shown.
56
include/ui/ui_Screen4.h
Normal file
56
include/ui/ui_Screen4.h
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.3
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: SquareLine_Project
|
||||
|
||||
#ifndef UI_SCREEN4_H
|
||||
#define UI_SCREEN4_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// SCREEN: ui_Screen4
|
||||
extern void ui_Screen4_screen_init(void);
|
||||
extern void ui_Screen4_screen_destroy(void);
|
||||
extern lv_obj_t * ui_Screen4;
|
||||
extern lv_obj_t * ui_fueltitlepanel3;
|
||||
extern lv_obj_t * ui_fuellabeltitle3;
|
||||
extern lv_obj_t * ui_PanelDIGITAL1;
|
||||
extern lv_obj_t * ui_DIGITALLabel1;
|
||||
extern lv_obj_t * ui_digitalstatus1;
|
||||
extern lv_obj_t * ui_PanelDIGITAL2;
|
||||
extern lv_obj_t * ui_DIGITALLabel2;
|
||||
extern lv_obj_t * ui_digitalstatus2;
|
||||
extern lv_obj_t * ui_PanelDIGITAL3;
|
||||
extern lv_obj_t * ui_DIGITALLabel3;
|
||||
extern lv_obj_t * ui_digitalstatus3;
|
||||
extern lv_obj_t * ui_PanelDIGITAL4;
|
||||
extern lv_obj_t * ui_DIGITALLabel4;
|
||||
extern lv_obj_t * ui_digitalstatus4;
|
||||
extern lv_obj_t * ui_PanelDIGITAL5;
|
||||
extern lv_obj_t * ui_DIGITALLabel5;
|
||||
extern lv_obj_t * ui_digitalstatus5;
|
||||
extern lv_obj_t * ui_PanelDIGITAL6;
|
||||
extern lv_obj_t * ui_DIGITALLabel6;
|
||||
extern lv_obj_t * ui_digitalstatus6;
|
||||
extern lv_obj_t * ui_PanelDIGITAL7;
|
||||
extern lv_obj_t * ui_DIGITALLabel7;
|
||||
extern lv_obj_t * ui_digitalstatus7;
|
||||
extern lv_obj_t * ui_PanelDIGITAL8;
|
||||
extern lv_obj_t * ui_DIGITALLabel8;
|
||||
extern lv_obj_t * ui_digitalstatus8;
|
||||
extern lv_obj_t * ui_PanelDIGITAL9;
|
||||
extern lv_obj_t * ui_DIGITALLabel9;
|
||||
extern lv_obj_t * ui_digitalstatus9;
|
||||
extern lv_obj_t * ui_PanelDIGITAL10;
|
||||
extern lv_obj_t * ui_DIGITALLabel10;
|
||||
extern lv_obj_t * ui_digitalstatus10;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
BIN
include/ui/ui_Screen4.h:Zone.Identifier
Normal file
BIN
include/ui/ui_Screen4.h:Zone.Identifier
Normal file
Binary file not shown.
17
include/ui/ui_events.h
Normal file
17
include/ui/ui_events.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.3
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: SquareLine_Project
|
||||
|
||||
#ifndef _UI_EVENTS_H
|
||||
#define _UI_EVENTS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
#endif
|
||||
BIN
include/ui/ui_events.h:Zone.Identifier
Normal file
BIN
include/ui/ui_events.h:Zone.Identifier
Normal file
Binary file not shown.
148
include/ui/ui_helpers.h
Normal file
148
include/ui/ui_helpers.h
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.3
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: SquareLine_Project
|
||||
|
||||
#ifndef _SQUARELINE_PROJECT_UI_HELPERS_H
|
||||
#define _SQUARELINE_PROJECT_UI_HELPERS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "ui.h"
|
||||
|
||||
#define _UI_TEMPORARY_STRING_BUFFER_SIZE 32
|
||||
#define _UI_BAR_PROPERTY_VALUE 0
|
||||
#define _UI_BAR_PROPERTY_VALUE_WITH_ANIM 1
|
||||
void _ui_bar_set_property(lv_obj_t * target, int id, int val);
|
||||
|
||||
#define _UI_BASIC_PROPERTY_POSITION_X 0
|
||||
#define _UI_BASIC_PROPERTY_POSITION_Y 1
|
||||
#define _UI_BASIC_PROPERTY_WIDTH 2
|
||||
#define _UI_BASIC_PROPERTY_HEIGHT 3
|
||||
void _ui_basic_set_property(lv_obj_t * target, int id, int val);
|
||||
|
||||
#define _UI_DROPDOWN_PROPERTY_SELECTED 0
|
||||
void _ui_dropdown_set_property(lv_obj_t * target, int id, int val);
|
||||
|
||||
#define _UI_IMAGE_PROPERTY_IMAGE 0
|
||||
void _ui_image_set_property(lv_obj_t * target, int id, uint8_t * val);
|
||||
|
||||
#define _UI_LABEL_PROPERTY_TEXT 0
|
||||
void _ui_label_set_property(lv_obj_t * target, int id, const char * val);
|
||||
|
||||
#define _UI_ROLLER_PROPERTY_SELECTED 0
|
||||
#define _UI_ROLLER_PROPERTY_SELECTED_WITH_ANIM 1
|
||||
void _ui_roller_set_property(lv_obj_t * target, int id, int val);
|
||||
|
||||
#define _UI_SLIDER_PROPERTY_VALUE 0
|
||||
#define _UI_SLIDER_PROPERTY_VALUE_WITH_ANIM 1
|
||||
void _ui_slider_set_property(lv_obj_t * target, int id, int val);
|
||||
|
||||
void _ui_screen_change(lv_obj_t ** target, lv_scr_load_anim_t fademode, int spd, int delay, void (*target_init)(void));
|
||||
|
||||
void _ui_screen_delete(lv_obj_t ** target);
|
||||
|
||||
void _ui_arc_increment(lv_obj_t * target, int val);
|
||||
|
||||
void _ui_bar_increment(lv_obj_t * target, int val, int anm);
|
||||
|
||||
void _ui_slider_increment(lv_obj_t * target, int val, int anm);
|
||||
|
||||
void _ui_keyboard_set_target(lv_obj_t * keyboard, lv_obj_t * textarea);
|
||||
|
||||
#define _UI_MODIFY_FLAG_ADD 0
|
||||
#define _UI_MODIFY_FLAG_REMOVE 1
|
||||
#define _UI_MODIFY_FLAG_TOGGLE 2
|
||||
void _ui_flag_modify(lv_obj_t * target, int32_t flag, int value);
|
||||
|
||||
#define _UI_MODIFY_STATE_ADD 0
|
||||
#define _UI_MODIFY_STATE_REMOVE 1
|
||||
#define _UI_MODIFY_STATE_TOGGLE 2
|
||||
void _ui_state_modify(lv_obj_t * target, int32_t state, int value);
|
||||
|
||||
#define UI_MOVE_CURSOR_UP 0
|
||||
#define UI_MOVE_CURSOR_RIGHT 1
|
||||
#define UI_MOVE_CURSOR_DOWN 2
|
||||
#define UI_MOVE_CURSOR_LEFT 3
|
||||
void _ui_textarea_move_cursor(lv_obj_t * target, int val)
|
||||
;
|
||||
|
||||
|
||||
void scr_unloaded_delete_cb(lv_event_t * e);
|
||||
|
||||
void _ui_opacity_set(lv_obj_t * target, int val);
|
||||
|
||||
/** Describes an animation*/
|
||||
typedef struct _ui_anim_user_data_t {
|
||||
lv_obj_t * target;
|
||||
lv_img_dsc_t ** imgset;
|
||||
int32_t imgset_size;
|
||||
int32_t val;
|
||||
} ui_anim_user_data_t;
|
||||
void _ui_anim_callback_free_user_data(lv_anim_t * a);
|
||||
|
||||
void _ui_anim_callback_set_x(lv_anim_t * a, int32_t v);
|
||||
|
||||
void _ui_anim_callback_set_y(lv_anim_t * a, int32_t v);
|
||||
|
||||
void _ui_anim_callback_set_width(lv_anim_t * a, int32_t v);
|
||||
|
||||
void _ui_anim_callback_set_height(lv_anim_t * a, int32_t v);
|
||||
|
||||
|
||||
void _ui_anim_callback_set_opacity(lv_anim_t * a, int32_t v);
|
||||
|
||||
|
||||
void _ui_anim_callback_set_image_zoom(lv_anim_t * a, int32_t v);
|
||||
|
||||
|
||||
void _ui_anim_callback_set_image_angle(lv_anim_t * a, int32_t v);
|
||||
|
||||
|
||||
void _ui_anim_callback_set_image_frame(lv_anim_t * a, int32_t v);
|
||||
|
||||
|
||||
int32_t _ui_anim_callback_get_x(lv_anim_t * a);
|
||||
|
||||
int32_t _ui_anim_callback_get_y(lv_anim_t * a);
|
||||
|
||||
int32_t _ui_anim_callback_get_width(lv_anim_t * a);
|
||||
|
||||
|
||||
int32_t _ui_anim_callback_get_height(lv_anim_t * a);
|
||||
|
||||
|
||||
int32_t _ui_anim_callback_get_opacity(lv_anim_t * a);
|
||||
|
||||
|
||||
int32_t _ui_anim_callback_get_image_zoom(lv_anim_t * a);
|
||||
|
||||
|
||||
int32_t _ui_anim_callback_get_image_angle(lv_anim_t * a);
|
||||
|
||||
|
||||
int32_t _ui_anim_callback_get_image_frame(lv_anim_t * a);
|
||||
|
||||
|
||||
void _ui_arc_set_text_value(lv_obj_t * trg, lv_obj_t * src, const char * prefix, const char * postfix);
|
||||
|
||||
void _ui_slider_set_text_value(lv_obj_t * trg, lv_obj_t * src, const char * prefix, const char * postfix);
|
||||
|
||||
void _ui_checked_set_text_value(lv_obj_t * trg, lv_obj_t * src, const char * txt_on, const char * txt_off);
|
||||
|
||||
void _ui_spinbox_step(lv_obj_t * target, int val)
|
||||
;
|
||||
|
||||
|
||||
void _ui_switch_theme(int val)
|
||||
;
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
#endif
|
||||
BIN
include/ui/ui_helpers.h:Zone.Identifier
Normal file
BIN
include/ui/ui_helpers.h:Zone.Identifier
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue