summaryrefslogtreecommitdiff
path: root/app/bin/track.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-27 14:58:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-27 14:58:13 +0200
commit265d6934cd70a60228e7a11cfc000aff73dd4701 (patch)
tree610eb753fea70e7f407e751e22697fc8a1ec04bd /app/bin/track.h
parentbd8c21a35fd05fcbdaa95e4c0b7c94c3b97507b6 (diff)
parent359b557176b9bb2ff1aed2082641eed39c358d0d (diff)
Update upstream source from tag 'upstream/5.1.2a'
Update to upstream version '5.1.2a' with Debian dir 4d0d8239e41bb5de5dc968c2a5c6eb9c140bb2f3
Diffstat (limited to 'app/bin/track.h')
-rw-r--r--app/bin/track.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/bin/track.h b/app/bin/track.h
index 385a043..7485730 100644
--- a/app/bin/track.h
+++ b/app/bin/track.h
@@ -164,6 +164,8 @@ typedef struct {
BOOL_T (*makeParallel)( track_p, coOrd, DIST_T, track_p *, coOrd *, coOrd * );
void (*drawDesc)( track_p, drawCmd_p, wDrawColor );
BOOL_T (*rebuildSegs)(track_p);
+ BOOL_T (*replayData)(track_p, void *,long );
+ BOOL_T (*storeData)(track_p, void **,long *);
} trackCmd_t;
@@ -505,6 +507,7 @@ void CheckTrackLength( track_cp );
track_p NewTrack( wIndex_t, TRKTYP_T, EPINX_T, CSIZE_T );
void DescribeTrack( track_cp, char *, CSIZE_T );
EPINX_T GetEndPtConnectedToMe( track_p, track_p );
+EPINX_T GetNearestEndPtConnectedToMe( track_p, track_p, coOrd);
void SetEndPts( track_p, EPINX_T );
BOOL_T DeleteTrack( track_p, BOOL_T );
@@ -597,6 +600,8 @@ void UngroupTrack( track_p );
BOOL_T IsTrack( track_p );
char * GetTrkTypeName( track_p );
BOOL_T RebuildTrackSegs(track_p);
+BOOL_T StoreTrackData(track_p, void **, long *);
+BOOL_T ReplayTrackData(track_p, void *, long);
DIST_T GetFlexLength( track_p, EPINX_T, coOrd * );
void LabelLengths( drawCmd_p, track_p, wDrawColor );
@@ -632,6 +637,7 @@ typedef struct {
descType type;
char * label;
void * valueP;
+ unsigned int max_string;
int mode;
wControl_p control0;
wControl_p control1;
@@ -676,7 +682,7 @@ BOOL_T ReadText( char * );
extern DIST_T curBarScale;
void InitHotBar( void );
void HideHotBar( void );
-void LayoutHotBar( void );
+void LayoutHotBar ( void *);
typedef enum { HB_SELECT, HB_DRAW, HB_LISTTITLE, HB_BARTITLE, HB_FULLTITLE } hotBarProc_e;
typedef char * (*hotBarProc_t)( hotBarProc_e, void *, drawCmd_p, coOrd * );
void AddHotBarElement( char *, coOrd, coOrd, BOOL_T, DIST_T, void *, hotBarProc_t );