gwenhywfar  5.10.1
Macros | Functions
dlg_input.c File Reference
#include "dlg_input_p.h"
#include <gwenhywfar/gwenhywfar.h>
#include <gwenhywfar/pathmanager.h>
#include <gwenhywfar/gui.h>
#include <gwenhywfar/debug.h>
Include dependency graph for dlg_input.c:

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_DIALOGGWEN_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)
 

Macro Definition Documentation

◆ DISABLE_DEBUGLOG

#define DISABLE_DEBUGLOG

Definition at line 15 of file dlg_input.c.

Function Documentation

◆ GWEN_DlgInput_CheckInput()

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().

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

◆ GWEN_DlgInput_CopyInput()

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().

Here is the caller graph for this function:

◆ GWEN_DlgInput_Fini()

void GWEN_DlgInput_Fini ( GWEN_DIALOG dlg)

◆ GWEN_DlgInput_FreeData()

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().

Here is the caller graph for this function:

◆ GWEN_DlgInput_GetFlagAllowStore()

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().

Here is the caller graph for this function:

◆ GWEN_DlgInput_HandleActivated()

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().

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

◆ GWEN_DlgInput_HandleValueChanged()

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().

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

◆ GWEN_DlgInput_Init()

void GWEN_DlgInput_Init ( GWEN_DIALOG dlg)

◆ GWEN_DlgInput_new()

GWEN_DIALOG* GWEN_DlgInput_new ( uint32_t  flags,
const char *  title,
const char *  text,
int  minLen,
int  maxLen 
)

◆ GWEN_DlgInput_SignalHandler()

int GWENHYWFAR_CB GWEN_DlgInput_SignalHandler ( GWEN_DIALOG dlg,
GWEN_DIALOG_EVENTTYPE  t,
const char *  sender 
)