annotate src/divemode.inc @ 501:69a98f3f3b84

minor
author heinrichsweikamp
date Mon, 22 May 2017 23:03:21 +0200
parents ab20ec12baec
children 0d1cda9f2d43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
heinrichsweikamp
parents:
diff changeset
3 ; File divemode.inc
heinrichsweikamp
parents:
diff changeset
4 ;
heinrichsweikamp
parents:
diff changeset
5 ;
heinrichsweikamp
parents:
diff changeset
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
7 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
8 ; HISTORY
heinrichsweikamp
parents:
diff changeset
9 ; 2011-08-15 : [mH] moving from OSTC code
heinrichsweikamp
parents:
diff changeset
10
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
11 extern set_dive_modes
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
12 extern diveloop
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
13 extern apnoe_calc_maxdepth
0
heinrichsweikamp
parents:
diff changeset
14
heinrichsweikamp
parents:
diff changeset
15 ; Divemode layout:
heinrichsweikamp
parents:
diff changeset
16 ; row=0...239
heinrichsweikamp
parents:
diff changeset
17 ; column=0...159 (x2)
heinrichsweikamp
parents:
diff changeset
18
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
19 ; Divemode has multiple layouts but basicly splits the screen into 3 rows:
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
20 ; - upper content row: depth, max depth, dive time, etc.
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
21 ; - custom content view with selectable views
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
22 ; - bottom content: temp, gas, ndl, tts, etc.
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
23
413
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
24 ; I. The upper content row. (0-99)
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
25 ; The top row can be divided 2 areas:
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
26 ; - header: has the titles (mask)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
27 ; - content: has the values
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
28 ;******* Upper content / header row *******
332
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
29 #DEFINE dm_mask_depth_row .0
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
30 #DEFINE dm_mask_depth_column .12
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
31 #DEFINE dm_mask_maxdepth_row .0
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
32 #DEFINE dm_mask_maxdepth_column .73
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
33 #DEFINE dm_mask_maxdepth_column_nvsi .63
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
34 #DEFINE dm_mask_divetime_row .0
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
35 #DEFINE dm_mask_divetime_column .122
0
heinrichsweikamp
parents:
diff changeset
36
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
37 ; The content row contains 3 columns:
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
38 ; - depth and ascend rate warning
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
39 ; - max depth and warning messages
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
40 ; - dive time, apnea dive times and warning icon
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
41 ; DIVEMODE_OFFSET=position below the title row
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
42 ;******* Upper content / content row / 1st col *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
43 ; GLOBAL
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
44 #DEFINE dm_offset .14 ; 14
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
45 ; Depth
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
46 #DEFINE dm_depth_row dm_offset ; TOP - 14 - start position of the detph numbers
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
47 #DEFINE dm_depth_column .0 ; LEFT - 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
48 #DEFINE dm_depth_bot dm_depth_row+.61 ; 75
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
49 #DEFINE dm_depth_rgt dm_depth_column+.59 ; 59
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
50 #DEFINE dm_depth_dm_row dm_depth_row+.25 ; 39 - if metric and d<100, decimeter shown as: ".5"
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
51 #DEFINE dm_depth_dm_column dm_depth_column+.40 ; 40 - bottom aligned so it has its own position (2nd content line only)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
52 ; Ascend rate
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
53 #DEFINE dm_velocity_text_row dm_depth_row+.62 ; 76
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
54 #DEFINE dm_velocity_text_column dm_depth_column ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
55 #DEFINE dm_velocity_text_bot dm_velocity_text_row+.23 ; 99
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
56 #DEFINE dm_velocity_text_rgt dm_depth_rgt ; 61
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
57 ; Ascend/Descend bar
315
4f83470dcece VSIbar #3: remaining changes for the split style bar
Janos Kovacs <kovjanos@gmail.com>
parents: 310
diff changeset
58 #DEFINE dm_velobar_top dm_offset ; 14
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
59 #DEFINE dm_velobar_lft dm_depth_rgt+.1 ; 62
399
db25f2028074 CHANGE: New segmented speed graph in divemode
heinrichsweikamp
parents: 371
diff changeset
60 #DEFINE dm_velobar_bot dm_offset+.70 ; 84
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
61 #DEFINE dm_velobar_rgt .73 ; 73
310
453a3d13570f VSIbar #2: ascend bar + max-depth title alignment. Debug: bar-frame, zero-line, sim+- 0.1m
janos_kovacs <kovjanos@gmail.com>
parents: 309
diff changeset
62 #DEFINE dm_velobar_width .12
0
heinrichsweikamp
parents:
diff changeset
63
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
64 ;******* Upper content / content row / 2nd col *******
332
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
65 #DEFINE dm_upcnt_2ndcol .74 ; 74
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
66 #DEFINE dm_upcnt_2ndcol_nvsi .64 ; 64
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
67 ; Max depth
332
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
68 #DEFINE dm_max_depth_row dm_offset ; 14
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
69 #DEFINE dm_max_depth_column dm_upcnt_2ndcol ; 74
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
70 #DEFINE dm_max_depth_column_nvsi dm_upcnt_2ndcol_nvsi ; 64
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
71 #DEFINE dm_max_depth_bot dm_max_depth_row+.34 ; 48
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
72 #DEFINE dm_max_depth_rgt dm_max_depth_column+.36 ; 100
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
73 #DEFINE dm_max_depth_dm_row dm_max_depth_row+.11 ; 25
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
74 #DEFINE dm_max_depth_dm_column dm_max_depth_column+.23 ; 87
0ff81ff290ce Fix positions if no VSI Bar displayed
Janos Kovacs <kovjanos@gmail.com>
parents: 315
diff changeset
75 #DEFINE dm_max_depth_dm_column_nvsi dm_max_depth_column_nvsi+.23 ; 77
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
76 ; Warning area (combined)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
77 #DEFINE dm_warning_row dm_offset+.36 ; 50
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
78 #DEFINE dm_warning_column dm_upcnt_2ndcol ; 74
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
79 #DEFINE dm_warning_bot dm_warning_row+.49 ; 99
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
80 #DEFINE dm_warning_rgt dm_warning_column+.62 ; 136
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
81 #DEFINE dm_warning_length .9 ; total string length
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
82 ; Warning row #1
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
83 #DEFINE dm_warning1_row dm_warning_row ; 36/50
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
84 #DEFINE dm_warning1_column dm_warning_column ; 64
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
85 #DEFINE dm_warning1_bot dm_warning1_row+.23 ; 59/73
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
86 #DEFINE dm_warning1_rgt dm_warning_rgt ; 136
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
87 ; Warning row #2
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
88 #DEFINE dm_warning2_row dm_warning_row+.24 ; 60/74
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
89 #DEFINE dm_warning2_column dm_warning_column ; 64
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
90 #DEFINE dm_warning2_bot dm_warning2_row+.23 ; 83/97
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
91 #DEFINE dm_warning2_rgt dm_warning_rgt ; 136
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
92
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
93 ;******* Upper content / content row / 3rd col *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
94 ; Dive time
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
95 #DEFINE dm_divetime_row dm_offset ; 14
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
96 #DEFINE dm_divetime_column .115 ; 115
405
08fea401be24 BUGFIX: Divetime >99mins was not displayed (Only OSTC2 with serial >= )
heinrichsweikamp
parents: 399
diff changeset
97 #DEFINE dm_divetime_minsonly_column .111 ; 111
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
98 #DEFINE dm_divetime_bot dm_divetime_row+.34 ; 48
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
99 #DEFINE dm_divetime_rgt .159 ; 159
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
100 #DEFINE dm_divetime_secs_row dm_divetime_row+.11 ; 25
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
101 #DEFINE dm_divetime_secs_column dm_divetime_column+.24 ; 139
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
102 ; Warning icon
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
103 #DEFINE dm_warning_icon_row dm_offset+.41 ; 55
309
efb53af0d62a VSIbar #1: layout position changes
janos_kovacs <kovjanos@gmail.com>
parents: 300
diff changeset
104 #DEFINE dm_warning_icon_column .137 ; 137
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
105 #DEFINE dm_warning_icon_bot dm_warning_icon_row+.38 ; 93
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
106 #DEFINE dm_warning_icon_rgt dm_warning_icon_column+.21 ; 156
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
107 ; Apnea dive time
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
108 #DEFINE dm_divetime_apnoe_row dm_offset ; 14
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
109 #DEFINE dm_divetime_apnoe_column .103 ; 103
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
110 #DEFINE dm_divetime_apnoe_secs_row dm_divetime_apnoe_row+.11 ; 25
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
111 #DEFINE dm_divetime_apnoe_secs_column dm_divetime_apnoe_column+.36 ; 139
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
112 ; Apnea total time
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
113 #DEFINE dm_apnoe_total_divetime_row dm_divetime_apnoe_row+.50 ; 64
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
114 #DEFINE dm_apnoe_total_divetime_column dm_divetime_apnoe_column ; 103
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
115 #DEFINE dm_apnoe_total_divetime_secs_row dm_apnoe_total_divetime_row+.11 ; 75
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
116 #DEFINE dm_apnoe_total_divetime_secs_col dm_divetime_apnoe_column+.36 ; 139
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
117 #DEFINE dm_total_apnoe_text_row dm_apnoe_total_divetime_row-.11 ; 53
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
118 #DEFINE dm_total_apnoe_text_column .132 ; 132
413
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
119 ; I. End of the upper content row. (0-99)
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
120
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
121
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
122
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
123 ; 1px space between the 1st and 2nd content rows
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
124 #DEFINE dm_sep_1_2_row dm_offset+.86 ; 100
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
125
38
64976f1e0a1c Show total divetime in apnea mode
mh@mh-THINK.fritz.box
parents: 29
diff changeset
126
0
heinrichsweikamp
parents:
diff changeset
127
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
128 ; II. Custom/selectable content row
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
129 ; The costume view display area is: 101,163,0,159 (t,b,l,r), or 0,101->159,163
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
130 ; 1. Stopwatch with avarage depth
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
131 ; 2. Decoplan - decompression stops up to 6 stops
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
132 ; 3. Time, EAD/END and tissue saturation (graph)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
133 ; 4. GF and aGF pairs
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
134 ; 5. Compass
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
135 ; 6. HUD - 3 sensor readings
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
136 ; 7. Gas list
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
137 ; 8. Ceiling (for GF_hi)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
138 ;******* Custom content / Global *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
139 #DEFINE dm_customview_row dm_offset+.87 ; 101
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
140 #DEFINE dm_customview_column .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
141 #DEFINE dm_customview_bot dm_customview_row+.62 ; 163
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
142 #DEFINE dm_customview_rgt .159 ; 159
0
heinrichsweikamp
parents:
diff changeset
143
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
144 ;******* Custom content / #1 - Avg depth, stopwatch and avg depth *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
145 ; Title
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
146 #DEFINE dm_custom_avr_stop_title_row dm_customview_row+.1 ; 102
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
147 #DEFINE dm_custom_avr_stop_title_column1 .2 ; 2
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
148 #DEFINE dm_custom_avr_stop_title_column2 .57 ; 57
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
149 #DEFINE dm_custom_avr_stop_title_column3 .110 ; 110
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
150 ; Values
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
151 #DEFINE dm_custom_avr_stop_row dm_customview_row+.16 ; 117
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
152 #DEFINE dm_custom_avr_stop_column1 .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
153 #DEFINE dm_custom_avr_stop_column2 .54 ; 54
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
154 #DEFINE dm_custom_avr_stop_column3 .118 ; 118
0
heinrichsweikamp
parents:
diff changeset
155
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
156 ;******* Custom content / #2 - Decompressions stops *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
157 ; Title
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
158 #DEFINE dm_custom_decoplan_title_row dm_customview_row ; 101
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
159 #DEFINE dm_custom_decoplan_title_column .65 ; 65
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
160 ; 1st col
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
161 #DEFINE dm_cust_dstop_2nd_stop_row dm_customview_row+.15 ; 116
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
162 #DEFINE dm_cust_dstop_2nd_stop_column .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
163 #DEFINE dm_cust_dstop_3rd_stop_row dm_customview_row+.39 ; 140
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
164 #DEFINE dm_cust_dstop_3rd_stop_column dm_cust_dstop_2nd_stop_column ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
165 ; 2nd col
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
166 #DEFINE dm_cust_dstop_4th_stop_row dm_cust_dstop_2nd_stop_row ; 116
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
167 #DEFINE dm_cust_dstop_4th_stop_column .56 ; 56
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
168 #DEFINE dm_cust_dstop_5th_stop_row dm_cust_dstop_3rd_stop_row ; 140
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
169 #DEFINE dm_cust_dstop_5th_stop_column dm_cust_dstop_4th_stop_column ; 56
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
170 ; 3rd col
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
171 #DEFINE dm_cust_dstop_6th_stop_row dm_cust_dstop_2nd_stop_row ; 116
371
fec5eec4c8b7 fix some display issues with display1
heinrichsweikamp
parents: 370
diff changeset
172 #DEFINE dm_cust_dstop_6th_stop_column .111 ; 111
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
173 #DEFINE dm_cust_dstop_7th_stop_row dm_cust_dstop_3rd_stop_row ; 140
499
heinrichsweikamp
parents: 482
diff changeset
174 #DEFINE dm_cust_dstop_7th_stop_column dm_cust_dstop_6th_stop_column ; 111
0
heinrichsweikamp
parents:
diff changeset
175
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
176 ;******* Custom content / #3 - Time, EAD/END and tissue saturation *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
177 ; Clock
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
178 #DEFINE dm_custom_clock_title_row dm_customview_row+.1 ; 102
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
179 #DEFINE dm_custom_clock_row dm_customview_row+.16 ; 117
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
180 #DEFINE dm_custom_clock_column .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
181 #DEFINE dm_custom_endtime_row dm_custom_clock_row+.23 ; 140 - not used
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
182 #DEFINE dm_custom_endtime_column dm_custom_clock_column ; 0 - not used
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
183 ; EAD/AND
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
184 #DEFINE dm_custom_eadend_title_row dm_customview_row+.1 ; 102
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
185 #DEFINE dm_custom_ead_row dm_customview_row+.16 ; 117
471
9edb1359ce43 NEW: New Customview 11 in dive mode shows ppO2, EAD/END and CNS
heinrichsweikamp
parents: 413
diff changeset
186 #DEFINE dm_custom_ead_column .50 ; 50
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
187 #DEFINE dm_custom_end_row dm_custom_ead_row+.23 ; 140
471
9edb1359ce43 NEW: New Customview 11 in dive mode shows ppO2, EAD/END and CNS
heinrichsweikamp
parents: 413
diff changeset
188 #DEFINE dm_custom_end_column dm_custom_ead_column ; 50
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
189 ; Tissue title
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
190 #DEFINE dm_custom_tissue_title_row dm_customview_row+.1 ; 102
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
191 #DEFINE dm_custom_tissue_title_column .120 ; 120
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
192 ; N2 / He values
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
193 #DEFINE dm_custom_tissue_N2_row dm_custom_ead_row+.5 ; 122
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
194 #DEFINE dm_custom_tissue_N2_column .105 ; 105
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
195 #DEFINE dm_custom_tissue_He_row dm_custom_end_row+.5 ; 145
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
196 #DEFINE dm_custom_tissue_He_column dm_custom_tissue_N2_column ; 105
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
197 ; Tissue diagram
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
198 #DEFINE dm_custom_tissue_diagram_top dm_customview_row+.16 ; 117
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
199 #DEFINE dm_custom_tissue_diagram_bottom dm_custom_tissue_diagram_top+.43 ; 160
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
200 #DEFINE dm_custom_tissue_diagram_left .116 ; 116
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
201 #DEFINE dm_custom_tissue_diagram_frame_spacing .8 ; 8
0
heinrichsweikamp
parents:
diff changeset
202
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
203 ;******* Custom content / #4 - GF-lo/hi, aGF-lo/hi, current GF value *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
204 ; Title
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
205 #DEFINE dm_custom_gf_title_row dm_customview_row+.1 ; 102
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
206 #DEFINE dm_custom_gf_title_col1 .8 ; 8
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
207 #DEFINE dm_custom_gf_title_col2 .62 ; 62
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
208 #DEFINE dm_custom_gf_title_col3 .115 ; 115
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
209 ; GF
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
210 #DEFINE dm_custom_gf_row dm_customview_row+.18 ; 119
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
211 #DEFINE dm_custom_gf_column .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
212 ; aGF
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
213 #DEFINE dm_custom_agf_row dm_custom_gf_row ; 119
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
214 #DEFINE dm_custom_agf_column .60 ; 60
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
215 ; Current GF
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
216 #DEFINE dm_custom_currentgf_row dm_custom_gf_row ; 119
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
217 #DEFINE dm_custom_currentgf_column .118 ; 118
123
d076e9c02438 add ceiling display
heinrichsweikamp
parents: 104
diff changeset
218
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
219 ;******* Custom content / #5 - Compass *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
220 ; Title
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
221 #DEFINE dm_custom_compass_mask_row dm_customview_row ; 101
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
222 #DEFINE dm_custom_compass_mask_column .65 ; 65
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
223 ; Head and arrows
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
224 #DEFINE dm_custom_compass_head_row dm_customview_row+.39 ; 140
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
225 #DEFINE dm_custom_compass_head_column .62 ; 62
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
226 #DEFINE dm_custom_compass_ldir_column .5 ; 5
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
227 #DEFINE dm_custom_compass_rdir_column .140 ; 140
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
228 ; Ruler
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
229 #DEFINE dm_custom_compass_graph_row dm_customview_row ; 101
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
230 #DEFINE dm_custom_compass_graph_height .33 ; 33
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
231 #DEFINE dm_custom_compass_tick_height .3 ; 3
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
232 #DEFINE dm_custom_compass_tick_top_top dm_custom_compass_graph_row+.1 ; 102
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
233 #DEFINE dm_custom_compass_tick_top_bot dm_custom_compass_graph_row+.4 ; 105
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
234 #DEFINE dm_custom_compass_label_row dm_custom_compass_graph_row+.6 ; 107
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
235 #DEFINE dm_custom_compass_label_height .24 ; 24
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
236 #DEFINE dm_custom_compass_tick_bot_top dm_custom_compass_graph_row+.30 ; 131
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
237 #DEFINE dm_custom_compass_tick_bot_bot dm_custom_compass_graph_row+.33 ; 134
53
2825f1d2262f NEW: Dynamic Gaslist in OC mode (Divemode, Customview 7)
heinrichsweikamp
parents: 38
diff changeset
238
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
239 ;******* Custom content / #6 - HUD / O2 sensor values *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
240 #DEFINE dm_custom_hud_row dm_customview_row+.1 ; 102
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
241 #DEFINE dm_custom_hud_column1 .10 ; 10
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
242 #DEFINE dm_custom_hud_column2 .65 ; 65
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
243 #DEFINE dm_custom_hud_column3 .120 ; 120
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
244 #DEFINE dm_custom_hud_data_row dm_customview_row+.16 ; 117
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
245 #DEFINE dm_custom_hud_sensor1_column .6 ; 6
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
246 #DEFINE dm_custom_hud_sensor2_column .62 ; 62
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
247 #DEFINE dm_custom_hud_sensor3_column .118 ; 118
0
heinrichsweikamp
parents:
diff changeset
248
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
249 ;******* Custom content / #7 - Gas list *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
250 ; Title
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
251 #DEFINE dm_custom_dyn_gas_mask_row dm_customview_row ; 101
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
252 #DEFINE dm_custom_dyn_gas_mask_column .59 ; 59
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
253 ; col #1
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
254 #DEFINE dm_custom_dyn_gas_row1 dm_customview_row+.16 ; 117
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
255 #DEFINE dm_custom_dyn_gas_column1 .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
256 ; col #2
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
257 #DEFINE dm_custom_dyn_gas_row2 dm_customview_row+.39 ; 140
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
258 #DEFINE dm_custom_dyn_gas_column2 .80 ; 80
0
heinrichsweikamp
parents:
diff changeset
259
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
260 ;******* Custom content / #8 - Ceiling value for GF_hi *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
261 ; Title
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
262 #DEFINE dm_custom_ceiling_text_row dm_customview_row+.1 ; 102
333
14b466f66a7f Extend the Ceiling custom-view with ppO2 and current GF
Janos Kovacs <kovjanos@gmail.com>
parents: 332
diff changeset
263 #DEFINE dm_custom_ceiling_text_column .68 ; 66
14b466f66a7f Extend the Ceiling custom-view with ppO2 and current GF
Janos Kovacs <kovjanos@gmail.com>
parents: 332
diff changeset
264 #DEFINE dm_custom_ceiling_ppo2_column .8 ; 8
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
265 ; Value
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
266 #DEFINE dm_custom_ceiling_value_row dm_customview_row+.18 ; 119
333
14b466f66a7f Extend the Ceiling custom-view with ppO2 and current GF
Janos Kovacs <kovjanos@gmail.com>
parents: 332
diff changeset
267 #DEFINE dm_custom_ceiling_value_column .66 ; 64
14b466f66a7f Extend the Ceiling custom-view with ppO2 and current GF
Janos Kovacs <kovjanos@gmail.com>
parents: 332
diff changeset
268 #DEFINE dm_custom_ceiling_ppo2_val_col .2 ; 2
413
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
269
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
270 ;******* Custom content / #10 - Sensor check view *******
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
271 ; Title
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
272 #DEFINE dm_custom_s_check_text_row dm_customview_row+.1 ; 102
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
273 #DEFINE dm_custom_s_check_text_column .50 ; 50
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
274 #DEFINE dm_custom_ppO2_text_column .2 ; 2
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
275 #DEFINE dm_custom_ppDil_text_column .115 ; 115
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
276 ; Value
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
277 #DEFINE dm_custom_s_check_ppo2_o2_column .8 ; 8
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
278 #DEFINE dm_custom_s_check_ppo2_dil_col .108 ; 108
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
279 #DEFINE dm_custom_s_check_value_row dm_customview_row+.18 ; 119
482
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
280
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
281 ;******* Custom content / #12 - PSCR Info *******
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
282 ; Title
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
283 #DEFINE dm_custom_pscr_text_row dm_customview_row+.1 ; 102
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
284 #DEFINE dm_custom_pscr_text_drop_column .55
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
285 #DEFINE dm_custom_pscr_text_ratio_column .105
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
286 ; Value
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
287 #DEFINE dm_custom_pscr_drop_column .66
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
288 #DEFINE dm_custom_pscr_drop_row dm_customview_row+.18
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
289 #DEFINE dm_custom_pscr_ratio_column .110
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
290 #DEFINE dm_custom_pscr_ratio_row dm_customview_row+.18
c0ee33f1f399 New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
heinrichsweikamp
parents: 471
diff changeset
291
413
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
292 ; II. End of the custom content row. (101-163)
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
293
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
294
0
heinrichsweikamp
parents:
diff changeset
295
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
296 ; 1px space between the 2nd and 3rd content rows
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
297 #DEFINE dm_sep_2_3_row dm_offset+.150 ; 164
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
298
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
299
131
35b9da423de6 NEW: Update warnings every second
heinrichsweikamp
parents: 123
diff changeset
300
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
301 ; III. The 3rd content row contains temperature, active gas, NDL/TTS time,
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
302 ; simulator menu, active/dil gas, decostop, Apnea surface time and max depth
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
303 ; The content row contains 2 columns:
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
304 ; - temperature, gas names
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
305 ; - NDL/TTS, DecoStop
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
306 #DEFINE dm_3rdrow_top dm_offset+.151 ; 165
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
307 #DEFINE dm_3rdrow_bot .239 ; 239
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
308 #DEFINE dm_3rdrow_lft .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
309 #DEFINE dm_3rdrow_rgt .159 ; 159
0
heinrichsweikamp
parents:
diff changeset
310
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
311 ;******* Bottom content / 1st col *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
312 ; Temperature
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
313 #DEFINE dm_temp_row dm_3rdrow_top ; 165
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
314 #DEFINE dm_temp_column .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
315 ; Simulation text
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
316 #DEFINE dm_simtext_row dm_3rdrow_top ; 165
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
317 #DEFINE dm_simtext_column .30 ; 30
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
318 ; Diluent gas
370
67e631aa5b8c debugging the compass screen
heinrichsweikamp
parents: 369
diff changeset
319 #DEFINE dm_active_dil_row dm_3rdrow_top+.23 ; 189
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
320 #DEFINE dm_active_dil_column .0 ; 0
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
321 ; active gas for OC, blinking better gas, setpoint or bailout for CCR
369
ca32cf2435c6 fixing some layout issues
heinrichsweikamp
parents: 333
diff changeset
322 #DEFINE dm_active_gas_row .208 ; 208
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
323 #DEFINE dm_active_gas_column .0 ; 0
0
heinrichsweikamp
parents:
diff changeset
324
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
325 ;******* Bottom content / 2nd col *******
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
326 ; Next deco stop for TTS
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
327 #DEFINE dm_decostop_1st_stop_row dm_3rdrow_top ; 165
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
328 #DEFINE dm_decostop_1st_stop_column .82 ; 82
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
329 ; Safety Stop
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
330 #DEFINE dm_safetystop_row dm_3rdrow_top ; 165 (pre: 171)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
331 #DEFINE dm_safetystop_column .118 ; 118
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
332 #DEFINE dm_safetystop_bot dm_safetystop_row+.31 ; 196
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
333 #DEFINE dm_safetystop_text_row dm_safetystop_row+.1 ; 166 (pre: 175)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
334 #DEFINE dm_safetystop_text_column .80 ; 80 - for the 4char "Stop"!!!
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
335 ; TTS
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
336 #DEFINE dm_tts_value_row dm_3rdrow_top+.32; ; 197 (pre: 207)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
337 #DEFINE dm_tts_value_column .118 ; 118
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
338 #DEFINE dm_tts_text_row dm_tts_value_row+.5 ; 202 (pre: 211)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
339 #DEFINE dm_tts_text_column .85 ; 85
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
340 ; NDL - the same position as TTS
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
341 #DEFINE dm_ndl_value_row dm_tts_value_row ; 197
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
342 #DEFINE dm_ndl_value_column dm_tts_value_column ; 118
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
343 #DEFINE dm_ndl_text_row dm_tts_text_row ; 202
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
344 #DEFINE dm_ndl_text_column dm_tts_text_column ; 85
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
345 ; FTTS (only modded screen)
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
346 #DEFINE dm_ftts_value_row dm_3rdrow_top+.64 ; 215
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
347 #DEFINE dm_ftts_value_column .97 ; 97
315
4f83470dcece VSIbar #3: remaining changes for the split style bar
Janos Kovacs <kovjanos@gmail.com>
parents: 310
diff changeset
348 ; Grid line (only modded screen)
4f83470dcece VSIbar #3: remaining changes for the split style bar
Janos Kovacs <kovjanos@gmail.com>
parents: 310
diff changeset
349 #DEFINE dm_gassep_row dm_sep_2_3_row ; 164
4f83470dcece VSIbar #3: remaining changes for the split style bar
Janos Kovacs <kovjanos@gmail.com>
parents: 310
diff changeset
350 #DEFINE dm_gassep_bot .239 ; .239
4f83470dcece VSIbar #3: remaining changes for the split style bar
Janos Kovacs <kovjanos@gmail.com>
parents: 310
diff changeset
351 #DEFINE dm_gassep_column .78 ; .78
0
heinrichsweikamp
parents:
diff changeset
352
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
353 ;******* Bottom content / Apnea mode *******;
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
354 #DEFINE dm_apnoe_surface_time_text_row .190 ; 190
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
355 #DEFINE dm_apnoe_surface_time_text_col .30 ; 30
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
356 #DEFINE dm_apnoe_surface_time_row .204 ; 204
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
357 #DEFINE dm_apnoe_surface_time_column .15 ; 15
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
358 #DEFINE dm_apnoe_last_max_depth_text_row .190 ; 190
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
359 #DEFINE dm_apnoe_last_max_depth_text_col .100 ; 100
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
360 #DEFINE dm_apnoe_last_max_depth_row .204 ; 204
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
361 #DEFINE dm_apnoe_last_max_depth_column .100 ; 100
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
362
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
363
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
364 ; IV. The last set of parameters are for the menus displayed in dive mode
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
365 ; Divemode menu
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
366 #DEFINE dm_menu_row .164 ; 164 Upper row -- the frame's top line is the separator
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
367 #DEFINE dm_menu_lower .239 ; 239 Lower border
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
368 #DEFINE dm_menu_left .0 ; 0 Left
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
369 #DEFINE dm_menu_right .159 ; 159 Right
83
eb72c8865f47 Test with graphic compass
heinrichsweikamp
parents: 53
diff changeset
370
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
371 #DEFINE dm_menu_item1_row dm_menu_row+.1 ; 165
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
372 #DEFINE dm_menu_item1_column .9 ; 9
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
373 #DEFINE dm_menu_item2_row dm_menu_item1_row+.24 ; 189
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
374 #DEFINE dm_menu_item2_column dm_menu_item1_column ; 9
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
375 #DEFINE dm_menu_item3_row dm_menu_item2_row+.24 ; 213
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
376 #DEFINE dm_menu_item3_column dm_menu_item1_column ; 9
83
eb72c8865f47 Test with graphic compass
heinrichsweikamp
parents: 53
diff changeset
377
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
378 #DEFINE dm_menu_item4_row dm_menu_row+.1 ; 165
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
379 #DEFINE dm_menu_item4_column .89 ; 89
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
380 #DEFINE dm_menu_item5_row dm_menu_item4_row+.24 ; 189
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
381 #DEFINE dm_menu_item5_column dm_menu_item4_column ; 89
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
382 #DEFINE dm_menu_item6_row dm_menu_item5_row+.24 ; 213
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
383 #DEFINE dm_menu_item6_column dm_menu_item4_column ; 89
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
384