Prusa MINI Firmware overview
display.h File Reference
#include <inttypes.h>
#include <stdio.h>
#include "guitypes.h"

Go to the source code of this file.

Classes

struct  _display_t
 

Typedefs

typedef struct _display_t display_t
 
typedef void() display_init_t(void)
 
typedef void() display_done_t(void)
 
typedef void() display_clear_t(color_t clr)
 
typedef void() display_set_pixel_t(point_ui16_t pt, color_t clr)
 
typedef void() display_draw_line_t(point_ui16_t pt, point_ui16_t pt1, color_t clr)
 
typedef void() display_draw_rect_t(rect_ui16_t rc, color_t clr)
 
typedef void() display_fill_rect_t(rect_ui16_t rc, color_t clr)
 
typedef void() display_draw_char_t(point_ui16_t pt, char chr, font_t *pf, color_t clr0, color_t clr1)
 
typedef void() display_draw_text_t(rect_ui16_t rc, const char *str, font_t *pf, color_t clr0, color_t clr1)
 
typedef void() display_draw_icon_t(point_ui16_t pt, uint16_t id_res, color_t clr0, uint8_t rop)
 
typedef void() display_draw_png_t(point_ui16_t pt, FILE *pf)
 

Variables

display_tdisplay
 

Typedef Documentation

◆ display_t

typedef struct _display_t display_t

◆ display_init_t

typedef void() display_init_t(void)

◆ display_done_t

typedef void() display_done_t(void)

◆ display_clear_t

typedef void() display_clear_t(color_t clr)

◆ display_set_pixel_t

typedef void() display_set_pixel_t(point_ui16_t pt, color_t clr)

◆ display_draw_line_t

typedef void() display_draw_line_t(point_ui16_t pt, point_ui16_t pt1, color_t clr)

◆ display_draw_rect_t

typedef void() display_draw_rect_t(rect_ui16_t rc, color_t clr)

◆ display_fill_rect_t

typedef void() display_fill_rect_t(rect_ui16_t rc, color_t clr)

◆ display_draw_char_t

typedef void() display_draw_char_t(point_ui16_t pt, char chr, font_t *pf, color_t clr0, color_t clr1)

◆ display_draw_text_t

typedef void() display_draw_text_t(rect_ui16_t rc, const char *str, font_t *pf, color_t clr0, color_t clr1)

◆ display_draw_icon_t

typedef void() display_draw_icon_t(point_ui16_t pt, uint16_t id_res, color_t clr0, uint8_t rop)

◆ display_draw_png_t

typedef void() display_draw_png_t(point_ui16_t pt, FILE *pf)

Variable Documentation

◆ display

display_t* display