Prusa MINI Firmware overview
screen_print_preview.h File Reference
#include "gui.h"

Go to the source code of this file.

Typedefs

typedef void(* print_preview_action_handler_t) (print_preview_action_t action)
 

Enumerations

enum  print_preview_action_t { PRINT_PREVIEW_ACTION_BACK, PRINT_PREVIEW_ACTION_PRINT }
 

Functions

void screen_print_preview_set_on_action (print_preview_action_handler_t handler)
 
void screen_print_preview_set_gcode_filepath (const char *fpath)
 
const char * screen_print_preview_get_gcode_filepath ()
 
void screen_print_preview_set_gcode_filename (const char *fname)
 

Variables

screen_t *const pscreen_print_preview
 

Typedef Documentation

◆ print_preview_action_handler_t

typedef void(* print_preview_action_handler_t) (print_preview_action_t action)

Enumeration Type Documentation

◆ print_preview_action_t

Enumerator
PRINT_PREVIEW_ACTION_BACK 
PRINT_PREVIEW_ACTION_PRINT 

Function Documentation

◆ screen_print_preview_set_on_action()

void screen_print_preview_set_on_action ( print_preview_action_handler_t  handler)
94  {
95  action_handler = handler;
96 }
Here is the caller graph for this function:

◆ screen_print_preview_set_gcode_filepath()

void screen_print_preview_set_gcode_filepath ( const char *  fpath)
81  {
82  gcode_file_path = fpath;
83 }
Here is the caller graph for this function:

◆ screen_print_preview_get_gcode_filepath()

const char* screen_print_preview_get_gcode_filepath ( )
85  {
86  return gcode_file_path;
87 }
Here is the caller graph for this function:

◆ screen_print_preview_set_gcode_filename()

void screen_print_preview_set_gcode_filename ( const char *  fname)
89  {
90  gcode_file_name = fname;
91 }
Here is the caller graph for this function:

Variable Documentation

◆ pscreen_print_preview

screen_t* const pscreen_print_preview
gcode_file_name
static const char * gcode_file_name
Definition: screen_print_preview.c:52
PRINT_PREVIEW_ACTION_PRINT
Definition: screen_print_preview.h:10
PRINT_PREVIEW_ACTION_BACK
Definition: screen_print_preview.h:9
action_handler
static print_preview_action_handler_t action_handler
Definition: screen_print_preview.c:54
print_preview_action_t
print_preview_action_t
Definition: screen_print_preview.h:8
gcode_file_path
static const char * gcode_file_path
Definition: screen_print_preview.c:53