Prusa MINI Firmware overview
window_temp_graph.h
Go to the documentation of this file.
1 // window_graph_y.h
2 
3 #ifndef _WINDOW_GRAPH_Y_H
4 #define _WINDOW_GRAPH_Y_H
5 
6 #include "window.h"
7 
8 #define WINDOW_FLG_GRAPH_INVALID (WINDOW_FLG_USER << 0)
10 
11 typedef void(window_temp_graph_point_t)(window_temp_graph_t *pwindow_graph, uint8_t index, float y_val);
12 
13 extern int16_t WINDOW_CLS_TEMP_GRAPH;
14 
15 #pragma pack(push)
16 #pragma pack(1)
17 
18 typedef struct _window_temp_graph_t {
25  float y_min;
26  float y_max;
33 
37 
38 #pragma pack(pop)
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif //__cplusplus
43 
45 
46 #ifdef __cplusplus
47 }
48 #endif //__cplusplus
49 
50 #endif //_WINDOW_GRAPH_Y_H
_window_temp_graph_t::y_bed_t
uint8_t y_bed_t[180]
Definition: window_temp_graph.h:29
WINDOW_CLS_TEMP_GRAPH
int16_t WINDOW_CLS_TEMP_GRAPH
Definition: window_temp_graph.c:8
_window_temp_graph_t::win
window_t win
Definition: window_temp_graph.h:19
_rect_ui16_t::y
uint16_t y
Definition: guitypes.h:71
_rect_ui16_t::w
uint16_t w
Definition: guitypes.h:72
marlin_client.h
_window_temp_graph_t::count
uint8_t count
Definition: window_temp_graph.h:27
window_temp_graph_point_t
void() window_temp_graph_point_t(window_temp_graph_t *pwindow_graph, uint8_t index, float y_val)
Definition: window_temp_graph.h:11
COLOR_WHITE
#define COLOR_WHITE
Definition: guitypes.h:41
_window_class_temp_graph_t
Definition: window_temp_graph.h:34
window_temp_graph.h
_window_temp_graph_t::y_nozzle_c
uint8_t y_nozzle_c[180]
Definition: window_temp_graph.h:30
i
uint8_t i
Definition: screen_test_graph.c:72
WINDOW_CLS_USER
#define WINDOW_CLS_USER
Definition: window.h:21
window_class_temp_graph_t
struct _window_class_temp_graph_t window_class_temp_graph_t
_window_temp_graph_t::y_min
float y_min
Definition: window_temp_graph.h:25
window_class_temp_graph
const window_class_temp_graph_t window_class_temp_graph
Definition: window_temp_graph.c:132
COLOR_LIME
#define COLOR_LIME
Definition: guitypes.h:44
_window_class_temp_graph_t::cls
window_class_t cls
Definition: window_temp_graph.h:35
window_temp_graph_init
void window_temp_graph_init(window_temp_graph_t *window)
Definition: window_temp_graph.c:10
_window_temp_graph_t::y_max
float y_max
Definition: window_temp_graph.h:26
_display_t::fill_rect
display_fill_rect_t * fill_rect
Definition: display.h:33
COLOR_GRAY
#define COLOR_GRAY
Definition: guitypes.h:50
_window_temp_graph_t
Definition: window_temp_graph.h:18
_marlin_vars_t::temp_nozzle
float temp_nozzle
Definition: marlin_vars.h:83
window_class_temp_graph
const window_class_temp_graph_t window_class_temp_graph
Definition: window_temp_graph.c:132
COLOR_ORANGE
#define COLOR_ORANGE
Definition: guitypes.h:57
_window_temp_graph_t::color_extruder_t
color_t color_extruder_t
Definition: window_temp_graph.h:21
_window_temp_graph_t::color_bed_t
color_t color_bed_t
Definition: window_temp_graph.h:22
_window_t
Definition: window.h:76
marlin_vars
marlin_vars_t * marlin_vars(void)
Definition: marlin_client.c:361
void
void
Definition: png.h:1083
_marlin_vars_t::target_nozzle
float target_nozzle
Definition: marlin_vars.h:85
display_helper.h
_window_temp_graph_t::y_nozzle_t
uint8_t y_nozzle_t[180]
Definition: window_temp_graph.h:28
_display_t::set_pixel
display_set_pixel_t * set_pixel
Definition: display.h:30
_rect_ui16_t
Definition: guitypes.h:69
_window_temp_graph_t::color_bed_c
color_t color_bed_c
Definition: window_temp_graph.h:24
_marlin_vars_t::temp_bed
float temp_bed
Definition: marlin_vars.h:84
uint8_t
const uint8_t[]
Definition: 404_html.c:3
_window_class_t
Definition: window.h:67
display
display_t * display
Definition: display.c:6
WINDOW_FLG_GRAPH_INVALID
#define WINDOW_FLG_GRAPH_INVALID
Definition: window_temp_graph.h:8
_rect_ui16_t::h
uint16_t h
Definition: guitypes.h:73
_window_t::rect
rect_ui16_t rect
Definition: window.h:101
COLOR_BLUE
#define COLOR_BLUE
Definition: guitypes.h:45
COLOR_CYAN
#define COLOR_CYAN
Definition: guitypes.h:47
_window_temp_graph_t::color_extruder_c
color_t color_extruder_c
Definition: window_temp_graph.h:23
COLOR_BLACK
#define COLOR_BLACK
Definition: guitypes.h:40
window.h
_marlin_vars_t
Definition: marlin_vars.h:77
_rect_ui16_t::x
uint16_t x
Definition: guitypes.h:70
_window_temp_graph_t::color_back
color_t color_back
Definition: window_temp_graph.h:20
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
_window_t::flg
uint32_t flg
Definition: window.h:81
window_temp_graph_draw
void window_temp_graph_draw(window_temp_graph_t *window)
Definition: window_temp_graph.c:29
_window_temp_graph_t::y_bed_c
uint8_t y_bed_c[180]
Definition: window_temp_graph.h:31
_display_t::draw_line
display_draw_line_t * draw_line
Definition: display.h:31
_marlin_vars_t::target_bed
float target_bed
Definition: marlin_vars.h:86
WINDOW_FLG_INVALID
#define WINDOW_FLG_INVALID
Definition: window.h:26
WINDOW_CLS_TEMP_GRAPH
int16_t WINDOW_CLS_TEMP_GRAPH
Definition: window_temp_graph.c:8
window_temp_graph_t
struct _window_temp_graph_t window_temp_graph_t
Definition: window_temp_graph.h:9
point_ui16
static point_ui16_t point_ui16(uint16_t x, uint16_t y)
Definition: guitypes.h:154