Prusa MINI Firmware overview
window_lcdsim.h
Go to the documentation of this file.
1 // window_lcdsim.h
2 
3 #ifndef _WINDOW_LCDSIM_H
4 #define _WINDOW_LCDSIM_H
5 
6 #include "window.h"
7 
8 #pragma pack(push)
9 #pragma pack(1)
10 
11 typedef struct _window_class_lcdsim_t {
14 
15 typedef struct _window_lcdsim_t {
21 
22 #pragma pack(pop)
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif //__cplusplus
27 
28 extern int16_t WINDOW_CLS_LCDSIM;
29 
30 //extern int16_t window_lcdsim_create(int16_t id_parent, rect_ui16_t rc, font_t* font, color_t color_back, color_t color_text);
31 
33 
34 #ifdef __cplusplus
35 }
36 #endif //__cplusplus
37 
38 #endif //_WINDOW_LCDSIM_H
lcdsim.h
_rect_ui16_t::y
uint16_t y
Definition: guitypes.h:71
_font_t::h
uint8_t h
Definition: guitypes.h:78
_font_t
Definition: guitypes.h:76
_display_t::draw_char
display_draw_char_t * draw_char
Definition: display.h:34
WINDOW_CLS_LCDSIM
int16_t WINDOW_CLS_LCDSIM
Definition: window_lcdsim.c:6
COLOR_WHITE
#define COLOR_WHITE
Definition: guitypes.h:41
lcdsim_char_at
uint8_t lcdsim_char_at(uint8_t col, uint8_t row)
Definition: lcdsim.c:85
COLOR_RED
#define COLOR_RED
Definition: guitypes.h:42
rect_ui16
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
window_lcdsim_t
struct _window_lcdsim_t window_lcdsim_t
WINDOW_CLS_USER
#define WINDOW_CLS_USER
Definition: window.h:21
WINDOW_FLG_VISIBLE
#define WINDOW_FLG_VISIBLE
Definition: window.h:24
_window_lcdsim_t::win
window_t win
Definition: window_lcdsim.h:16
_window_class_lcdsim_t
Definition: window_lcdsim.h:11
window_lcdsim_done
void window_lcdsim_done(window_lcdsim_t *window)
Definition: window_lcdsim.c:15
lcdsim_user_charset_ptr
uint8_t * lcdsim_user_charset_ptr(void)
Definition: lcdsim.c:89
lcdsim_inval_mask
uint32_t lcdsim_inval_mask[LCDSIM_ROWS]
Definition: lcdsim.c:40
window_class_lcdsim
const window_class_lcdsim_t window_class_lcdsim
Definition: window_lcdsim.c:58
_display_t::fill_rect
display_fill_rect_t * fill_rect
Definition: display.h:33
_window_lcdsim_t::font
font_t * font
Definition: window_lcdsim.h:19
window_lcdsim_draw
void window_lcdsim_draw(window_lcdsim_t *window)
Definition: window_lcdsim.c:18
_window_t
Definition: window.h:76
_window_lcdsim_t::color_text
color_t color_text
Definition: window_lcdsim.h:18
window_lcdsim.h
_font_t::w
uint8_t w
Definition: guitypes.h:77
window_class_lcdsim_t
struct _window_class_lcdsim_t window_class_lcdsim_t
window_lcdsim_init
void window_lcdsim_init(window_lcdsim_t *window)
Definition: window_lcdsim.c:8
uint8_t
const uint8_t[]
Definition: 404_html.c:3
_window_class_t
Definition: window.h:67
IDR_FNT_BIG
#define IDR_FNT_BIG
Definition: resource.h:11
display
display_t * display
Definition: display.c:6
_window_t::rect
rect_ui16_t rect
Definition: window.h:101
COLOR_BLUE
#define COLOR_BLUE
Definition: guitypes.h:45
resource_font
font_t * resource_font(uint16_t id)
Definition: guitypes.c:186
window.h
_rect_ui16_t::x
uint16_t x
Definition: guitypes.h:70
_window_lcdsim_t
Definition: window_lcdsim.h:15
color_t
uint32_t color_t
Definition: guitypes.h:62
window_init_t
void() window_init_t(void *window)
Definition: window.h:55
_window_class_lcdsim_t::cls
window_class_t cls
Definition: window_lcdsim.h:12
gui.h
WINDOW_CLS_LCDSIM
int16_t WINDOW_CLS_LCDSIM
Definition: window_lcdsim.c:6
_window_t::flg
uint32_t flg
Definition: window.h:81
_window_lcdsim_t::color_back
color_t color_back
Definition: window_lcdsim.h:17
WINDOW_FLG_INVALID
#define WINDOW_FLG_INVALID
Definition: window.h:26
window_class_lcdsim
const window_class_lcdsim_t window_class_lcdsim
Definition: window_lcdsim.c:58
point_ui16
static point_ui16_t point_ui16(uint16_t x, uint16_t y)
Definition: guitypes.h:154