add a missing section header table index conversion
[tangerine.git] / workbench / prefs / trackdisk / trackdisk_prefs.h
blob21791b2178353840986a63aed37020a55356b19b
1 struct DriveControls {
2 Object *NoClickSwitch;
3 Object *RetriesSlider;
4 char DriveLabel[64];
5 ULONG Disabled;
6 };
8 struct WindowGroup {
9 struct TagItem DriveGroup[TD_NUMUNITS];
10 ULONG TagChild;
11 Object *ButtonsGroup;
12 ULONG TagDone;
15 struct TDU_Prefs {
16 ULONG TagUnitNum;
17 ULONG Unit;
18 ULONG TagPubFlags;
19 ULONG PubFlags;
20 ULONG TagRetryCnt;
21 ULONG RetryCnt;
24 struct TrackdiskPrefs {
25 struct TDU_Prefs UnitPrefs[TD_NUMUNITS];
26 ULONG TagDone;
29 ULONG Main(void);
30 Object *CreateDriveControls(struct DriveControls *dc, int ndrive);
31 void InitUnitPrefs(struct TDU_Prefs *UnitPrefs, int nunit);
32 void LoadPrefs(void);
33 void ControlsToPrefs(struct DriveControls *dc, struct TDU_Prefs *pr);
34 void SavePrefs(void);
35 void UsePrefs(void);