Prusa MINI Firmware overview
|
#include "screen_menu.h"
#include "config.h"
#include "stdlib.h"
|
void | window_set_capture (int16_t id) |
|
void | screen_menu_item (window_menu_t *pwindow_menu, uint16_t index, window_menu_item_t **ppitem, void *data) |
|
void | screen_menu_init (screen_t *screen, const char *label, int count, uint8_t footer, uint8_t help) |
|
void | screen_menu_done (screen_t *screen) |
|
void | screen_menu_draw (screen_t *screen) |
|
int | screen_menu_event (screen_t *screen, window_t *window, uint8_t event, void *param) |
|
◆ window_set_capture()
void window_set_capture |
( |
int16_t |
id | ) |
|
◆ screen_menu_item()
22 *ppitem = &(
psmd->items[index].item);
◆ screen_menu_init()
50 menu_rect, &(
psmd->menu));
53 psmd->menu.count = count;
55 psmd->menu.data = (
void *)screen;
◆ screen_menu_done()
◆ screen_menu_draw()
◆ screen_menu_event()
◆ menu_item_return
#define WINDOW_EVENT_CAPT_0
Definition: window.h:44
window_t * window_ptr(int16_t id)
Definition: window.c:82
Definition: window_text.h:15
#define WINDOW_EVENT_CAPT_1
Definition: window.h:45
uint32_t f_enabled
Definition: window.h:86
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
uint8_t data[8]
Definition: masstorage.h:49
void window_destroy(int16_t id)
Definition: window.c:132
static padding_ui8_t padding_ui8(uint8_t l, uint8_t t, uint8_t r, uint8_t b)
Definition: guitypes.h:164
help
Definition: createSpeedLookupTable.py:15
#define IDR_FNT_SPECIAL
Definition: resource.h:13
void screen_open(int16_t screen_id)
Definition: screen.c:62
#define NULL
Definition: usbd_def.h:53
void screen_close(void)
Definition: screen.c:80
void window_disable(int16_t id)
Definition: window.c:523
void gui_invalidate(void)
Definition: gui.c:66
#define WINDOW_CLS_FRAME
Definition: window.h:9
#define WINDOW_CLS_MENU
Definition: window.h:18
void window_set_focus(int16_t id)
Definition: window.c:480
#define IDR_PNG_filescreen_icon_up_folder
Definition: resource.h:42
Definition: guitypes.h:69
uint16_t h
Definition: guitypes.h:73
uint32_t f_capture
Definition: window.h:90
#define WINDOW_CLS_TEXT
Definition: window.h:10
font_t * resource_font(uint16_t id)
Definition: guitypes.c:186
uint32_t f_visible
Definition: window.h:85
#define WINDOW_EVENT_CLICK
Definition: window.h:46
window_event_t * event
Definition: window.h:102
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
window_t * window_capture_ptr
Definition: window.c:21
int16_t id
Definition: screen.h:19
int
Definition: createSpeedLookupTable.py:15