Prusa MINI Firmware overview
|
#include "gui.h"
#include "wizard_types.h"
Go to the source code of this file.
|
int | wizard_timer (uint32_t *p_timer, uint32_t delay_ms, _TEST_STATE_t *pstate, _WIZ_TIMER_t type) |
|
void | wizard_update_test_icon (int16_t win_id, uint8_t state) |
|
uint16_t | wizard_get_test_icon_resource (uint8_t state) |
|
int | wizard_msgbox_ex (const char *text, uint16_t flags, uint16_t id_icon, rect_ui16_t rc) |
|
int | wizard_msgbox (const char *text, uint16_t flags, uint16_t id_icon) |
|
int | wizard_msgbox1 (const char *text, uint16_t flags, uint16_t id_icon) |
|
int | wizard_msgbox_btns (const char *text, uint16_t flags, uint16_t id_icon, const char **buttons) |
|
void | wizard_init (float t_noz, float t_bed) |
|
void | wizard_init_disable_PID (float t_noz, float t_bed) |
|
◆ WIZARD_MARGIN_LEFT
#define WIZARD_MARGIN_LEFT 6 |
◆ WIZARD_MARGIN_RIGHT
#define WIZARD_MARGIN_RIGHT 6 |
◆ WIZARD_X_SPACE
◆ MSGBOX_BTN_NEXT
◆ MSGBOX_BTN_DONE
◆ _WIZ_TIMER_t
Enumerator |
---|
_WIZ_TIMER | |
_WIZ_TIMER_AUTOPASS | |
_WIZ_TIMER_AUTOFAIL | |
◆ wizard_timer()
66 progress = 100 * (
HAL_GetTick() - *p_timer) / delay_ms;
67 if (progress >= 100) {
◆ wizard_update_test_icon()
void wizard_update_test_icon |
( |
int16_t |
win_id, |
|
|
uint8_t |
state |
|
) |
| |
◆ wizard_get_test_icon_resource()
uint16_t wizard_get_test_icon_resource |
( |
uint8_t |
state | ) |
|
◆ wizard_msgbox_ex()
int wizard_msgbox_ex |
( |
const char * |
text, |
|
|
uint16_t |
flags, |
|
|
uint16_t |
id_icon, |
|
|
rect_ui16_t |
rc |
|
) |
| |
30 const char *custom_btn = 0;
◆ wizard_msgbox()
int wizard_msgbox |
( |
const char * |
text, |
|
|
uint16_t |
flags, |
|
|
uint16_t |
id_icon |
|
) |
| |
◆ wizard_msgbox1()
int wizard_msgbox1 |
( |
const char * |
text, |
|
|
uint16_t |
flags, |
|
|
uint16_t |
id_icon |
|
) |
| |
◆ wizard_msgbox_btns()
int wizard_msgbox_btns |
( |
const char * |
text, |
|
|
uint16_t |
flags, |
|
|
uint16_t |
id_icon, |
|
|
const char ** |
buttons |
|
) |
| |
◆ wizard_init()
void wizard_init |
( |
float |
t_noz, |
|
|
float |
t_bed |
|
) |
| |
◆ wizard_init_disable_PID()
void wizard_init_disable_PID |
( |
float |
t_noz, |
|
|
float |
t_bed |
|
) |
| |
#define MSGBOX_MSK_BTN
Definition: window_msgbox.h:9
static void _wizard_init_test()
Definition: wizard_ui.c:91
#define IDR_PNG_wizard_icon_ip1
Definition: resource.h:55
Definition: wizard_types.h:88
#define IDR_PNG_wizard_icon_ng
Definition: resource.h:53
uint8_t type
Definition: UsbCore.h:184
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
static volatile fsensor_t state
Definition: filament_sensor.c:23
void window_set_icon_id(int16_t id, uint16_t id_res)
Definition: window.c:659
u8_t flags
Definition: netif.h:305
#define MSGBOX_ICO_CUSTOM
Definition: window_msgbox.h:32
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f4xx_hal.c:339
#define MSGBOX_BTN_DONE
Definition: wizard_ui.h:13
Definition: wizard_types.h:86
#define IDR_PNG_wizard_icon_ip0
Definition: resource.h:54
Definition: wizard_ui.h:21
#define MSGBOX_BTN_CUSTOM1
Definition: window_msgbox.h:26
#define IDR_PNG_wizard_icon_na
Definition: resource.h:51
Definition: wizard_ui.h:20
Definition: wizard_types.h:85
_WIZ_TIMER_t
Definition: wizard_ui.h:18
uint16_t wizard_get_test_icon_resource(uint8_t state)
Definition: wizard_ui.c:10
int wizard_msgbox_ex(const char *text, uint16_t flags, uint16_t id_icon, rect_ui16_t rc)
Definition: wizard_ui.c:29
static void _disable_PID()
Definition: wizard_ui.c:102
#define IDR_PNG_wizard_icon_ok
Definition: resource.h:52
int marlin_gcode_printf(const char *format,...)
Definition: marlin_client.c:206
#define MSGBOX_BTN_NEXT
Definition: wizard_ui.h:12
Definition: wizard_ui.h:19
Definition: wizard_types.h:87