diff options
Diffstat (limited to 'app/bin/param.h')
-rw-r--r-- | app/bin/param.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/app/bin/param.h b/app/bin/param.h index 02d259c..355f3e7 100644 --- a/app/bin/param.h +++ b/app/bin/param.h @@ -1,5 +1,5 @@ -/* - * $Header: /home/dmarkle/xtrkcad-fork-cvs/xtrkcad/app/bin/param.h,v 1.6 2009-09-21 18:24:33 m_fischer Exp $ +/** \file param.h + * Definitions for parameter dialog handling */ /* XTrkCad - Model Railroad CAD @@ -23,6 +23,10 @@ #ifndef PARAM_H #define PARAM_H +#include "common.h" +#include "wlib.h" +#include "draw.h" + typedef struct turnoutInfo_t * turnoutInfo_p; typedef enum { @@ -214,12 +218,15 @@ extern int paramLen; extern unsigned long paramKey; extern BOOL_T paramTogglePlaybackHilite; +long GetChanges(paramGroup_p pg); + + #define ParamMenuPushCreate( PD, M, HS, NS, AK, FUNC ) \ wMenuPushCreate( M, HS, NS, AK, paramMenuPush, &PD ); \ (PD).valueP = FUNC; \ if ( HS ) GetBalloonHelpStr(HS); -#define PD_F_ALT_CANCELLABEL (1L<<30) +#define PD_F_ALT_CANCELLABEL (1L<<30) /**<use Close or Cancel for the discard button */ wWin_p ParamCreateDialog( paramGroup_p, char *, char *, paramActionOkProc, paramActionCancelProc, BOOL_T, paramLayoutProc, long, paramChangeProc ); void ParamCreateControls( paramGroup_p, paramChangeProc ); void ParamLayoutDialog( paramGroup_p ); |