-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,207 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_H | ||
#define UI_H | ||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include "ui_interface.h" | ||
|
||
#include "ui_indicator_0_0.h" | ||
#include "ui_indicator_0_1.h" | ||
#include "ui_indicator_0_2.h" | ||
#include "ui_indicator_0_3.h" | ||
#include "ui_indicator_0_4.h" | ||
#include "ui_indicator_0_5.h" | ||
#include "ui_indicator_0_6.h" | ||
#include "ui_indicator_0_7.h" | ||
#include "ui_indicator_0_8.h" | ||
#include "ui_indicator_0_9.h" | ||
#include "ui_indicator_0_10.h" | ||
|
||
#define ui_init_indicator_0() \ | ||
_ui_init_indicator_0_0(); \ | ||
_ui_init_indicator_0_1(); \ | ||
_ui_init_indicator_0_2(); \ | ||
_ui_init_indicator_0_3(); \ | ||
_ui_init_indicator_0_4(); \ | ||
_ui_init_indicator_0_5(); \ | ||
_ui_init_indicator_0_6(); \ | ||
_ui_init_indicator_0_7(); \ | ||
_ui_init_indicator_0_8(); \ | ||
_ui_init_indicator_0_9(); \ | ||
_ui_init_indicator_0_10() | ||
|
||
#define ui_update_indicator_0() \ | ||
_ui_update_indicator_0_0(); \ | ||
_ui_update_indicator_0_1(); \ | ||
_ui_update_indicator_0_2(); \ | ||
_ui_update_indicator_0_3(); \ | ||
_ui_update_indicator_0_4(); \ | ||
_ui_update_indicator_0_5(); \ | ||
_ui_update_indicator_0_6(); \ | ||
_ui_update_indicator_0_7(); \ | ||
_ui_update_indicator_0_8(); \ | ||
_ui_update_indicator_0_9(); \ | ||
_ui_update_indicator_0_10() | ||
|
||
#define ui_remove_indicator_0() \ | ||
_ui_remove_indicator_0_0(); \ | ||
_ui_remove_indicator_0_1(); \ | ||
_ui_remove_indicator_0_2(); \ | ||
_ui_remove_indicator_0_3(); \ | ||
_ui_remove_indicator_0_4(); \ | ||
_ui_remove_indicator_0_5(); \ | ||
_ui_remove_indicator_0_6(); \ | ||
_ui_remove_indicator_0_7(); \ | ||
_ui_remove_indicator_0_8(); \ | ||
_ui_remove_indicator_0_9(); \ | ||
_ui_remove_indicator_0_10() | ||
|
||
|
||
#include "ui_indicator_1_0.h" | ||
|
||
#define ui_init_indicator_1() \ | ||
_ui_init_indicator_1_0() | ||
|
||
#define ui_update_indicator_1() \ | ||
_ui_update_indicator_1_0() | ||
|
||
#define ui_remove_indicator_1() \ | ||
_ui_remove_indicator_1_0() | ||
|
||
|
||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif //UI_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_0_H | ||
#define UI_indicator_0_0_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Flywheel_Text; | ||
|
||
void _ui_init_indicator_0_0(); | ||
void _ui_update_indicator_0_0(); | ||
void _ui_remove_indicator_0_0(); | ||
|
||
#endif //UI_indicator_0_0_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_1_H | ||
#define UI_indicator_0_1_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Spintop_Text; | ||
|
||
void _ui_init_indicator_0_1(); | ||
void _ui_update_indicator_0_1(); | ||
void _ui_remove_indicator_0_1(); | ||
|
||
#endif //UI_indicator_0_1_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_10_H | ||
#define UI_indicator_0_10_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_round_t *ui_indicator_0_Aim_Circle; | ||
extern ui_interface_line_t *ui_indicator_0_Aim_V_Line; | ||
extern ui_interface_line_t *ui_indicator_0_Aim_H_Line; | ||
extern ui_interface_line_t *ui_indicator_0_Pathway_Left; | ||
extern ui_interface_line_t *ui_indicator_0_Pathway_Right; | ||
|
||
void _ui_init_indicator_0_10(); | ||
void _ui_update_indicator_0_10(); | ||
void _ui_remove_indicator_0_10(); | ||
|
||
#endif //UI_indicator_0_10_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_2_H | ||
#define UI_indicator_0_2_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Autoaim_Text; | ||
|
||
void _ui_init_indicator_0_2(); | ||
void _ui_update_indicator_0_2(); | ||
void _ui_remove_indicator_0_2(); | ||
|
||
#endif //UI_indicator_0_2_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_3_H | ||
#define UI_indicator_0_3_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Flywheel_On; | ||
|
||
void _ui_init_indicator_0_3(); | ||
void _ui_update_indicator_0_3(); | ||
void _ui_remove_indicator_0_3(); | ||
|
||
#endif //UI_indicator_0_3_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_4_H | ||
#define UI_indicator_0_4_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Flywheel_Off; | ||
|
||
void _ui_init_indicator_0_4(); | ||
void _ui_update_indicator_0_4(); | ||
void _ui_remove_indicator_0_4(); | ||
|
||
#endif //UI_indicator_0_4_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_5_H | ||
#define UI_indicator_0_5_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Spintop_On; | ||
|
||
void _ui_init_indicator_0_5(); | ||
void _ui_update_indicator_0_5(); | ||
void _ui_remove_indicator_0_5(); | ||
|
||
#endif //UI_indicator_0_5_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_6_H | ||
#define UI_indicator_0_6_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Spintop_Off; | ||
|
||
void _ui_init_indicator_0_6(); | ||
void _ui_update_indicator_0_6(); | ||
void _ui_remove_indicator_0_6(); | ||
|
||
#endif //UI_indicator_0_6_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_7_H | ||
#define UI_indicator_0_7_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Autoaim_On; | ||
|
||
void _ui_init_indicator_0_7(); | ||
void _ui_update_indicator_0_7(); | ||
void _ui_remove_indicator_0_7(); | ||
|
||
#endif //UI_indicator_0_7_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_8_H | ||
#define UI_indicator_0_8_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Autoaim_Off; | ||
|
||
void _ui_init_indicator_0_8(); | ||
void _ui_update_indicator_0_8(); | ||
void _ui_remove_indicator_0_8(); | ||
|
||
#endif //UI_indicator_0_8_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_0_9_H | ||
#define UI_indicator_0_9_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_string_t *ui_indicator_0_Supercap_Percent; | ||
|
||
void _ui_init_indicator_0_9(); | ||
void _ui_update_indicator_0_9(); | ||
void _ui_remove_indicator_0_9(); | ||
|
||
#endif //UI_indicator_0_9_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// Created by RM UI Designer | ||
// | ||
|
||
#ifndef UI_indicator_1_0_H | ||
#define UI_indicator_1_0_H | ||
|
||
#include "ui_interface.h" | ||
|
||
extern ui_interface_rect_t *ui_indicator_1_Flywheel_Select; | ||
extern ui_interface_rect_t *ui_indicator_1_Spintop_Select; | ||
extern ui_interface_rect_t *ui_indicator_1_Autoaim_Select; | ||
extern ui_interface_number_t *ui_indicator_1_Supercap; | ||
|
||
void _ui_init_indicator_1_0(); | ||
void _ui_update_indicator_1_0(); | ||
void _ui_remove_indicator_1_0(); | ||
|
||
#endif //UI_indicator_1_0_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// Created by bismarckkk on 2024/2/17. | ||
// | ||
|
||
#ifndef SERIAL_TEST_UI_INTERFACE_H | ||
#define SERIAL_TEST_UI_INTERFACE_H | ||
|
||
#include <stdio.h> | ||
#include "ui_types.h" | ||
|
||
extern int ui_self_id; | ||
|
||
void print_message(const uint8_t* message, int length); | ||
|
||
#define SEND_MESSAGE(message, length) print_message(message, length) | ||
|
||
void ui_proc_1_frame(ui_1_frame_t *msg); | ||
void ui_proc_2_frame(ui_2_frame_t *msg); | ||
void ui_proc_5_frame(ui_5_frame_t *msg); | ||
void ui_proc_7_frame(ui_7_frame_t *msg); | ||
void ui_proc_string_frame(ui_string_frame_t *msg); | ||
|
||
#endif //SERIAL_TEST_UI_INTERFACE_H |
Oops, something went wrong.