Prusa MINI Firmware overview
|
#include "gui.h"
#include "config.h"
#include "status_footer.h"
#include "math.h"
#include "marlin_client.h"
◆ pd
◆ btnMeshStrings_sz
◆ meshStrings_sz
◆ MESH_DEFAULT_CL
◆ MESH_ACTIVE_CL
◆ mesh_state_t
Enumerator |
---|
MS_idle | |
MS_home | |
MS_homeing | |
MS_homed | |
MS_mesh | |
MS_meshing | |
MS_meshed | |
◆ anonymous enum
Enumerator |
---|
TAG_QUIT | |
TAG_MESH | |
◆ gui_state_mesh_off()
◆ gui_state_mesh_on()
◆ screen_mesh_bed_lv_init()
116 &(
pd->text_mesh_state));
122 pd->term.term = &(
pd->terminal);
◆ screen_mesh_bed_lv_done()
◆ screen_mesh_bed_lv_draw()
◆ screen_mesh_bed_lv_event()
151 switch ((
int)param) {
166 switch ((
int)param) {
177 switch (
pd->mesh_state) {
◆ btnMeshStrings
const char* btnMeshStrings[] = { "Run mesh", "Mesh in progress" } |
◆ meshStrings
const char* meshStrings[] = { "Mesh not in failed state", "Mesh in failed state" } |
◆ screen_mesh_bed_lv
◆ pscreen_mesh_bed_lv
#define WINDOW_CLS_TERM
Definition: window.h:17
int marlin_event(uint8_t evt_id)
Definition: marlin_client.c:232
Definition: screen_mesh_bed_lv.cpp:19
Definition: screen_mesh_bed_lv.cpp:22
Definition: screen_mesh_bed_lv.cpp:18
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
void window_destroy(int16_t id)
Definition: window.c:132
Definition: screen_mesh_bed_lv.cpp:24
#define WINDOW_EVENT_CHANGE
Definition: window.h:47
int marlin_error_clr(uint8_t err_id)
Definition: marlin_client.c:324
Definition: screen_mesh_bed_lv.cpp:28
void screen_close(void)
Definition: screen.c:80
#define MARLIN_ERR_ProbingFailed
Definition: marlin_errors.h:9
void window_disable(int16_t id)
Definition: window.c:523
void screen_mesh_bed_lv_init(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:92
mesh_state_t
Definition: screen_mesh_bed_lv.cpp:17
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
static void gui_state_mesh_off(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:67
static void gui_state_mesh_on(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:78
#define WINDOW_CLS_FRAME
Definition: window.h:9
Definition: screen_mesh_bed_lv.cpp:87
void window_set_tag(int16_t id, uint8_t tag)
Definition: window.c:329
#define IDR_FNT_BIG
Definition: resource.h:11
display_t * display
Definition: display.c:6
Definition: screen_mesh_bed_lv.cpp:88
Definition: screen_mesh_bed_lv.cpp:20
#define WINDOW_CLS_TEXT
Definition: window.h:10
font_t * resource_font(uint16_t id)
Definition: guitypes.c:186
#define WINDOW_EVENT_CLICK
Definition: window.h:46
void term_init(term_t *pt, uint8_t cols, uint8_t rows, uint8_t *buff)
Definition: term.c:6
const char * meshStrings[]
Definition: screen_mesh_bed_lv.cpp:58
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
void window_enable(int16_t id)
Definition: window.c:517
void screen_mesh_bed_lv_draw(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:141
#define MARLIN_EVT_Ready
Definition: marlin_events.h:31
uint16_t w
Definition: display.h:25
#define pd
Definition: screen_mesh_bed_lv.cpp:53
#define WINDOW_EVENT_LOOP
Definition: window.h:49
Definition: screen_mesh_bed_lv.cpp:23
int marlin_error(uint8_t err_id)
Definition: marlin_client.c:304
const char * btnMeshStrings[]
Definition: screen_mesh_bed_lv.cpp:55
#define MESH_DEFAULT_CL
Definition: screen_mesh_bed_lv.cpp:63
int marlin_gcode_printf(const char *format,...)
Definition: marlin_client.c:206
#define MESH_ACTIVE_CL
Definition: screen_mesh_bed_lv.cpp:64
void window_set_color_text(int16_t id, color_t clr)
Definition: window.c:457
int marlin_event_clr(uint8_t evt_id)
Definition: marlin_client.c:252
int screen_mesh_bed_lv_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_mesh_bed_lv.cpp:144
void screen_mesh_bed_lv_done(screen_t *screen)
Definition: screen_mesh_bed_lv.cpp:137
Definition: screen_mesh_bed_lv.cpp:21