gwenhywfar
4.8.0beta
|
Go to the source code of this file.
Functions | |
void | GWEN_DlgProgress_AddLogText (GWEN_DIALOG *dlg, GWEN_LOGGER_LEVEL level, const char *s) |
void | GWEN_DlgProgress_Advanced (GWEN_DIALOG *dlg, GWEN_PROGRESS_DATA *pd) |
GWEN_PROGRESS_DATA * | GWEN_DlgProgress_GetFirstProgress (const GWEN_DIALOG *dlg) |
GWEN_PROGRESS_DATA * | GWEN_DlgProgress_GetSecondProgress (const GWEN_DIALOG *dlg) |
int | GWEN_DlgProgress_GetStayOpen (const GWEN_DIALOG *dlg) |
GWEN_DIALOG * | GWEN_DlgProgress_new (void) |
void | GWEN_DlgProgress_SetAllowClose (GWEN_DIALOG *dlg, int b) |
void | GWEN_DlgProgress_SetFirstProgress (GWEN_DIALOG *dlg, GWEN_PROGRESS_DATA *pd) |
void | GWEN_DlgProgress_SetSecondProgress (GWEN_DIALOG *dlg, GWEN_PROGRESS_DATA *pd) |
void | GWEN_DlgProgress_SetShowLog (GWEN_DIALOG *dlg, int b) |
void | GWEN_DlgProgress_SetStayOpen (GWEN_DIALOG *dlg, int b) |
void | GWEN_DlgProgress_TotalChanged (GWEN_DIALOG *dlg, GWEN_PROGRESS_DATA *pd) |
void GWEN_DlgProgress_AddLogText | ( | GWEN_DIALOG * | dlg, |
GWEN_LOGGER_LEVEL | level, | ||
const char * | s | ||
) |
Definition at line 254 of file dlg_progress.c.
References GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_GetUsedBytes(), GWEN_Buffer_new(), GWEN_CurrentTime(), GWEN_Dialog_SetCharProperty(), GWEN_DialogProperty_Value, GWEN_ERROR_GENERIC, GWEN_INHERIT_GETDATA, GWEN_LoggerLevel_Error, GWEN_LoggerLevel_Info, GWEN_LoggerLevel_Warning, GWEN_Text_EscapeXmlToBuffer(), GWEN_Time_toString(), and NULL.
Referenced by GWEN_Gui_Internal_ProgressEnd(), and GWEN_Gui_Internal_ProgressLog().
void GWEN_DlgProgress_Advanced | ( | GWEN_DIALOG * | dlg, |
GWEN_PROGRESS_DATA * | pd | ||
) |
Definition at line 330 of file dlg_progress.c.
References DBG_ERROR, GWEN_Dialog_SetIntProperty(), GWEN_DialogProperty_Value, GWEN_INHERIT_GETDATA, GWEN_LOGDOMAIN, GWEN_ProgressData_GetCurrent(), and GWEN_ProgressData_GetId().
Referenced by GWEN_Gui_Internal_ProgressAdvance(), and GWEN_Gui_Internal_ProgressEnd().
GWEN_PROGRESS_DATA* GWEN_DlgProgress_GetFirstProgress | ( | const GWEN_DIALOG * | dlg) |
Definition at line 167 of file dlg_progress.c.
References GWEN_INHERIT_GETDATA.
Referenced by GWEN_Gui_Internal_ProgressEnd().
GWEN_PROGRESS_DATA* GWEN_DlgProgress_GetSecondProgress | ( | const GWEN_DIALOG * | dlg) |
Definition at line 216 of file dlg_progress.c.
References GWEN_INHERIT_GETDATA.
Referenced by GWEN_Gui_Internal_ProgressEnd().
int GWEN_DlgProgress_GetStayOpen | ( | const GWEN_DIALOG * | dlg) |
Definition at line 124 of file dlg_progress.c.
References GWEN_INHERIT_GETDATA.
Referenced by GWEN_Gui_Internal_ProgressEnd().
GWEN_DIALOG* GWEN_DlgProgress_new | ( | void | ) |
Definition at line 39 of file dlg_progress.c.
References DBG_INFO, GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_Dialog_free(), GWEN_Dialog_new(), GWEN_Dialog_ReadXmlFile(), GWEN_Dialog_SetSignalHandler(), GWEN_DlgProgress_FreeData(), GWEN_DlgProgress_SignalHandler(), GWEN_INHERIT_SETDATA, GWEN_LOGDOMAIN, GWEN_NEW_OBJECT, GWEN_PathManager_FindFile(), GWEN_PM_LIBNAME, GWEN_PM_SYSDATADIR, and NULL.
Referenced by GWEN_Gui_ShowProgress().
void GWEN_DlgProgress_SetAllowClose | ( | GWEN_DIALOG * | dlg, |
int | b | ||
) |
Definition at line 96 of file dlg_progress.c.
References GWEN_Dialog_SetIntProperty(), GWEN_DialogProperty_Enabled, and GWEN_INHERIT_GETDATA.
Referenced by GWEN_Gui_Internal_ProgressEnd().
void GWEN_DlgProgress_SetFirstProgress | ( | GWEN_DIALOG * | dlg, |
GWEN_PROGRESS_DATA * | pd | ||
) |
Definition at line 179 of file dlg_progress.c.
References GWEN_Dialog_SetCharProperty(), GWEN_Dialog_SetIntProperty(), GWEN_DialogProperty_Enabled, GWEN_DialogProperty_MaxValue, GWEN_DialogProperty_Title, GWEN_DialogProperty_Value, GWEN_INHERIT_GETDATA, GWEN_ProgressData_GetCurrent(), GWEN_ProgressData_GetText(), GWEN_ProgressData_GetTitle(), and GWEN_ProgressData_GetTotal().
Referenced by GWEN_Gui_ShowProgress().
void GWEN_DlgProgress_SetSecondProgress | ( | GWEN_DIALOG * | dlg, |
GWEN_PROGRESS_DATA * | pd | ||
) |
Definition at line 228 of file dlg_progress.c.
References GWEN_Dialog_SetIntProperty(), GWEN_DialogProperty_Enabled, GWEN_DialogProperty_MaxValue, GWEN_DialogProperty_Value, GWEN_INHERIT_GETDATA, GWEN_ProgressData_GetCurrent(), and GWEN_ProgressData_GetTotal().
Referenced by GWEN_Gui_Internal_ProgressEnd(), and GWEN_Gui_ShowProgress().
void GWEN_DlgProgress_SetShowLog | ( | GWEN_DIALOG * | dlg, |
int | b | ||
) |
Definition at line 136 of file dlg_progress.c.
References DIALOG_MINHEIGHT, DIALOG_MINWIDTH, GWEN_Dialog_SetIntProperty(), GWEN_DialogProperty_Height, GWEN_DialogProperty_Visibility, GWEN_DialogProperty_Width, and GWEN_INHERIT_GETDATA.
Referenced by GWEN_Gui_Internal_ProgressLog(), and GWEN_Gui_ShowProgress().
void GWEN_DlgProgress_SetStayOpen | ( | GWEN_DIALOG * | dlg, |
int | b | ||
) |
Definition at line 112 of file dlg_progress.c.
References GWEN_INHERIT_GETDATA.
Referenced by GWEN_Gui_Internal_ProgressLog(), and GWEN_Gui_ShowProgress().
void GWEN_DlgProgress_TotalChanged | ( | GWEN_DIALOG * | dlg, |
GWEN_PROGRESS_DATA * | pd | ||
) |
Definition at line 356 of file dlg_progress.c.
References DBG_ERROR, GWEN_Dialog_SetIntProperty(), GWEN_DialogProperty_MaxValue, GWEN_INHERIT_GETDATA, GWEN_LOGDOMAIN, GWEN_ProgressData_GetId(), and GWEN_ProgressData_GetTotal().
Referenced by GWEN_Gui_Internal_ProgressSetTotal().