DAS  3.1.6 - 18/09/2017
Data Structures | Macros | Typedefs
Mguidefs.h File Reference
#include <sys/time.h>
#include "keycodes.h"
#include "X11/X.h"
#include <X11/Xmd.h>
+ Include dependency graph for Mguidefs.h:

Go to the source code of this file.

Data Structures

struct  DRAWAREA_PREF
 DrawArea Object's resize data. More...
 
struct  EDIT_CHANGE
 Value Change for the Edit Object. More...
 
struct  EDIT_CURS
 Cursor Position for the Edit Object. More...
 
struct  EDIT_VAL
 Validation data for the EditField Object. More...
 
struct  EL_TEMPLATE
 Template for EditList Object's creation. More...
 
struct  FB_PREFS
 File Browser Preferences. Used by the Utility functions MFileBowserExt() and MDirBowserExt(). More...
 
struct  IMAGE_CMAP
 Colormap entry. More...
 
struct  LIST_ACT
 List Item Activation. More...
 
struct  LIST_SEL
 List Item Selection. More...
 
struct  MAnyWindowEvent
 
struct  MConfigureEvent
 Window Configure Event. More...
 
union  MEvent
 Union for MGui events. More...
 
struct  MExposeEvent
 Window/Object Expose Event. More...
 
struct  MIMAGE_DESCR
 Image description. More...
 
struct  MKeyEvent
 
struct  MMouseEvent
 
struct  MMoveEvent
 Window Move Event. More...
 
struct  MPOINT
 Point structure. More...
 
struct  MRECT
 
struct  MResizeEvent
 Window/Object Resize Event. More...
 
struct  MSetBGImageEvent
 Object Set background image Event. More...
 
struct  MSetColorEvent
 Object Set Color Event. More...
 
struct  MSetGetTextEvent
 Object Set/Get Text Event. More...
 
struct  MSetSensitivity
 Object Set Sensitivity Event. More...
 
struct  MSetShadowEvent
 Object Set Shadow Event. More...
 
struct  MSetTransparencyEvent
 Object Set Transparency Event. More...
 
struct  RLIST
 
struct  SBL_ITEM_SEEK
 Used by the ItemSeek callback for 'Clip' and 'Skip' lists. More...
 
struct  SBL_NEW_BLOCK
 Data feed for Skip and Clip List objects. More...
 
struct  XL_ITEM
 List Item. More...
 

Macros

#define ALPHA   0x2
 
#define ALPHANUM   (ALPHA|DIGIT)
 
#define AltMask   (1<<3)
 
#define ANYCHAR   0x1
 
#define BI_CENTERED   1
 
#define BI_SIZE_FORCING   2 /* Object size is forced to be equal to image size */
 
#define BI_TILED   0
 
#define BOTTOM_ALIGN   4
 
#define CENTER_ALIGN   2
 
#define CS_DARK   85
 for armed button bg and default selection highlights More...
 
#define CS_DARKER   60
 for object border shadows 2 More...
 
#define CS_LIGHT   115
 for default selection highlights More...
 
#define CS_LIGHTER   140
 
#define DBF_ALLOW_CREATE   0x2
 
#define DBF_ALLOW_DELETE   0x4
 
#define DBF_ALLOW_RENAME   0x1
 
#define DEF_POSITION   -32768
 
#define DEF_SIZE   -32768
 
#define DEFAULT_FONT   0
 
#define DIGIT   0x4
 
#define DIR_SEP   '/'
 
#define DOT   0x200
 
#define E_AUTOSIZE   11
 
#define E_BUTTON_PRESS   2
 
#define E_BUTTON_RELEASE   3
 
#define E_CONFIGURE   16
 
#define E_DESELECT   15
 
#define E_DESTROY   8
 
#define E_EXPOSE   7
 
#define E_GET_TEXT   22
 
#define E_GRAB_LOSE   26
 
#define E_KEY_PRESS   1
 
#define E_MAP   9
 
#define E_MOTION   4
 
#define E_MOUSE_WHEEL   28
 
#define E_MOVE   13
 
#define E_NO_EVENT   0
 
#define E_PARENT_CHANGED   30
 
#define E_PARENT_MAP   17
 
#define E_PARENT_UNMAP   18
 
#define E_RESIZE   12
 
#define E_SELECT   14
 
#define E_SET_BG_IMAGE   27
 
#define E_SET_COLOR   19
 
#define E_SET_PARENT_SENS   25
 
#define E_SET_SENS   24
 
#define E_SET_SHADOW   20
 
#define E_SET_TEXT   21
 
#define E_SET_TRANSPARENCY   29
 
#define E_UNMAP   10
 
#define E_WINDOW_ENTER   5
 
#define E_WINDOW_EXIT   6
 
#define E_WM_CLOSE   23
 
#define EM_AUTOSIZE   (1L<<10)
 
#define EM_BUTTON_PRESS   (1L<<1)
 
#define EM_BUTTON_RELEASE   (1L<<2)
 
#define EM_CONFIGURE   (1L<<15)
 
#define EM_DESELECT   (1L<<14)
 
#define EM_DESTROY   (1L<<7)
 
#define EM_EXPOSE   (1L<<6)
 
#define EM_GET_TEXT   (1L<<21)
 
#define EM_GRAB_LOSE   (1L<<25)
 
#define EM_KEY_PRESS   1L
 
#define EM_MAP   (1L<<8)
 
#define EM_MOTION   (1L<<3)
 
#define EM_MOUSE_WHEEL   (1L<<27)
 
#define EM_MOVE   (1L<<12)
 
#define EM_NO_EVENT   0L
 
#define EM_PARENT_CHANGED   (1L<<29)
 
#define EM_PARENT_MAP   (1L<<16)
 
#define EM_PARENT_UNMAP   (1L<<17)
 
#define EM_RESIZE   (1L<<11)
 
#define EM_SELECT   (1L<<13)
 
#define EM_SET_BG_IMAGE   (1L<<26)
 
#define EM_SET_COLOR   (1L<<18)
 
#define EM_SET_PARENT_SENS   (1L<<24)
 
#define EM_SET_SENS   (1L<<23)
 
#define EM_SET_SHADOW   (1L<<19)
 
#define EM_SET_TEXT   (1L<<20)
 
#define EM_SET_TRANSPARENCY   (1L<<28)
 
#define EM_UNMAP   (1L<<9)
 
#define EM_WINDOW_ENTER   (1L<<4)
 
#define EM_WINDOW_EXIT   (1L<<5)
 
#define EM_WM_CLOSE   (1L<<22)
 
#define F_ATT_FORM   1
 
#define F_ATT_NONE   0
 
#define F_ATT_OBJ   2
 
#define F_PREF_ATT_COL   2
 
#define F_PREF_ATT_POS   0
 
#define F_PREF_ATT_ROW   1
 
#define F_PREF_ATT_TABLE   3
 
#define False   0
 
#define FIXED_LARGE   3
 
#define FIXED_MEDIUM   2
 
#define FIXED_SMALL   1
 
#define HELV_L_FONT   HELV_MEDIUM
 
#define HELV_LARGE   8
 
#define HELV_MEDIUM   5
 
#define HELV_N_FONT   HELV_SMALL
 
#define HELV_SMALL   4
 
#define LARGE_FONT   FIXED_LARGE
 
#define LEFT_ALIGN   0
 
#define LOWALPHA   (ALPHA|LOWER)
 
#define LOWER   0x800
 
#define MC_CROSSHAIR   (MTCursor)2
 
#define MC_HOURGLASS   (MTCursor)3
 
#define MC_HSIZE   (MTCursor)4
 
#define MC_NESIZE   (MTCursor)7
 
#define MC_NONE   (MTCursor)0
 
#define MC_NWSIZE   (MTCursor)6
 
#define MC_UL_ARROW   (MTCursor)1
 
#define MC_VSIZE   (MTCursor)5
 
#define MEDIUM_FONT   FIXED_MEDIUM
 
#define MGUI_RELEASE   0x414
 
#define MO_ALL   0x7f
 
#define MO_BG_IMAGE   0x20
 
#define MO_BGCOLOR   0x4
 
#define MO_COLOR   (MO_FGCOLOR|MO_BGCOLOR)
 
#define MO_FGCOLOR   0x2
 
#define MO_FONT   0x1
 
#define MO_SHADOW   0x8
 
#define MO_TEXT   0x10
 
#define MO_TRANSPARENCY   0x40
 
#define MSPOOL_FILE_ERR   -3
 
#define MSPOOL_FULL_QUEUE   -1
 
#define MSPOOL_NOT_READY   -2
 
#define MSPOOL_OK   0
 
#define NF_CONTAINER   0x1
 
#define NF_TOGGLE   0x2
 
#define NOCHAR   0
 
#define NOCOLOR   ((MTColor)~0)
 
#define OT_DRAWAREA   14
 
#define OT_EDIT   8
 
#define OT_FORM   2
 
#define OT_LABEL   3
 
#define OT_MENU   13
 
#define OT_MENUBAR   12
 
#define OT_PBUTTON   4
 
#define OT_RBUTTON   6
 
#define OT_SBLIST   11
 
#define OT_SCROLLBAR   7
 
#define OT_SHELL   1
 
#define OT_SPLITTER   15
 
#define OT_STATUSBAR   9
 
#define OT_TBUTTON   5
 
#define OT_TEXT   10
 
#define RIGHT_ALIGN   1
 
#define S_FLOAT   (DIGIT|DOT|SIGNED)
 
#define S_INT   (DIGIT|SIGNED)
 
#define SBL_ITEM_CHECKED   0x2L
 
#define SBL_ITEM_SELECTED   0x1L
 
#define SBLT_ELIST   2
 
#define SBLT_FILE   3
 
#define SBLT_LIST   1
 
#define SBLT_TEXT   0
 
#define SBT_HOR   0
 
#define SBT_VERT   1
 
#define SE_EXCP   0x4
 
#define SE_READ   0x1
 
#define SE_WRITE   0x2
 
#define SF_IGNORE_WM_CLOSE   0x10
 
#define SF_MODAL   0x4
 
#define SF_NO_CLOSE   0x40
 
#define SF_NO_FOCUS_CHANGE   0x1
 
#define SF_NO_H_RESIZE   0x800
 
#define SF_NO_MAXIMIZE   0x80
 
#define SF_NO_MINIMIZE   0x100
 
#define SF_NO_RESIZE   0x200
 
#define SF_NO_W_RESIZE   0x400
 
#define SF_POPUP   0x8
 
#define SF_SAVEUNDER   0x2
 
#define SF_UNMAP_ON_WM_CLOSE   0x20
 
#define SIGNED   0x100
 
#define SMALL_FONT   FIXED_SMALL
 
#define SPACE   0x8
 
#define TIMES_L_FONT   TIMES_MEDIUM
 
#define TIMES_LARGE   9
 
#define TIMES_MEDIUM   7
 
#define TIMES_N_FONT   TIMES_SMALL
 
#define TIMES_SMALL   6
 
#define TOP_ALIGN   3
 
#define True   1
 
#define U_FLOAT   (DIGIT|DOT)
 
#define U_INT   DIGIT
 
#define UNDEF_ALIGN   0x3f
 
#define UNIX
 
#define UPALPHA   (ALPHA|UPPER)
 
#define UPPER   0x400
 
#define WS_ETCHED_IN   3
 
#define WS_ETCHED_OUT   4
 
#define WS_HATCHED_IN   WS_ETCHED_IN
 
#define WS_HATCHED_OUT   WS_ETCHED_OUT
 
#define WS_NONE   0
 
#define WS_SHADOW_IN   2
 
#define WS_SHADOW_OUT   1
 
#define X11_MGUI
 
#define XLItemCheck(pxl)   ((pxl)->misc |= SBL_ITEM_CHECKED)
 
#define XLItemUncheck(pxl)   ((pxl)->misc &= ~SBL_ITEM_CHECKED)
 

Typedefs

typedef int(* DB_ACTION_CB) (MOBJECT, const char *, char *, void *)
 
typedef void(* DB_DIR_CHANGE_CB) (MOBJECT, const char *, void *)
 
typedef struct DRAWAREA_PREF DRAWAREA_PREF
 
typedef void(* DRAWAREA_PREF_CB) (MOBJECT drawa, DRAWAREA_PREF *dp, void *ad)
 
typedef struct EDIT_CHANGE EDIT_CHANGE
 
typedef void(* EDIT_CHANGE_CB) (MOBJECT edit, EDIT_CHANGE *ec, void *ad)
 
typedef struct EDIT_CURS EDIT_CURS
 
typedef void(* EDIT_CURS_CB) (MOBJECT edit, EDIT_CURS *ev, void *ad)
 
typedef struct EDIT_VAL EDIT_VAL
 
typedef void(* EDIT_VAL_CB) (MOBJECT edit, EDIT_VAL *ev, void *ad)
 
typedef struct EL_TEMPLATE EL_TEMPLATE
 
typedef struct FB_PREFS FB_PREFS
 
typedef struct IMAGE_CMAP IMAGE_CMAP
 
typedef unsigned char * IMAGE_DATA
 
typedef void(* ITEM_SEEK_CB) (MOBJECT obj, SBL_ITEM_SEEK *iss, void *ad)
 
typedef struct LIST_ACT LIST_ACT
 
typedef void(* LIST_ACT_CB) (MOBJECT list, LIST_ACT *la, void *ad)
 
typedef struct LIST_SEL LIST_SEL
 
typedef void(* LIST_SEL_CB) (MOBJECT list, LIST_SEL *la, void *ad)
 
typedef struct MAnyWindowEvent MAnyWindowEvent
 
typedef MAnyWindowEvent MDeSelectEvent
 
typedef void * MENU_ITEM
 
typedef void(* MENU_ITEM_CB) (MENU_ITEM item, MVALUE status, void *ad)
 
typedef union MEvent MEvent
 
typedef struct MExposeEvent MExposeEvent
 
typedef MAnyWindowEvent MFocusEvent
 Window/Object Focus Event. More...
 
typedef void(* MGUI_CB) (MOBJECT obj, void *od, void *ad)
 
typedef MIMAGE_DESCRMIMAGE
 
typedef struct MIMAGE_DESCR MIMAGE_DESCR
 
typedef struct MKeyEvent MKeyEvent
 
typedef MAnyWindowEvent MMapEvent
 Window/Object Map Event. More...
 
typedef struct MMouseEvent MMouseEvent
 
typedef void * MOBJECT
 
typedef struct MPOINT MPOINT
 
typedef struct MRECT MRECT
 
typedef struct MResizeEvent MResizeEvent
 
typedef MAnyWindowEvent MSelectEvent
 
typedef CARD32 MTColor
 
typedef int MTCursor
 
typedef int MTFont
 
typedef void * MTNODE
 
typedef void(* MTREE_NODE_CB) (MTNODE node, void *ad)
 
typedef int(* MTREE_NODE_DELETE_CB) (MTNODE node, void *ad)
 
typedef int(* MTREE_NODE_RENAME_CB) (MTNODE node, const char *, void *ad)
 
typedef void(* MTREE_POPUP_CB) (MTNODE node, int mx, int my, void *ad)
 
typedef MAnyWindowEvent MUnmapEvent
 Window Unmap Event. More...
 
typedef INT32 MVALUE
 
typedef MAnyWindowEvent MWMCloseEvent
 Window Close Event. More...
 
typedef void(* NEW_BLOCK_CB) (MOBJECT obj, SBL_NEW_BLOCK *nbs, void *ad)
 
typedef void(* OBJ_EVENT_CB) (MOBJECT obj, MEvent *e, void *ad)
 
typedef void(* OBJ_STRING_CB) (MOBJECT obj, char *str, void *ad)
 
typedef void(* OBJ_VALUE_CB) (MOBJECT obj, MVALUE value, void *ad)
 
typedef struct RLIST RLIST
 
typedef struct SBL_ITEM_SEEK SBL_ITEM_SEEK
 
typedef struct SBL_NEW_BLOCK SBL_NEW_BLOCK
 
typedef void(* SOCKET_CB) (int s, unsigned event, void *data)
 
typedef int(* STRCMP_CB) (const char *, const char *)
 
typedef void(* TIMEOUT_CB) (TIMEOUT_ID id, void *data)
 
typedef CARD32 TIMEOUT_ID
 
typedef void(* WM_CLOSE_CB) (MOBJECT obj, void *odata, void *cdata)
 
typedef struct XL_ITEM XL_ITEM
 

Macro Definition Documentation

§ AltMask

#define AltMask   (1<<3)

Definition at line 392 of file Mguidefs.h.

§ DIR_SEP

#define DIR_SEP   '/'

Definition at line 103 of file Mguidefs.h.

§ False

#define False   0

§ HELV_L_FONT

#define HELV_L_FONT   HELV_MEDIUM

Definition at line 899 of file Mguidefs.h.

§ HELV_N_FONT

#define HELV_N_FONT   HELV_SMALL

Definition at line 898 of file Mguidefs.h.

§ LARGE_FONT

#define LARGE_FONT   FIXED_LARGE

Definition at line 895 of file Mguidefs.h.

Referenced by DDMessage(), and MDCreate_shell000().

§ MEDIUM_FONT

#define MEDIUM_FONT   FIXED_MEDIUM

Definition at line 894 of file Mguidefs.h.

§ MGUI_RELEASE

#define MGUI_RELEASE   0x414

Definition at line 11 of file Mguidefs.h.

Referenced by AboutCB().

§ NOCOLOR

#define NOCOLOR   ((MTColor)~0)

Definition at line 186 of file Mguidefs.h.

§ SBL_ITEM_CHECKED

#define SBL_ITEM_CHECKED   0x2L

Definition at line 1149 of file Mguidefs.h.

§ SBL_ITEM_SELECTED

#define SBL_ITEM_SELECTED   0x1L

Definition at line 1148 of file Mguidefs.h.

§ SBLT_ELIST

#define SBLT_ELIST   2

Definition at line 1146 of file Mguidefs.h.

§ SBLT_FILE

#define SBLT_FILE   3

Definition at line 1147 of file Mguidefs.h.

§ SBLT_LIST

#define SBLT_LIST   1

Definition at line 1145 of file Mguidefs.h.

§ SBLT_TEXT

#define SBLT_TEXT   0

Definition at line 1144 of file Mguidefs.h.

§ SMALL_FONT

#define SMALL_FONT   FIXED_SMALL

Static fonts WARNING: OBSOLETE

Definition at line 893 of file Mguidefs.h.

§ TIMES_L_FONT

#define TIMES_L_FONT   TIMES_MEDIUM

Definition at line 897 of file Mguidefs.h.

§ TIMES_N_FONT

#define TIMES_N_FONT   TIMES_SMALL

Definition at line 896 of file Mguidefs.h.

§ True

#define True   1

§ UNIX

#define UNIX

Definition at line 87 of file Mguidefs.h.

§ WS_HATCHED_IN

#define WS_HATCHED_IN   WS_ETCHED_IN

Definition at line 967 of file Mguidefs.h.

§ WS_HATCHED_OUT

#define WS_HATCHED_OUT   WS_ETCHED_OUT

Definition at line 968 of file Mguidefs.h.

§ X11_MGUI

#define X11_MGUI

Definition at line 85 of file Mguidefs.h.

Typedef Documentation

§ DRAWAREA_PREF

typedef struct DRAWAREA_PREF DRAWAREA_PREF

Definition at line 1132 of file Mguidefs.h.

§ EDIT_CHANGE

typedef struct EDIT_CHANGE EDIT_CHANGE

Definition at line 1377 of file Mguidefs.h.

§ EDIT_CURS

typedef struct EDIT_CURS EDIT_CURS

Definition at line 1351 of file Mguidefs.h.

§ EDIT_VAL

typedef struct EDIT_VAL EDIT_VAL

Definition at line 1403 of file Mguidefs.h.

§ EL_TEMPLATE

typedef struct EL_TEMPLATE EL_TEMPLATE

Definition at line 1241 of file Mguidefs.h.

§ FB_PREFS

typedef struct FB_PREFS FB_PREFS

Definition at line 1521 of file Mguidefs.h.

§ IMAGE_CMAP

typedef struct IMAGE_CMAP IMAGE_CMAP

Definition at line 425 of file Mguidefs.h.

§ IMAGE_DATA

typedef unsigned char* IMAGE_DATA

Pointer to the image raw pixel data.

Definition at line 400 of file Mguidefs.h.

§ LIST_ACT

typedef struct LIST_ACT LIST_ACT

Definition at line 1191 of file Mguidefs.h.

§ LIST_SEL

typedef struct LIST_SEL LIST_SEL

Definition at line 1219 of file Mguidefs.h.

§ MENU_ITEM

typedef void* MENU_ITEM

Definition at line 1418 of file Mguidefs.h.

§ MIMAGE

typedef MIMAGE_DESCR* MIMAGE

Definition at line 469 of file Mguidefs.h.

§ MIMAGE_DESCR

typedef struct MIMAGE_DESCR MIMAGE_DESCR

Definition at line 467 of file Mguidefs.h.

§ MOBJECT

typedef void* MOBJECT

Opaque MGui object identifier.

Definition at line 192 of file Mguidefs.h.

§ MPOINT

typedef struct MPOINT MPOINT

Definition at line 153 of file Mguidefs.h.

§ MRECT

typedef struct MRECT MRECT

Definition at line 203 of file Mguidefs.h.

§ MTColor

typedef CARD32 MTColor

Color identifier

Definition at line 183 of file Mguidefs.h.

§ MTCursor

typedef int MTCursor

Mouse cursor identifier

Definition at line 180 of file Mguidefs.h.

§ MTFont

typedef int MTFont

Font identifier

Definition at line 175 of file Mguidefs.h.

§ MTNODE

typedef void* MTNODE

MNODE is the Node type identifier.

Definition at line 999 of file Mguidefs.h.

§ MVALUE

typedef INT32 MVALUE

Definition at line 1422 of file Mguidefs.h.

§ RLIST

typedef struct RLIST RLIST

Definition at line 210 of file Mguidefs.h.

§ SBL_ITEM_SEEK

typedef struct SBL_ITEM_SEEK SBL_ITEM_SEEK

Definition at line 1296 of file Mguidefs.h.

§ SBL_NEW_BLOCK

typedef struct SBL_NEW_BLOCK SBL_NEW_BLOCK

Definition at line 1277 of file Mguidefs.h.

§ SOCKET_CB

typedef void(* SOCKET_CB) (int s, unsigned event, void *data)

Definition at line 1413 of file Mguidefs.h.

§ TIMEOUT_ID

typedef CARD32 TIMEOUT_ID

Definition at line 1421 of file Mguidefs.h.

§ XL_ITEM

typedef struct XL_ITEM XL_ITEM

Definition at line 1169 of file Mguidefs.h.

______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:44:54 for DAS - Rel. 3.1.6 - 18/09/2017.