Prusa MINI Firmware overview
|
#include "gui.h"
#include "screen_menu.h"
#include "marlin_server.h"
#include <stdlib.h>
◆ pmsg
◆ screen_messages_data_t
◆ _window_list_add_message_item()
void _window_list_add_message_item |
( |
window_list_t * |
pwindow_list, |
|
|
uint16_t |
index, |
|
|
const char ** |
pptext, |
|
|
uint16_t * |
msg_icon |
|
) |
| |
33 static const char empty_str[] =
"";
34 static const char back_str[] =
"BACK";
◆ _msg_stack_del()
◆ screen_messages_init()
◆ screen_messages_draw()
◆ screen_messages_event()
87 if (
pmsg->list.index == 0) {
◆ screen_messages_done()
◆ screen_messages
◆ msg_stack
◆ pscreen_messages
Definition: marlin_server.h:26
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
void * gui_malloc(unsigned int size)
Definition: gui.c:35
void window_destroy(int16_t id)
Definition: window.c:132
uint8_t i
Definition: screen_test_graph.c:72
uint8_t count
Definition: marlin_server.h:29
void screen_close(void)
Definition: screen.c:80
char msg_data[MSG_STACK_SIZE][MSG_MAX_LENGTH]
Definition: marlin_server.h:28
#define WINDOW_CLS_LIST
Definition: window.h:13
void window_disable(int16_t id)
Definition: window.c:523
void screen_messages_done(screen_t *screen)
Definition: screen_messages.c:106
#define WINDOW_CLS_FRAME
Definition: window.h:9
struct _screen_messages_data_t screen_messages_data_t
void screen_messages_init(screen_t *screen)
Definition: screen_messages.c:55
const uint8_t[]
Definition: 404_html.c:3
#define MSG_MAX_LENGTH
Definition: marlin_server.h:19
#define WINDOW_EVENT_CLICK
Definition: window.h:46
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
int screen_messages_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_messages.c:81
#define pmsg
Definition: screen_messages.c:29
void screen_messages_draw(screen_t *screen)
Definition: screen_messages.c:78
#define WINDOW_EVENT_BTN_DN
Definition: window.h:38
void window_set_item_count(int16_t id, int count)
Definition: window.c:573
void window_set_item_callback(int16_t id, window_list_item_t *fnc)
Definition: window.c:787
void _window_list_add_message_item(window_list_t *pwindow_list, uint16_t index, const char **pptext, uint16_t *msg_icon)
Definition: screen_messages.c:31
void window_set_item_index(int16_t id, int index)
Definition: window.c:598