From b623f5953691b2a0614e6f1f4def86bdbb9a4113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 8 Aug 2020 11:53:00 +0200 Subject: New upstream version 5.2.0Beta2.1 --- app/bin/misc2.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'app/bin/misc2.h') diff --git a/app/bin/misc2.h b/app/bin/misc2.h index d616ad8..966f75b 100644 --- a/app/bin/misc2.h +++ b/app/bin/misc2.h @@ -42,7 +42,7 @@ typedef struct { } logTable_t; extern dynArr_t logTable_da; #define logTable(N) DYNARR_N( logTable_t, logTable_da, N ) -time_t logClock; +extern time_t logClock; void LogOpen( char * ); void LogClose( void ); void LogSet( char *, int ); @@ -85,13 +85,19 @@ void LoadGaugeList( wList_p, SCALEDESCINX_T ); BOOL_T CompatibleScale( BOOL_T, SCALEINX_T, SCALEINX_T ); BOOL_T DoSetScaleDesc( void ); -unsigned int curLayer; -long layerCount; +extern unsigned int curLayer; +extern long layerCount; +void SetCurrLayer(wIndex_t inx, const char * name, wIndex_t op, + void * listContext, void * arg); wDrawColor GetLayerColor( unsigned int ); +BOOL_T GetLayerUseColor( unsigned int); BOOL_T GetLayerVisible( unsigned int ); BOOL_T GetLayerFrozen( unsigned int ); BOOL_T GetLayerOnMap( unsigned int ); +BOOL_T GetLayerModule( unsigned int ); +void SetLayerModule(unsigned int, BOOL_T); char * GetLayerName( unsigned int ); +void SetLayerName(unsigned int layer, char* name); BOOL_T ReadLayers( char * ); BOOL_T WriteLayers( FILE * ); char * FormatLayerName(unsigned int layerNumber); @@ -103,7 +109,7 @@ void SaveLayers( void ); void RestoreLayers( void ); void LoadLayerLists( void ); addButtonCallBack_t InitLayersDialog( void ); - +void FillLayerList(wList_p layerList); void Misc2Init( void ); #endif -- cgit v1.2.3