summaryrefslogtreecommitdiff
path: root/app/bin/param.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-19 19:55:58 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-19 19:55:58 +0100
commitd1a8285f818eb7e5c3d6a05709ea21a808490b8c (patch)
tree326578f0505cbed07cfe60de530022822dc237ac /app/bin/param.h
parent16e9630b79f0a7a90c6cedb6781175bb8b337dc1 (diff)
New upstream version 5.1.0upstream/5.1.0
Diffstat (limited to 'app/bin/param.h')
-rw-r--r--app/bin/param.h13
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 );