diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-22 14:05:41 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-22 14:05:41 +0200 |
commit | b55285a77da0e0b829e4ce8d7e09debaabc68e15 (patch) | |
tree | f622559ef65bbdd3e1c5bdb06098a8f89eec0563 /app/bin/misc2.h | |
parent | d3897ce090dbeb220ed2c782f095597e417cf3cc (diff) | |
parent | d1ae75703e1ed81d65ea16946dcdb77e7a13adc9 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/bin/misc2.h')
-rw-r--r-- | app/bin/misc2.h | 14 |
1 files changed, 10 insertions, 4 deletions
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 |