Prusa MINI Firmware overview
|
#include "gui.h"
#include "config.h"
◆ screen_watchdog_t
◆ screen_watchdog_init()
24 if (screen->
pd == 0) {
◆ screen_watchdog_done()
◆ screen_watchdog_draw()
◆ screen_watchdog_event()
◆ screen_watchdog
Initial value:= {
{
0,
0,
0,
0,
},
0,
}
◆ pscreen_watchdog
void window_set_alignment(int16_t id, uint8_t alignment)
Definition: window.c:561
window_frame_t frame
Definition: screen_watchdog.c:11
void gui_free(void *ptr)
Definition: gui.c:39
void window_set_color_back(int16_t id, color_t clr)
Definition: window.c:431
void screen_watchdog_done(screen_watchdog_t *screen)
Definition: screen_watchdog.c:47
#define pd
Definition: screen_filebrowser.cpp:39
#define ALIGN_CENTER
Definition: guitypes.h:19
#define COLOR_RED
Definition: guitypes.h:42
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
#define IDR_FNT_NORMAL
Definition: resource.h:10
int() screen_event_t(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen.h:13
int16_t id
Definition: window.h:79
void screen_close(void)
Definition: screen.c:80
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
#define WINDOW_CLS_FRAME
Definition: window.h:9
void() screen_init_t(screen_t *screen)
Definition: screen.h:10
void window_set_tag(int16_t id, uint8_t tag)
Definition: window.c:329
#define IDR_FNT_BIG
Definition: resource.h:11
screen_watchdog_data_t * pd
Definition: screen_watchdog.c:18
window_t win
Definition: window_frame.h:19
Definition: screen_watchdog.c:9
#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
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
void screen_watchdog_init(screen_watchdog_t *screen)
Definition: screen_watchdog.c:23
void window_enable(int16_t id)
Definition: window.c:517
int screen_watchdog_event(screen_watchdog_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_watchdog.c:58
void() screen_draw_t(screen_t *screen)
Definition: screen.h:12
void() screen_done_t(screen_t *screen)
Definition: screen.h:11
void screen_watchdog_draw(screen_watchdog_t *screen)
Definition: screen_watchdog.c:55