gwenhywfar 5.14.1
gui_dialogs.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void GWEN_Gui_DialogBased_CheckShow (GWEN_UNUSED GWEN_GUI *gui, GWEN_PROGRESS_DATA *pd)
void GWENHYWFAR_CB GWEN_Gui_DialogBased_HideBox (GWEN_GUI *gui, uint32_t id)
int GWENHYWFAR_CB GWEN_Gui_DialogBased_InputBox (GWEN_UNUSED GWEN_GUI *gui, uint32_t flags, const char *title, const char *text, char *buffer, int minLen, int maxLen, GWEN_UNUSED uint32_t guiid)
int GWENHYWFAR_CB GWEN_Gui_DialogBased_MessageBox (GWEN_UNUSED GWEN_GUI *gui, uint32_t flags, const char *title, const char *text, const char *b1, const char *b2, const char *b3, GWEN_UNUSED uint32_t guiid)
int GWENHYWFAR_CB GWEN_Gui_DialogBased_ProgressAdvance (GWEN_GUI *gui, uint32_t pid, uint64_t progress)
int GWENHYWFAR_CB GWEN_Gui_DialogBased_ProgressEnd (GWEN_GUI *gui, uint32_t pid)
int GWENHYWFAR_CB GWEN_Gui_DialogBased_ProgressLog (GWEN_GUI *gui, uint32_t pid, GWEN_LOGGER_LEVEL level, const char *text)
int GWENHYWFAR_CB GWEN_Gui_DialogBased_ProgressSetTotal (GWEN_GUI *gui, uint32_t pid, uint64_t total)
uint32_t GWENHYWFAR_CB GWEN_Gui_DialogBased_ProgressStart (GWEN_GUI *gui, uint32_t progressFlags, const char *title, const char *text, uint64_t total, uint32_t guiid)
uint32_t GWENHYWFAR_CB GWEN_Gui_DialogBased_ShowBox (GWEN_GUI *gui, uint32_t flags, const char *title, const char *text, uint32_t guiid)
int GWENHYWFAR_CB GWEN_Gui_ShowProgress (GWEN_PROGRESS_DATA *pd)
void GWEN_Gui_UseDialogs (GWEN_GUI *gui)

Function Documentation

◆ GWEN_Gui_DialogBased_CheckShow()

◆ GWEN_Gui_DialogBased_HideBox()

void GWENHYWFAR_CB GWEN_Gui_DialogBased_HideBox ( GWEN_GUI * gui,
uint32_t id )

Definition at line 557 of file gui_dialogs.c.

References DBG_INFO, GWEN_Dialog_free(), GWEN_Dialog_GetGuiId(), GWEN_Dialog_List_Del(), GWEN_Dialog_List_First(), GWEN_Dialog_List_Last(), GWEN_Dialog_List_Next(), GWEN_Gui_CloseDialog(), GWEN_LOGDOMAIN, and GWENHYWFAR_CB.

Referenced by GWEN_Gui_UseDialogs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Gui_DialogBased_InputBox()

int GWENHYWFAR_CB GWEN_Gui_DialogBased_InputBox ( GWEN_UNUSED GWEN_GUI * gui,
uint32_t flags,
const char * title,
const char * text,
char * buffer,
int minLen,
int maxLen,
GWEN_UNUSED uint32_t guiid )

Definition at line 455 of file gui_dialogs.c.

References DBG_ERROR, DBG_INFO, GWEN_Dialog_free(), GWEN_DlgInput_CopyInput(), GWEN_DlgInput_GetFlagAllowStore(), GWEN_DlgInput_new(), GWEN_ERROR_INTERNAL, GWEN_ERROR_USER_ABORTED, GWEN_Gui_ExecDialog(), GWEN_LOGDOMAIN, GWEN_UNUSED, GWENHYWFAR_CB, and NULL.

Referenced by GWEN_Gui_UseDialogs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Gui_DialogBased_MessageBox()

int GWENHYWFAR_CB GWEN_Gui_DialogBased_MessageBox ( GWEN_UNUSED GWEN_GUI * gui,
uint32_t flags,
const char * title,
const char * text,
const char * b1,
const char * b2,
const char * b3,
GWEN_UNUSED uint32_t guiid )

Definition at line 497 of file gui_dialogs.c.

References DBG_ERROR, GWEN_Dialog_free(), GWEN_DlgMessage_GetResponse(), GWEN_DlgMessage_new(), GWEN_ERROR_INTERNAL, GWEN_Gui_ExecDialog(), GWEN_LOGDOMAIN, GWEN_UNUSED, GWENHYWFAR_CB, and NULL.

Referenced by GWEN_Gui_UseDialogs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Gui_DialogBased_ProgressAdvance()

◆ GWEN_Gui_DialogBased_ProgressEnd()

◆ GWEN_Gui_DialogBased_ProgressLog()

◆ GWEN_Gui_DialogBased_ProgressSetTotal()

◆ GWEN_Gui_DialogBased_ProgressStart()

uint32_t GWENHYWFAR_CB GWEN_Gui_DialogBased_ProgressStart ( GWEN_GUI * gui,
uint32_t progressFlags,
const char * title,
const char * text,
uint64_t total,
uint32_t guiid )

Definition at line 135 of file gui_dialogs.c.

References DBG_DEBUG, DBG_WARN, GWEN_Gui_DialogBased_CheckShow(), GWEN_LOGDOMAIN, GWEN_ProgressData_new(), GWEN_ProgressData_SetPreviousId(), GWEN_ProgressData_Tree_FindProgressById(), GWENHYWFAR_CB, and NULL.

Referenced by GWEN_Gui_UseDialogs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Gui_DialogBased_ShowBox()

uint32_t GWENHYWFAR_CB GWEN_Gui_DialogBased_ShowBox ( GWEN_GUI * gui,
uint32_t flags,
const char * title,
const char * text,
uint32_t guiid )

Definition at line 523 of file gui_dialogs.c.

References DBG_ERROR, DBG_INFO, GWEN_Dialog_free(), GWEN_Dialog_List_Add(), GWEN_Dialog_SetGuiId(), GWEN_DlgShowBox_new(), GWEN_Gui_OpenDialog(), GWEN_LOGDOMAIN, GWENHYWFAR_CB, and NULL.

Referenced by GWEN_Gui_UseDialogs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Gui_ShowProgress()

◆ GWEN_Gui_UseDialogs()

void GWEN_Gui_UseDialogs ( GWEN_GUI * gui)