Prusa MINI Firmware overview
window_logo.h
Go to the documentation of this file.
1 /*
2  * window_logo.h
3  *
4  * Created on: 28. 8. 2019
5  * Author: mcbig
6  */
7 
8 #ifndef WINDOW_LOGO_H_
9 #define WINDOW_LOGO_H_
10 
11 #include "gui.h"
12 
13 #pragma pack(push)
14 #pragma pack(1)
15 
16 typedef struct _window_class_logo_t {
19 
20 typedef struct _window_logo_t {
22 
25 
26 #pragma pack(pop)
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif //__cplusplus
31 
32 extern int16_t WINDOW_CLS_LOGO;
33 
35 
36 #ifdef __cplusplus
37 }
38 #endif //__cplusplus
39 
40 #endif /* WINDOW_LOGO_H_ */
window_draw_t
void() window_draw_t(void *window)
Definition: window.h:57
window_logo_draw
void window_logo_draw(window_logo_t *window)
Definition: window_logo.c:19
_rect_ui16_t::y
uint16_t y
Definition: guitypes.h:71
_font_t
Definition: guitypes.h:76
window_class_logo_t
struct _window_class_logo_t window_class_logo_t
_display_t::draw_char
display_draw_char_t * draw_char
Definition: display.h:34
COLOR_WHITE
#define COLOR_WHITE
Definition: guitypes.h:41
_window_class_logo_t
Definition: window_logo.h:16
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_logo_t::win
window_t win
Definition: window_logo.h:21
IDR_FNT_NORMAL
#define IDR_FNT_NORMAL
Definition: resource.h:10
WINDOW_CLS_USER
#define WINDOW_CLS_USER
Definition: window.h:21
WINDOW_FLG_VISIBLE
#define WINDOW_FLG_VISIBLE
Definition: window.h:24
_window_logo_t::color_back
color_t color_back
Definition: window_logo.h:23
_display_t::draw_text
display_draw_text_t * draw_text
Definition: display.h:35
WINDOW_CLS_LOGO
int16_t WINDOW_CLS_LOGO
Definition: window_logo.c:11
window_logo_t
struct _window_logo_t window_logo_t
COLOR_GRAY
#define COLOR_GRAY
Definition: guitypes.h:50
window_done_t
void() window_done_t(void *window)
Definition: window.h:56
COLOR_ORANGE
#define COLOR_ORANGE
Definition: guitypes.h:57
window_class_logo
const window_class_logo_t window_class_logo
Definition: window_logo.c:51
_window_t
Definition: window.h:76
_gui_defaults_t::color_back
color_t color_back
Definition: guitypes.h:107
_window_class_logo_t::cls
window_class_t cls
Definition: window_logo.h:17
_window_logo_t
Definition: window_logo.h:20
window_class_logo
const window_class_logo_t window_class_logo
Definition: window_logo.c:51
window_logo_done
void window_logo_done(window_logo_t *window)
Definition: window_logo.c:17
_window_class_t
Definition: window.h:67
display
display_t * display
Definition: display.c:6
_window_t::rect
rect_ui16_t rect
Definition: window.h:101
window_logo.h
window_logo_init
void window_logo_init(window_logo_t *window)
Definition: window_logo.c:13
resource_font
font_t * resource_font(uint16_t id)
Definition: guitypes.c:186
WINDOW_CLS_LOGO
int16_t WINDOW_CLS_LOGO
Definition: window_logo.c:11
config.h
color_t
uint32_t color_t
Definition: guitypes.h:62
window_init_t
void() window_init_t(void *window)
Definition: window.h:55
gui.h
gui_defaults
gui_defaults_t gui_defaults
Definition: gui.c:20
_window_t::flg
uint32_t flg
Definition: window.h:81
IDR_FNT_original_prusa
#define IDR_FNT_original_prusa
Definition: resource.h:14
WINDOW_FLG_INVALID
#define WINDOW_FLG_INVALID
Definition: window.h:26
point_ui16
static point_ui16_t point_ui16(uint16_t x, uint16_t y)
Definition: guitypes.h:154