dialog.h
Go to the documentation of this file.
/***************************************************************************
begin : Wed Jan 20 2010
copyright : (C) 2019 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public *
* License as published by the Free Software Foundation; either *
* version 2.1 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public *
* License along with this library; if not, write to the Free Software *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
* MA 02111-1307 USA *
* *
***************************************************************************/
#ifndef GWENHYWFAR_GUI_DIALOG_H
#define GWENHYWFAR_GUI_DIALOG_H
#include <gwenhywfar/inherit.h>
#include <gwenhywfar/list1.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/xml.h>
#include <gwenhywfar/db.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct GWEN_DIALOG GWEN_DIALOG;
GWEN_INHERIT_FUNCTION_LIB_DEFS(GWEN_DIALOG, GWENHYWFAR_API)
GWEN_LIST_FUNCTION_LIB_DEFS(GWEN_DIALOG, GWEN_Dialog, GWENHYWFAR_API)
GWEN_LIST2_FUNCTION_LIB_DEFS(GWEN_DIALOG, GWEN_Dialog, GWENHYWFAR_API)
#define GWEN_WIDGET_FLAGS_NONE 0x00000000L
#define GWEN_WIDGET_FLAGS_FILLX 0x80000000L
#define GWEN_WIDGET_FLAGS_FILLY 0x40000000L
#define GWEN_WIDGET_FLAGS_READONLY 0x20000000L
#define GWEN_WIDGET_FLAGS_PASSWORD 0x10000000L
#define GWEN_WIDGET_FLAGS_DEFAULT_WIDGET 0x08000000L
#define GWEN_WIDGET_FLAGS_DECOR_SHRINKABLE 0x04000000L
#define GWEN_WIDGET_FLAGS_DECOR_STRETCHABLE 0x02000000L
#define GWEN_WIDGET_FLAGS_DECOR_MINIMIZE 0x01000000L
#define GWEN_WIDGET_FLAGS_DECOR_MAXIMIZE 0x00800000L
#define GWEN_WIDGET_FLAGS_DECOR_CLOSE 0x00400000L
#define GWEN_WIDGET_FLAGS_DECOR_MENU 0x00200000L
#define GWEN_WIDGET_FLAGS_FIXED_WIDTH 0x00100000L
#define GWEN_WIDGET_FLAGS_FIXED_HEIGHT 0x00080000L
#define GWEN_WIDGET_FLAGS_EQUAL_WIDTH 0x00040000L
#define GWEN_WIDGET_FLAGS_EQUAL_HEIGHT 0x00020000L
#define GWEN_WIDGET_FLAGS_JUSTIFY_LEFT 0x00010000L
#define GWEN_WIDGET_FLAGS_JUSTIFY_RIGHT 0x00008000L
#define GWEN_WIDGET_FLAGS_JUSTIFY_TOP 0x00004000L
#define GWEN_WIDGET_FLAGS_JUSTIFY_BOTTOM 0x00002000L
#define GWEN_WIDGET_FLAGS_JUSTIFY_CENTERX 0x00001000L
#define GWEN_WIDGET_FLAGS_JUSTIFY_CENTERY 0x00000800L
#define GWEN_WIDGET_FLAGS_NO_WORDWRAP 0x00000400L
#define GWEN_WIDGET_FLAGS_HANDLE_KEYS 0x00000200L
#define GWEN_WIDGET_FLAGS_FRAME_SUNKEN 0x00000100L
#define GWEN_WIDGET_FLAGS_FRAME_RAISED 0x00000080L
#define GWEN_WIDGET_FLAGS_FRAME_THICK 0x00000040L
#define GWEN_WIDGET_FLAGS_FRAME_GROOVE 0x00000020L
typedef enum {
GWEN_DialogEvent_TypeInit=0,
GWEN_DialogEvent_TypeFini,
GWEN_DialogEvent_TypeValueChanged,
GWEN_DialogEvent_TypeActivated,
GWEN_DialogEvent_TypeEnabled,
GWEN_DialogEvent_TypeDisabled,
GWEN_DialogEvent_TypeClose,
GWEN_DialogEvent_TypeKeyPressed,
GWEN_DialogEvent_TypeKeyReleased,
GWEN_DialogEvent_TypeLast
} GWEN_DIALOG_EVENTTYPE;
enum {
GWEN_DialogEvent_ResultHandled=0,
GWEN_DialogEvent_ResultNotHandled,
GWEN_DialogEvent_ResultAccept,
GWEN_DialogEvent_ResultReject
};
typedef int GWENHYWFAR_CB(*GWEN_DIALOG_SIGNALHANDLER)(GWEN_DIALOG *dlg,
GWEN_DIALOG_EVENTTYPE t,
const char *sender);
typedef int GWENHYWFAR_CB(*GWEN_DIALOG_SIGNALHANDLER2)(GWEN_DIALOG *dlg,
GWEN_DIALOG_EVENTTYPE t,
const char *sender,
int intArg,
const char *stringArg);
GWENHYWFAR_API
GWEN_DIALOG *GWEN_Dialog_new(const char *dialogId);
GWENHYWFAR_API
GWEN_DIALOG *GWEN_Dialog_CreateAndLoadWithPath(const char *dialogId,
const char *pmLibName,
const char *pmDataDir,
const char *fileName);
GWENHYWFAR_API
void GWEN_Dialog_free(GWEN_DIALOG *dlg);
GWENHYWFAR_API
int GWEN_Dialog_ReadXml(GWEN_DIALOG *dlg, GWEN_XMLNODE *node);
GWENHYWFAR_API
int GWEN_Dialog_ReadXmlFile(GWEN_DIALOG *dlg, const char *fname);
GWENHYWFAR_API
const char *GWEN_Dialog_GetId(const GWEN_DIALOG *dlg);
GWENHYWFAR_API
uint32_t GWEN_Dialog_GetGuiId(const GWEN_DIALOG *dlg);
GWENHYWFAR_API
void GWEN_Dialog_AddMediaPath(GWEN_DIALOG *dlg, const char *s);
GWENHYWFAR_API
void GWEN_Dialog_AddMediaPathsFromPathManager(GWEN_DIALOG *dlg,
const char *destlib,
const char *pathName,
const char *relPath);
GWENHYWFAR_API
int GWEN_Dialog_AddSubDialog(GWEN_DIALOG *dlg,
const char *parentWidgetName,
GWEN_DIALOG *subdlg);
GWENHYWFAR_API
int GWEN_Dialog_RemoveWidget(GWEN_DIALOG *dlg, const char *name);
GWENHYWFAR_API
GWEN_DIALOG_SIGNALHANDLER GWEN_Dialog_SetSignalHandler(GWEN_DIALOG *dlg,
GWEN_DIALOG_SIGNALHANDLER fn);
GWENHYWFAR_API
GWEN_DIALOG_SIGNALHANDLER2 GWEN_Dialog_SetSignalHandler2(GWEN_DIALOG *dlg, GWEN_DIALOG_SIGNALHANDLER2 fn);
typedef enum {
GWEN_DialogProperty_None=0,
GWEN_DialogProperty_Title,
GWEN_DialogProperty_Value,
GWEN_DialogProperty_MinValue,
GWEN_DialogProperty_MaxValue,
GWEN_DialogProperty_Enabled,
GWEN_DialogProperty_AddValue,
GWEN_DialogProperty_ClearValues,
GWEN_DialogProperty_ValueCount,
GWEN_DialogProperty_ColumnWidth,
GWEN_DialogProperty_Width,
GWEN_DialogProperty_Height,
GWEN_DialogProperty_SelectionMode,
GWEN_DialogProperty_SelectionState,
GWEN_DialogProperty_Focus,
GWEN_DialogProperty_SortDirection,
GWEN_DialogProperty_Sort,
GWEN_DialogProperty_Visibility,
GWEN_DialogProperty_ToolTip,
GWEN_DialogProperty_WindowId,
GWEN_DialogProperty_Unknown=-1
} GWEN_DIALOG_PROPERTY;
typedef enum {
GWEN_Dialog_SelectionMode_None=0,
GWEN_Dialog_SelectionMode_Single,
GWEN_Dialog_SelectionMode_Multi
} GWEN_DIALOG_SELECTION_MODE;
typedef enum {
GWEN_DialogSortDirection_None=0,
GWEN_DialogSortDirection_Up,
GWEN_DialogSortDirection_Down
} GWEN_DIALOG_SORT_DIRECTION;
GWENHYWFAR_API
int GWEN_Dialog_SetIntProperty(GWEN_DIALOG *dlg,
const char *name,
GWEN_DIALOG_PROPERTY prop,
int index,
int value,
int doSignal);
GWENHYWFAR_API
int GWEN_Dialog_GetIntProperty(GWEN_DIALOG *dlg,
const char *name,
GWEN_DIALOG_PROPERTY prop,
int index,
int defaultValue);
GWENHYWFAR_API
int GWEN_Dialog_SetCharProperty(GWEN_DIALOG *dlg,
const char *name,
GWEN_DIALOG_PROPERTY prop,
int index,
const char *value,
int doSignal);
GWENHYWFAR_API
const char *GWEN_Dialog_GetCharProperty(GWEN_DIALOG *dlg,
const char *name,
GWEN_DIALOG_PROPERTY prop,
int index,
const char *defaultValue);
GWENHYWFAR_API
uint32_t GWEN_Dialog_GetWidgetFlags(const GWEN_DIALOG *dlg, const char *name);
GWENHYWFAR_API
void GWEN_Dialog_SetWidgetFlags(GWEN_DIALOG *dlg, const char *name, uint32_t fl);
GWENHYWFAR_API
void GWEN_Dialog_AddWidgetFlags(GWEN_DIALOG *dlg, const char *name, uint32_t fl);
GWENHYWFAR_API
void GWEN_Dialog_SubWidgetFlags(GWEN_DIALOG *dlg, const char *name, uint32_t fl);
GWENHYWFAR_API
int GWEN_Dialog_GetWidgetColumns(const GWEN_DIALOG *dlg, const char *name);
GWENHYWFAR_API
void GWEN_Dialog_SetWidgetColumns(GWEN_DIALOG *dlg, const char *name, int i);
GWENHYWFAR_API
int GWEN_Dialog_GetWidgetRows(const GWEN_DIALOG *dlg, const char *name);
GWENHYWFAR_API
void GWEN_Dialog_SetWidgetRows(GWEN_DIALOG *dlg, const char *name, int i);
GWENHYWFAR_API
const char *GWEN_Dialog_GetWidgetText(const GWEN_DIALOG *dlg, const char *name);
GWENHYWFAR_API
void GWEN_Dialog_SetWidgetText(GWEN_DIALOG *dlg, const char *name, const char *t);
GWENHYWFAR_API
GWEN_DB_NODE *GWEN_Dialog_GetPreferences(const GWEN_DIALOG *dlg);
GWENHYWFAR_API
void GWEN_Dialog_SetI18nDomain(GWEN_DIALOG *dlg, const char *s);
GWENHYWFAR_API
const char *GWEN_Dialog_GetI18nDomain(const GWEN_DIALOG *dlg);
GWENHYWFAR_API
const char *GWEN_Dialog_TranslateString(const GWEN_DIALOG *dlg, const char *s);
GWENHYWFAR_API
void GWEN_Dialog_ListWriteColumnSettings(GWEN_DIALOG *dlg,
const char *widgetName,
const char *variablePrefix,
int maxColumns,
int minColumnSize,
GWEN_DB_NODE *dbPrefs);
GWENHYWFAR_API
void GWEN_Dialog_ListReadColumnSettings(GWEN_DIALOG *dlg,
const char *widgetName,
const char *variablePrefix,
int maxColumns,
int minColumnSize,
GWEN_DB_NODE *dbPrefs);
GWENHYWFAR_API
char *GWEN_Dialog_ListGetFirstColumnData(GWEN_DIALOG *dlg, const char *widgetName, int row);
GWENHYWFAR_API
int GWEN_Dialog_ListGetItemMatchingFirstColumn(GWEN_DIALOG *dlg, const char *widgetName, const char *dataToMatch);
#ifdef __cplusplus
}
#endif
#endif
db.h
GWEN_DB_NODE
struct GWEN_DB_NODE GWEN_DB_NODE
Definition db.h:228
GWEN_Dialog_SetWidgetRows
GWENHYWFAR_API void GWEN_Dialog_SetWidgetRows(GWEN_DIALOG *dlg, const char *name, int i)
GWEN_Dialog_GetGuiId
GWENHYWFAR_API uint32_t GWEN_Dialog_GetGuiId(const GWEN_DIALOG *dlg)
GWEN_DIALOG_SIGNALHANDLER2
int GWENHYWFAR_CB(* GWEN_DIALOG_SIGNALHANDLER2)(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender, int intArg, const char *stringArg)
Definition dialog.h:140
GWEN_Dialog_SetWidgetColumns
GWENHYWFAR_API void GWEN_Dialog_SetWidgetColumns(GWEN_DIALOG *dlg, const char *name, int i)
GWEN_Dialog_GetIntProperty
GWENHYWFAR_API int GWEN_Dialog_GetIntProperty(GWEN_DIALOG *dlg, const char *name, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
GWEN_Dialog_SetI18nDomain
GWENHYWFAR_API void GWEN_Dialog_SetI18nDomain(GWEN_DIALOG *dlg, const char *s)
GWEN_DialogEvent_ResultHandled
@ GWEN_DialogEvent_ResultHandled
Definition dialog.h:120
GWEN_DialogEvent_ResultAccept
@ GWEN_DialogEvent_ResultAccept
Definition dialog.h:122
GWEN_DialogEvent_ResultNotHandled
@ GWEN_DialogEvent_ResultNotHandled
Definition dialog.h:121
GWEN_DialogEvent_ResultReject
@ GWEN_DialogEvent_ResultReject
Definition dialog.h:123
GWEN_Dialog_GetI18nDomain
GWENHYWFAR_API const char * GWEN_Dialog_GetI18nDomain(const GWEN_DIALOG *dlg)
GWEN_Dialog_AddWidgetFlags
GWENHYWFAR_API void GWEN_Dialog_AddWidgetFlags(GWEN_DIALOG *dlg, const char *name, uint32_t fl)
GWEN_Dialog_GetWidgetFlags
GWENHYWFAR_API uint32_t GWEN_Dialog_GetWidgetFlags(const GWEN_DIALOG *dlg, const char *name)
GWEN_DIALOG_SORT_DIRECTION
GWEN_DIALOG_SORT_DIRECTION
Definition dialog.h:296
GWEN_DialogSortDirection_None
@ GWEN_DialogSortDirection_None
Definition dialog.h:297
GWEN_DialogSortDirection_Up
@ GWEN_DialogSortDirection_Up
Definition dialog.h:298
GWEN_DialogSortDirection_Down
@ GWEN_DialogSortDirection_Down
Definition dialog.h:299
GWEN_Dialog_SetSignalHandler2
GWENHYWFAR_API GWEN_DIALOG_SIGNALHANDLER2 GWEN_Dialog_SetSignalHandler2(GWEN_DIALOG *dlg, GWEN_DIALOG_SIGNALHANDLER2 fn)
GWEN_Dialog_ListGetItemMatchingFirstColumn
GWENHYWFAR_API int GWEN_Dialog_ListGetItemMatchingFirstColumn(GWEN_DIALOG *dlg, const char *widgetName, const char *dataToMatch)
GWEN_Dialog_GetWidgetColumns
GWENHYWFAR_API int GWEN_Dialog_GetWidgetColumns(const GWEN_DIALOG *dlg, const char *name)
GWEN_Dialog_ReadXmlFile
GWENHYWFAR_API int GWEN_Dialog_ReadXmlFile(GWEN_DIALOG *dlg, const char *fname)
GWEN_DIALOG
struct GWEN_DIALOG GWEN_DIALOG
Definition dialog.h:54
GWEN_Dialog_SubWidgetFlags
GWENHYWFAR_API void GWEN_Dialog_SubWidgetFlags(GWEN_DIALOG *dlg, const char *name, uint32_t fl)
GWEN_DIALOG_PROPERTY
GWEN_DIALOG_PROPERTY
Definition dialog.h:260
GWEN_DialogProperty_WindowId
@ GWEN_DialogProperty_WindowId
Definition dialog.h:283
GWEN_DialogProperty_SelectionState
@ GWEN_DialogProperty_SelectionState
Definition dialog.h:275
GWEN_DialogProperty_AddValue
@ GWEN_DialogProperty_AddValue
Definition dialog.h:268
GWEN_DialogProperty_MinValue
@ GWEN_DialogProperty_MinValue
Definition dialog.h:265
GWEN_DialogProperty_ToolTip
@ GWEN_DialogProperty_ToolTip
Definition dialog.h:281
GWEN_DialogProperty_Visibility
@ GWEN_DialogProperty_Visibility
Definition dialog.h:280
GWEN_DialogProperty_ColumnWidth
@ GWEN_DialogProperty_ColumnWidth
Definition dialog.h:271
GWEN_DialogProperty_MaxValue
@ GWEN_DialogProperty_MaxValue
Definition dialog.h:266
GWEN_DialogProperty_None
@ GWEN_DialogProperty_None
Definition dialog.h:261
GWEN_DialogProperty_ValueCount
@ GWEN_DialogProperty_ValueCount
Definition dialog.h:270
GWEN_DialogProperty_Title
@ GWEN_DialogProperty_Title
Definition dialog.h:263
GWEN_DialogProperty_Sort
@ GWEN_DialogProperty_Sort
Definition dialog.h:279
GWEN_DialogProperty_ClearValues
@ GWEN_DialogProperty_ClearValues
Definition dialog.h:269
GWEN_DialogProperty_SelectionMode
@ GWEN_DialogProperty_SelectionMode
Definition dialog.h:274
GWEN_DialogProperty_Height
@ GWEN_DialogProperty_Height
Definition dialog.h:273
GWEN_DialogProperty_SortDirection
@ GWEN_DialogProperty_SortDirection
Definition dialog.h:278
GWEN_DialogProperty_Enabled
@ GWEN_DialogProperty_Enabled
Definition dialog.h:267
GWEN_DialogProperty_Value
@ GWEN_DialogProperty_Value
Definition dialog.h:264
GWEN_DialogProperty_Unknown
@ GWEN_DialogProperty_Unknown
Definition dialog.h:285
GWEN_DialogProperty_Focus
@ GWEN_DialogProperty_Focus
Definition dialog.h:276
GWEN_DialogProperty_Width
@ GWEN_DialogProperty_Width
Definition dialog.h:272
GWEN_Dialog_SetSignalHandler
GWENHYWFAR_API GWEN_DIALOG_SIGNALHANDLER GWEN_Dialog_SetSignalHandler(GWEN_DIALOG *dlg, GWEN_DIALOG_SIGNALHANDLER fn)
GWEN_DIALOG_EVENTTYPE
GWEN_DIALOG_EVENTTYPE
Definition dialog.h:98
GWEN_DialogEvent_TypeKeyPressed
@ GWEN_DialogEvent_TypeKeyPressed
Definition dialog.h:106
GWEN_DialogEvent_TypeValueChanged
@ GWEN_DialogEvent_TypeValueChanged
Definition dialog.h:101
GWEN_DialogEvent_TypeInit
@ GWEN_DialogEvent_TypeInit
Definition dialog.h:99
GWEN_DialogEvent_TypeFini
@ GWEN_DialogEvent_TypeFini
Definition dialog.h:100
GWEN_DialogEvent_TypeClose
@ GWEN_DialogEvent_TypeClose
Definition dialog.h:105
GWEN_DialogEvent_TypeKeyReleased
@ GWEN_DialogEvent_TypeKeyReleased
Definition dialog.h:107
GWEN_DialogEvent_TypeActivated
@ GWEN_DialogEvent_TypeActivated
Definition dialog.h:102
GWEN_DialogEvent_TypeEnabled
@ GWEN_DialogEvent_TypeEnabled
Definition dialog.h:103
GWEN_DialogEvent_TypeDisabled
@ GWEN_DialogEvent_TypeDisabled
Definition dialog.h:104
GWEN_DialogEvent_TypeLast
@ GWEN_DialogEvent_TypeLast
Definition dialog.h:109
GWEN_Dialog_free
GWENHYWFAR_API void GWEN_Dialog_free(GWEN_DIALOG *dlg)
GWEN_Dialog_ListGetFirstColumnData
GWENHYWFAR_API char * GWEN_Dialog_ListGetFirstColumnData(GWEN_DIALOG *dlg, const char *widgetName, int row)
GWEN_Dialog_SetCharProperty
GWENHYWFAR_API int GWEN_Dialog_SetCharProperty(GWEN_DIALOG *dlg, const char *name, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
GWEN_Dialog_AddSubDialog
GWENHYWFAR_API int GWEN_Dialog_AddSubDialog(GWEN_DIALOG *dlg, const char *parentWidgetName, GWEN_DIALOG *subdlg)
GWEN_Dialog_ListReadColumnSettings
GWENHYWFAR_API void GWEN_Dialog_ListReadColumnSettings(GWEN_DIALOG *dlg, const char *widgetName, const char *variablePrefix, int maxColumns, int minColumnSize, GWEN_DB_NODE *dbPrefs)
GWEN_Dialog_SetIntProperty
GWENHYWFAR_API int GWEN_Dialog_SetIntProperty(GWEN_DIALOG *dlg, const char *name, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
GWEN_Dialog_SetWidgetFlags
GWENHYWFAR_API void GWEN_Dialog_SetWidgetFlags(GWEN_DIALOG *dlg, const char *name, uint32_t fl)
GWEN_Dialog_AddMediaPath
GWENHYWFAR_API void GWEN_Dialog_AddMediaPath(GWEN_DIALOG *dlg, const char *s)
GWEN_Dialog_GetCharProperty
GWENHYWFAR_API const char * GWEN_Dialog_GetCharProperty(GWEN_DIALOG *dlg, const char *name, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
GWEN_Dialog_CreateAndLoadWithPath
GWENHYWFAR_API GWEN_DIALOG * GWEN_Dialog_CreateAndLoadWithPath(const char *dialogId, const char *pmLibName, const char *pmDataDir, const char *fileName)
GWEN_Dialog_ListWriteColumnSettings
GWENHYWFAR_API void GWEN_Dialog_ListWriteColumnSettings(GWEN_DIALOG *dlg, const char *widgetName, const char *variablePrefix, int maxColumns, int minColumnSize, GWEN_DB_NODE *dbPrefs)
GWEN_Dialog_GetId
GWENHYWFAR_API const char * GWEN_Dialog_GetId(const GWEN_DIALOG *dlg)
GWEN_Dialog_ReadXml
GWENHYWFAR_API int GWEN_Dialog_ReadXml(GWEN_DIALOG *dlg, GWEN_XMLNODE *node)
GWEN_Dialog_GetWidgetText
GWENHYWFAR_API const char * GWEN_Dialog_GetWidgetText(const GWEN_DIALOG *dlg, const char *name)
GWEN_DIALOG_SELECTION_MODE
GWEN_DIALOG_SELECTION_MODE
Definition dialog.h:289
GWEN_Dialog_SelectionMode_None
@ GWEN_Dialog_SelectionMode_None
Definition dialog.h:290
GWEN_Dialog_SelectionMode_Multi
@ GWEN_Dialog_SelectionMode_Multi
Definition dialog.h:292
GWEN_Dialog_SelectionMode_Single
@ GWEN_Dialog_SelectionMode_Single
Definition dialog.h:291
GWEN_Dialog_GetPreferences
GWENHYWFAR_API GWEN_DB_NODE * GWEN_Dialog_GetPreferences(const GWEN_DIALOG *dlg)
GWEN_Dialog_RemoveWidget
GWENHYWFAR_API int GWEN_Dialog_RemoveWidget(GWEN_DIALOG *dlg, const char *name)
GWEN_Dialog_AddMediaPathsFromPathManager
GWENHYWFAR_API void GWEN_Dialog_AddMediaPathsFromPathManager(GWEN_DIALOG *dlg, const char *destlib, const char *pathName, const char *relPath)
GWEN_DIALOG_SIGNALHANDLER
int GWENHYWFAR_CB(* GWEN_DIALOG_SIGNALHANDLER)(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
Definition dialog.h:132
GWEN_Dialog_SetWidgetText
GWENHYWFAR_API void GWEN_Dialog_SetWidgetText(GWEN_DIALOG *dlg, const char *name, const char *t)
GWEN_Dialog_new
GWENHYWFAR_API GWEN_DIALOG * GWEN_Dialog_new(const char *dialogId)
GWEN_Dialog_TranslateString
GWENHYWFAR_API const char * GWEN_Dialog_TranslateString(const GWEN_DIALOG *dlg, const char *s)
GWEN_Dialog_GetWidgetRows
GWENHYWFAR_API int GWEN_Dialog_GetWidgetRows(const GWEN_DIALOG *dlg, const char *name)
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition gwenhywfarapi.h:67
GWENHYWFAR_CB
#define GWENHYWFAR_CB
Definition gwenhywfarapi.h:89
inherit.h
GWEN_INHERIT_FUNCTION_LIB_DEFS
#define GWEN_INHERIT_FUNCTION_LIB_DEFS(t, decl)
Definition inherit.h:125
list1.h
GWEN_LIST_FUNCTION_LIB_DEFS
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
Definition list1.h:349
list2.h
This file contains some macros concerning lists.
GWEN_LIST2_FUNCTION_LIB_DEFS
#define GWEN_LIST2_FUNCTION_LIB_DEFS(t, pr, decl)
Definition list2.h:56
xml.h
GWEN_XMLNODE
struct GWEN__XMLNODE GWEN_XMLNODE
Definition xml.h:156