Prusa MINI Firmware overview
|
Go to the documentation of this file.
8 #ifndef WINDOW_HEADER_H_
9 #define WINDOW_HEADER_H_
27 #define HEADER_ICON_COUNT HEADER_ICON_WIFI + 1
72 #define window_header_events(window) \
73 p_window_header_event_clr(window, MARLIN_EVT_MediaInserted); \
74 p_window_header_event_clr(window, MARLIN_EVT_MediaRemoved); \
75 p_window_header_event_clr(window, MARLIN_EVT_MediaError);
#define RENDER_FLG(a, r)
Definition: display_helper.h:10
void() window_draw_t(void *window)
Definition: window.h:57
uint16_t y
Definition: guitypes.h:71
uint16_t w
Definition: guitypes.h:72
Definition: guitypes.h:76
#define IDR_PNG_header_icon_usb
Definition: resource.h:63
Definition: window_frame.h:18
color_t color_text
Definition: guitypes.h:108
#define ALIGN_CENTER
Definition: guitypes.h:19
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
font_t * font
Definition: guitypes.h:110
#define IDR_PNG_header_icon_lan
Definition: resource.h:64
uint8_t i
Definition: screen_test_graph.c:72
#define WINDOW_CLS_USER
Definition: window.h:21
#define IDR_NULL
Definition: resource.h:6
#define WINDOW_FLG_VISIBLE
Definition: window.h:24
#define MARLIN_EVT_MediaInserted
Definition: marlin_events.h:11
#define NULL
Definition: usbd_def.h:53
display_fill_rect_t * fill_rect
Definition: display.h:33
padding_ui8_t padding
Definition: guitypes.h:112
void() window_done_t(void *window)
Definition: window.h:56
#define ROPFN_DISABLE
Definition: guitypes.h:33
color_t color_back
Definition: guitypes.h:107
Definition: guitypes.h:86
Definition: guitypes.h:69
void render_text_align(rect_ui16_t rc, const char *text, font_t *font, color_t clr0, color_t clr1, padding_ui8_t padding, uint16_t flags)
Definition: display_helper.c:6
const uint8_t[]
Definition: 404_html.c:3
display_t * display
Definition: display.c:6
uint16_t h
Definition: guitypes.h:73
rect_ui16_t rect
Definition: window.h:101
#define IDR_PNG_header_icon_wifi
Definition: resource.h:65
uint16_t x
Definition: guitypes.h:70
uint32_t color_t
Definition: guitypes.h:62
void() window_init_t(void *window)
Definition: window.h:55
#define MARLIN_EVT_MediaRemoved
Definition: marlin_events.h:13
gui_defaults_t gui_defaults
Definition: gui.c:20
void render_icon_align(rect_ui16_t rc, uint16_t id_res, color_t clr0, uint16_t flags)
Definition: display_helper.c:55
uint32_t flg
Definition: window.h:81
#define WINDOW_FLG_INVALID
Definition: window.h:26
static void _window_invalidate(window_t *window)
Definition: window.h:257
int marlin_event_clr(uint8_t evt_id)
Definition: marlin_client.c:252
#define netif_is_up(netif)
Definition: netif.h:401
#define ALIGN_LEFT_CENTER
Definition: guitypes.h:21