diff options
Diffstat (limited to 'app/bin/misc.h')
-rw-r--r-- | app/bin/misc.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/app/bin/misc.h b/app/bin/misc.h index 22e8f5a..7d3231e 100644 --- a/app/bin/misc.h +++ b/app/bin/misc.h @@ -1,5 +1,5 @@ -/* - * $Header: /home/dmarkle/xtrkcad-fork-cvs/xtrkcad/app/bin/misc.h,v 1.8 2009-09-05 16:40:53 m_fischer Exp $ +/** \file misc.h + * Application wide declarations and defines */ /* XTrkCad - Model Railroad CAD @@ -23,7 +23,7 @@ #ifndef MISC_H #define MISC_H -#define EXPORT +#define EXPORT #include "acclkeys.h" @@ -32,11 +32,8 @@ typedef void (*addButtonCallBack_t)(void*); #include "custom.h" #ifdef WINDOWS -#define FILE_SEP_CHAR "\\" /* suppress warning from *.bmp about conversion of int to char */ #pragma warning( disable : 4305) -#else -#define FILE_SEP_CHAR "/" #endif #define COUNT(A) (sizeof(A)/sizeof(A[0])) @@ -192,7 +189,7 @@ extern wBool_t extraButtons; extern wButton_p undoB; extern wButton_p redoB; extern wButton_p zoomUpB; /** ZoomUp button on toolbar */ -extern wButton_p zoomDownB; /** ZoomDown button on toolbar */ +extern wButton_p zoomDownB; /** ZoomDown button on toolbar */ // extern wButton_p easementB; extern wIndex_t checkPtMark; extern wMenu_p demoM; @@ -313,11 +310,11 @@ void OutputBitMap( void ); wDrawColor snapGridColor; addButtonCallBack_t ColorInit( void ); -addButtonCallBack_t PrefInit( void ); -addButtonCallBack_t LayoutInit( void ); -addButtonCallBack_t DisplayInit( void ); -addButtonCallBack_t CmdoptInit( void ); -addButtonCallBack_t OutputBitMapInit( void ); +addButtonCallBack_t PrefInit( void ); +addButtonCallBack_t LayoutInit( void ); +addButtonCallBack_t DisplayInit( void ); +addButtonCallBack_t CmdoptInit( void ); +addButtonCallBack_t OutputBitMapInit( void ); addButtonCallBack_t CustomMgrInit( void ); addButtonCallBack_t PriceListInit( void ); addButtonCallBack_t ParamFilesInit( void ); @@ -330,8 +327,10 @@ BOOL_T GridIsVisible( void ); void InitSnapGridButtons( void ); void SnapGridEnable( void ); void SnapGridShow( void ); +void MapWindowShow( int state ); wMenuToggle_p snapGridEnableMI; wMenuToggle_p snapGridShowMI; +wMenuToggle_p mapShowMI; void ScaleLengthEnd( void ); void EnumerateList( long, FLOAT_T, char * ); |