|
gwenhywfar 5.10.1
|
#include "dlg_input_p.h"#include <gwenhywfar/gwenhywfar.h>#include <gwenhywfar/pathmanager.h>#include <gwenhywfar/gui.h>#include <gwenhywfar/debug.h>
Go to the source code of this file.
Macros | |
| #define | DISABLE_DEBUGLOG |
Functions | |
| int | GWEN_DlgInput_CheckInput (GWEN_DIALOG *dlg) |
| int | GWEN_DlgInput_CopyInput (GWEN_DIALOG *dlg, char *buffer, int size) |
| void | GWEN_DlgInput_Fini (GWEN_DIALOG *dlg) |
| void GWENHYWFAR_CB | GWEN_DlgInput_FreeData (GWEN_UNUSED void *bp, void *p) |
| int | GWEN_DlgInput_GetFlagAllowStore (GWEN_DIALOG *dlg) |
| int | GWEN_DlgInput_HandleActivated (GWEN_DIALOG *dlg, const char *sender) |
| int | GWEN_DlgInput_HandleValueChanged (GWEN_DIALOG *dlg, const char *sender) |
| void | GWEN_DlgInput_Init (GWEN_DIALOG *dlg) |
| GWEN_DIALOG * | GWEN_DlgInput_new (uint32_t flags, const char *title, const char *text, int minLen, int maxLen) |
| int GWENHYWFAR_CB | GWEN_DlgInput_SignalHandler (GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender) |
| #define DISABLE_DEBUGLOG |
Definition at line 15 of file dlg_input.c.
| int GWEN_DlgInput_CheckInput | ( | GWEN_DIALOG * | dlg | ) |
Definition at line 155 of file dlg_input.c.
References GWEN_Dialog_GetCharProperty(), GWEN_DialogProperty_Value, GWEN_GUI_INPUT_FLAGS_CONFIRM, GWEN_INHERIT_GETDATA, and NULL.
Referenced by GWEN_DlgInput_Fini(), GWEN_DlgInput_HandleActivated(), and GWEN_DlgInput_HandleValueChanged().


| int GWEN_DlgInput_CopyInput | ( | GWEN_DIALOG * | dlg, |
| char * | buffer, | ||
| int | size | ||
| ) |
Definition at line 379 of file dlg_input.c.
References DBG_ERROR, GWEN_ERROR_BUFFER_OVERFLOW, GWEN_ERROR_NO_DATA, GWEN_INHERIT_GETDATA, and GWEN_LOGDOMAIN.
Referenced by GWEN_Gui_DialogBased_InputBox().

| void GWEN_DlgInput_Fini | ( | GWEN_DIALOG * | dlg | ) |
Definition at line 231 of file dlg_input.c.
References DIALOG_MINHEIGHT, DIALOG_MINWIDTH, GWEN_DB_FLAGS_OVERWRITE_VARS, GWEN_DB_SetIntValue(), GWEN_Dialog_GetCharProperty(), GWEN_Dialog_GetIntProperty(), GWEN_Dialog_GetPreferences(), GWEN_DialogProperty_Height, GWEN_DialogProperty_Value, GWEN_DialogProperty_Width, GWEN_DlgInput_CheckInput(), GWEN_INHERIT_GETDATA, and NULL.
Referenced by GWEN_DlgInput_SignalHandler().


| void GWENHYWFAR_CB GWEN_DlgInput_FreeData | ( | GWEN_UNUSED void * | bp, |
| void * | p | ||
| ) |
Definition at line 136 of file dlg_input.c.
References GWEN_FREE_OBJECT, and NULL.
Referenced by GWEN_DlgInput_new().

| int GWEN_DlgInput_GetFlagAllowStore | ( | GWEN_DIALOG * | dlg | ) |
Definition at line 404 of file dlg_input.c.
References GWEN_INHERIT_GETDATA.
Referenced by GWEN_Gui_DialogBased_InputBox().

| int GWEN_DlgInput_HandleActivated | ( | GWEN_DIALOG * | dlg, |
| const char * | sender | ||
| ) |
Definition at line 285 of file dlg_input.c.
References GWEN_DialogEvent_ResultAccept, GWEN_DialogEvent_ResultHandled, GWEN_DialogEvent_ResultNotHandled, GWEN_DialogEvent_ResultReject, GWEN_DlgInput_CheckInput(), and GWEN_INHERIT_GETDATA.
Referenced by GWEN_DlgInput_SignalHandler().


| int GWEN_DlgInput_HandleValueChanged | ( | GWEN_DIALOG * | dlg, |
| const char * | sender | ||
| ) |
Definition at line 311 of file dlg_input.c.
References GWEN_Dialog_SetIntProperty(), GWEN_DialogEvent_ResultHandled, GWEN_DialogEvent_ResultNotHandled, GWEN_DialogProperty_Enabled, GWEN_DlgInput_CheckInput(), and GWEN_INHERIT_GETDATA.
Referenced by GWEN_DlgInput_SignalHandler().


| void GWEN_DlgInput_Init | ( | GWEN_DIALOG * | dlg | ) |
Definition at line 188 of file dlg_input.c.
References DIALOG_MINHEIGHT, DIALOG_MINWIDTH, GWEN_DB_GetIntValue(), GWEN_Dialog_GetPreferences(), GWEN_Dialog_SetCharProperty(), GWEN_Dialog_SetIntProperty(), GWEN_DialogProperty_Enabled, GWEN_DialogProperty_Focus, GWEN_DialogProperty_Height, GWEN_DialogProperty_Title, GWEN_DialogProperty_Width, and GWEN_INHERIT_GETDATA.
Referenced by GWEN_DlgInput_SignalHandler().


| GWEN_DIALOG * GWEN_DlgInput_new | ( | uint32_t | flags, |
| const char * | title, | ||
| const char * | text, | ||
| int | minLen, | ||
| int | maxLen | ||
| ) |
Definition at line 34 of file dlg_input.c.
References DBG_INFO, GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_Dialog_AddWidgetFlags(), GWEN_Dialog_free(), GWEN_Dialog_new(), GWEN_Dialog_ReadXmlFile(), GWEN_Dialog_RemoveWidget(), GWEN_Dialog_SetSignalHandler(), GWEN_Dialog_SetWidgetColumns(), GWEN_DlgInput_FreeData(), GWEN_DlgInput_SignalHandler(), GWEN_GUI_FLAGS_PERMPASSWORDS, GWEN_Gui_GetFlags(), GWEN_Gui_GetGui(), GWEN_GUI_INPUT_FLAGS_CONFIRM, GWEN_GUI_INPUT_FLAGS_DIRECT, GWEN_GUI_INPUT_FLAGS_SHOW, GWEN_GUI_INPUT_FLAGS_TAN, GWEN_INHERIT_SETDATA, GWEN_LOGDOMAIN, GWEN_NEW_OBJECT, GWEN_PathManager_FindFile(), GWEN_PM_LIBNAME, GWEN_PM_SYSDATADIR, GWEN_WIDGET_FLAGS_PASSWORD, and NULL.
Referenced by GWEN_Gui_DialogBased_InputBox().


| int GWENHYWFAR_CB GWEN_DlgInput_SignalHandler | ( | GWEN_DIALOG * | dlg, |
| GWEN_DIALOG_EVENTTYPE | t, | ||
| const char * | sender | ||
| ) |
Definition at line 335 of file dlg_input.c.
References GWEN_DialogEvent_ResultAccept, GWEN_DialogEvent_ResultHandled, GWEN_DialogEvent_ResultNotHandled, GWEN_DialogEvent_TypeActivated, GWEN_DialogEvent_TypeClose, GWEN_DialogEvent_TypeDisabled, GWEN_DialogEvent_TypeEnabled, GWEN_DialogEvent_TypeFini, GWEN_DialogEvent_TypeInit, GWEN_DialogEvent_TypeKeyPressed, GWEN_DialogEvent_TypeKeyReleased, GWEN_DialogEvent_TypeLast, GWEN_DialogEvent_TypeValueChanged, GWEN_DlgInput_Fini(), GWEN_DlgInput_HandleActivated(), GWEN_DlgInput_HandleValueChanged(), GWEN_DlgInput_Init(), and GWEN_INHERIT_GETDATA.
Referenced by GWEN_DlgInput_new().

