Prusa MINI Firmware overview
window_dlg_unload.h File Reference
#include "dlg_result.h"

Go to the source code of this file.

Functions

dlg_result_t gui_dlg_unload (void)
 
dlg_result_t gui_dlg_unload_forced (void)
 

Function Documentation

◆ gui_dlg_unload()

dlg_result_t gui_dlg_unload ( void  )
24  {
25  //todo must be called inside _gui_dlg, but nested dialogs are not supported now
27  return DLG_ABORTED; //user can choose "RETURN"
28  return _gui_dlg_unload();
29 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gui_dlg_unload_forced()

dlg_result_t gui_dlg_unload_forced ( void  )
31  {
32  //todo must be called inside _gui_dlg, but nested dialogs are not supported now
33  if (gui_dlg_preheat_autoselect_if_able_forced("PREHEAT for UNLOAD") < 0)
34  return DLG_ABORTED; //LD_ABORTED should not happen
35  return _gui_dlg_unload();
36 }
Here is the call graph for this function:
Here is the caller graph for this function:
NULL
#define NULL
Definition: usbd_def.h:53
gui_dlg_preheat_autoselect_if_able
int gui_dlg_preheat_autoselect_if_able(const char *caption)
Definition: window_dlg_preheat.c:135
DLG_ABORTED
Definition: dlg_result.h:11
gui_dlg_preheat_autoselect_if_able_forced
int gui_dlg_preheat_autoselect_if_able_forced(const char *caption)
Definition: window_dlg_preheat.c:163
_gui_dlg_unload
static dlg_result_t _gui_dlg_unload(void)
Definition: window_dlg_unload.c:14