annotate src/divemode.inc @ 635:9a64914a8fca

3.10 re-release addressing some minor issues and language fixes
author heinrichsweikamp
date Thu, 07 May 2020 09:12:59 +0200
parents 4050675965ea
children 75e90cd0c2c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
3 ; File divemode.inc * combined next generation V3.09.4g
0
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
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
11
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
12 extern diveloop
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
13 extern check_dive_modes_surf
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
14 extern apnoe_calc_maxdepth
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
15 extern check_gas_best
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
16 extern setup_gas_registers
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
17 extern deco_setup_oc_gases
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
18
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
19 IFDEF _ccr_pscr
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
20 extern setup_dil_registers
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
21 extern deco_setup_cc_diluents
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
22 ENDIF
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
23
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
24 IFDEF _external_sensor
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
25 extern calc_deko_divemode_sensor
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
26 ENDIF
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 535
diff changeset
27
0
heinrichsweikamp
parents:
diff changeset
28
heinrichsweikamp
parents:
diff changeset
29 ; Divemode layout:
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
30 ; row = 0...239
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
31 ; column = 0...159 (x2)
0
heinrichsweikamp
parents:
diff changeset
32
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
33
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
34 ; Divemode has multiple layouts but basicly splits the screen into 3 rows:
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
35 ; - upper content row: depth, max depth, dive time, etc.
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
36 ; - custom content row: selectable views
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
37 ; - bottom content row: temp, gas, ndl, tts, etc.
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
38
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
39
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
40 ;-----------------------------------------------------------------------------
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
41 ; I. The upper content row (0-99)
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
42 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
43
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
44 ; The top row is divided in 2 areas:
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
45 ; - header : holds the titles (mask)
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
46 ; - content: holds the values
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
47
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
48
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
49 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
50 ; Upper Content / Header Row
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
51
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
52 #DEFINE dm_mask_depth_row .0
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
53 #DEFINE dm_mask_depth_column .2
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
54 #DEFINE dm_mask_depth_column_alt .64
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
55
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
56 #DEFINE dm_mask_maxdepth_row .0
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
57 #DEFINE dm_mask_maxdepth_col .73
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
58 #DEFINE dm_mask_maxdepth_col_nvsi .63
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
59
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
60 #DEFINE dm_mask_divetime_row .0
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
61 #DEFINE dm_mask_divetime_column .122
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
62
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 ; The content row contains 3 columns:
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
65 ; - depth and ascend rate warning
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
66 ; - max depth and warning messages
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
67 ; - dive time, apnea dive times and warning icon
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
68
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
69
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
70 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
71 ; Upper Content / Content Row / 1st Column
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
72
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
73 ; Global
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
74 #DEFINE dm_offset .14 ; 14 start of content row
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
75
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
76 ; Depth - full meters or feet
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
77 #DEFINE dm_depth_row_large dm_offset ; 14
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
78 #DEFINE dm_depth_col_large .0 ; 0
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
79 #DEFINE dm_depth_bot_large dm_depth_row_large+.61 ; 75
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
80 #DEFINE dm_depth_rgt_large dm_depth_col_large+.59 ; 59
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
81 #DEFINE dm_depth_row_huge .7 ; 7
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
82 #DEFINE dm_depth_col_huge .0 ; 0
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
83 #DEFINE dm_depth_bot_huge dm_depth_row_huge+.90 ; 97
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
84 #DEFINE dm_depth_rgt_huge dm_depth_col_huge+.90 ; 90
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
85
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
86 ; Depth - position of decimeters (shown if depth < 100 m)
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
87 #DEFINE dm_depth_dm_row_medium dm_depth_row_large+.25 ; 39
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
88 #DEFINE dm_depth_dm_col_medium dm_depth_col_large+.40 ; 40
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
89 #DEFINE dm_depth_dm_row_large .37 ; 37
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
90 #DEFINE dm_depth_dm_col_large dm_depth_col_large+.58 ; 58
0
heinrichsweikamp
parents:
diff changeset
91
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
92 ; ascend rate - textual display
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
93 #DEFINE dm_velocity_text_row_norm dm_depth_row_large+.62 ; 76
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
94 #DEFINE dm_velocity_text_col_norm dm_depth_col_large ; 0
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
95 #DEFINE dm_velocity_text_bot_norm dm_velocity_text_row_norm+.23 ; 99
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
96 #DEFINE dm_velocity_text_rgt_norm dm_depth_rgt_large ; 59
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
97
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
98 ; ascend/descend rate - graphical display
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
99 #DEFINE dm_velocity_graph_top dm_offset+.10 ; 24
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
100 #DEFINE dm_velocity_graph_lft dm_depth_rgt_large+.3 ; 61
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
101 #DEFINE dm_velocity_graph_bot dm_velocity_graph_top+.70 ; 94
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
102 #DEFINE dm_velocity_graph_rgt dm_upcnt_2ndcol-.3 ; 72
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
103 #DEFINE dm_velocity_graph_width .10 ; 12
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
104
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
105
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
106 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
107 ; Upper Content / Content Row / 2nd Column
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
108
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
109 ; Start column
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
110 #DEFINE dm_upcnt_2ndcol .74 ; 74 (vertical speed indicator enabled)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
111 #DEFINE dm_upcnt_2ndcol_nvsi .64 ; 64 (vertical speed indicator disabled)
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
112
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
113 ; max depth
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
114 #DEFINE dm_max_depth_row dm_offset ; 14
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
115 #DEFINE dm_max_depth_column dm_upcnt_2ndcol ; 74
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
116 #DEFINE dm_max_depth_column_nvsi dm_upcnt_2ndcol_nvsi ; 64
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
117 #DEFINE dm_max_depth_bot dm_max_depth_row+.34 ; 48
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
118 #DEFINE dm_max_depth_rgt dm_max_depth_column+.36 ; 100
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
119 #DEFINE dm_max_depth_dm_row dm_max_depth_row+.11 ; 25
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
120 #DEFINE dm_max_depth_dm_column dm_max_depth_column+.23 ; 87
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
121 #DEFINE dm_max_depth_dm_column_nvsi dm_max_depth_column_nvsi+.23 ; 77
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
122 #DEFINE dm_max_alt_column .0 ; 0
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
123 #DEFINE dm_max_alt_row .170 ; 170
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
124 #DEFINE dm_max_dm_alt_column dm_max_alt_column+.60 ; 60
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
125
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
126 ; Warning area (combined)
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
127 #DEFINE dm_warning_row dm_offset+.36 ; 50
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
128 #DEFINE dm_warning_column dm_upcnt_2ndcol+.23 ; 97
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
129 #DEFINE dm_warning_bot dm_warning_row+.49 ; 99
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
130 #DEFINE dm_warning_rgt dm_warning_column+.62 ; 136
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
131 #DEFINE dm_warning_length .9 ; total string length in number of characters
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
132
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
133 ; Warning row #1
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
134 #DEFINE dm_warning1_row dm_warning_row ; 50
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
135 #DEFINE dm_warning1_column dm_warning_column ; 64
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
136 #DEFINE dm_warning1_bot dm_warning1_row+.23 ; 73
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
137 #DEFINE dm_warning1_rgt dm_warning_rgt ; 136
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
138
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
139 ; Warning row #2
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
140 #DEFINE dm_warning2_row dm_warning_row+.24 ; 74
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
141 #DEFINE dm_warning2_column dm_warning_column ; 64
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
142 #DEFINE dm_warning2_bot dm_warning2_row+.23 ; 97
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
143 #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
144
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
145
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
146 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
147 ; Upper Content / Content Row / 3rd Column
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
148
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
149 ; Dive time
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
150 #DEFINE dm_divetime_row dm_offset ; 14
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
151 #DEFINE dm_divetime_col_medium .115 ; 115
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
152 #DEFINE dm_divetime_col_large .91 ; 91
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
153 #DEFINE dm_divetime_bot_medium dm_divetime_row+.34 ; 48
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
154 #DEFINE dm_divetime_bot_large dm_divetime_row+.57 ; 71
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
155 #DEFINE dm_divetime_rgt .159 ; 159
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
156
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
157 #DEFINE dm_divetime_sec_row_small dm_divetime_row+.11 ; 25
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
158 #DEFINE dm_divetime_sec_col_small dm_divetime_col_medium+.23 ; 138
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
159 #DEFINE dm_divetime_minonly_col_medium .111 ; 111
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
160
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
161 #DEFINE dm_divetime_sec_row_medium dm_divetime_sec_row_small+.13 ; 38
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
162 #DEFINE dm_divetime_sec_col_medium dm_divetime_col_large+.39 ; 130
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
163 #DEFINE dm_divetime_minonly_col_large dm_divetime_col_large+.8 ; 99
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
164
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
165 ; Sign - normal layout
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
166 #DEFINE dm_sign_row_norm dm_offset+.41 ; 55
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
167 #DEFINE dm_sign_col_norm .74 ; 74
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
168 #DEFINE dm_sign_bot_norm dm_sign_row_norm+.38 ; 93
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
169 #DEFINE dm_sign_rgt_norm dm_sign_col_norm+.22 ; 96
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
170
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
171 ; Apnea dive time
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
172 #DEFINE dm_divetime_apnoe_row dm_offset ; 14
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
173 #DEFINE dm_divetime_apnoe_col .115 ; 115
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
174 #DEFINE dm_divetime_apnoe_secs_row dm_divetime_apnoe_row+.11 ; 25
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
175 #DEFINE dm_divetime_apnoe_secs_col dm_divetime_apnoe_col+.24 ; 139
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
176
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
177 ; Apnea total time
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
178 #DEFINE dm_apnoe_total_divetime_row dm_divetime_apnoe_row+.50 ; 64
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
179 #DEFINE dm_apnoe_total_divetime_col .103 ; 103
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
180 #DEFINE dm_apnoe_total_divetime_secs_row dm_apnoe_total_divetime_row+.11 ; 75
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
181 #DEFINE dm_apnoe_total_divetime_secs_col dm_apnoe_total_divetime_col+.36 ; 139
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
182 #DEFINE dm_total_apnoe_text_row dm_apnoe_total_divetime_row-.11 ; 53
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
183 #DEFINE dm_total_apnoe_text_col .132 ; 132
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
184
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
185
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
186 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
187 ; 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
188
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
189 ; 1px space between the 1st and 2nd content rows
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
190 #DEFINE dm_sep_1_2_row dm_offset+.86 ; 100
0
heinrichsweikamp
parents:
diff changeset
191
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
192
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
193 ;-----------------------------------------------------------------------------
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
194 ; II. custom/selectable content row
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
195 ;-----------------------------------------------------------------------------
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
196
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
197 ; The custom view display area is: 101,163,0,159 (t,b,l,r), or 0,101->159,163
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
198
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
199 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
200 ; Custom View: Global
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
201
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
202 #DEFINE dm_customview_row dm_offset+.87 ; 101
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
203 #DEFINE dm_customview_column .0 ; 0
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
204 #DEFINE dm_customview_bot dm_customview_row+.62 ; 163
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
205 #DEFINE dm_customview_rgt .159 ; 159
0
heinrichsweikamp
parents:
diff changeset
206
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
207
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
208 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
209 ; Custom View: avg Depth, Stopwatch and avg Depth
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
210
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
211 #DEFINE dm_custom_avr_stop_title_row dm_customview_row+.1 ; 102
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
212 #DEFINE dm_custom_avr_stop_row dm_customview_row+.16 ; 117
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
213 #DEFINE dm_custom_avr_stop_column1 .0 ; 0
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
214 #DEFINE dm_custom_avr_stop_column2 .54 ; 54
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
215 #DEFINE dm_custom_avr_stop_column3 .118 ; 118
0
heinrichsweikamp
parents:
diff changeset
216
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
217
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
218 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
219 ; Custom View: Decompressions Stops
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
220
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
221 ; Title
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
222 #DEFINE dm_custom_decoplan_title_row dm_customview_row ; 101
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
223 #DEFINE dm_custom_decoplan_title_column .60 ; 60
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
224
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
225 ; 1st col
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
226 #DEFINE dm_cust_dstop_2nd_stop_row dm_customview_row+.14 ; 115
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
227 #DEFINE dm_cust_dstop_2nd_stop_column .0 ; 0
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
228 #DEFINE dm_cust_dstop_3rd_stop_row dm_customview_row+.37 ; 138
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
229 #DEFINE dm_cust_dstop_3rd_stop_column dm_cust_dstop_2nd_stop_column ; 0
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
230
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
231 ; 2nd col
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
232 #DEFINE dm_cust_dstop_4th_stop_row dm_cust_dstop_2nd_stop_row ; 115
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
233 #DEFINE dm_cust_dstop_4th_stop_column .56 ; 56
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
234 #DEFINE dm_cust_dstop_5th_stop_row dm_cust_dstop_3rd_stop_row ; 138
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
235 #DEFINE dm_cust_dstop_5th_stop_column dm_cust_dstop_4th_stop_column ; 56
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
236
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
237 ; 3rd col
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
238 #DEFINE dm_cust_dstop_6th_stop_row dm_cust_dstop_2nd_stop_row ; 115
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
239 #DEFINE dm_cust_dstop_6th_stop_column .111 ; 111
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
240 #DEFINE dm_cust_dstop_7th_stop_row dm_cust_dstop_3rd_stop_row ; 138
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
241 #DEFINE dm_cust_dstop_7th_stop_column dm_cust_dstop_6th_stop_column ; 111
0
heinrichsweikamp
parents:
diff changeset
242
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
243
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
244 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
245 ; Custom View: Time, Battery, Surface Pressure
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
246
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
247 ; Clock
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
248 #DEFINE dm_custom_clock_title_row dm_customview_row+.1 ; 102
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
249 #DEFINE dm_custom_clock_row dm_customview_row+.16 ; 117
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
250 #DEFINE dm_custom_clock_column .0 ; 0
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
251
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
252 ; Battery
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
253 #DEFINE dm_custom_battery_title_row dm_customview_row+.1 ; 102
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
254 #DEFINE dm_custom_battery_volt_row dm_customview_row+.15 ; 116
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
255 #DEFINE dm_custom_battery_percent_row dm_custom_ead_row+.21 ; 138
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
256 #DEFINE dm_custom_battery_column .62 ; 62
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
257
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
258 ; Surface Pressure
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
259 #DEFINE dm_custom_surfpres_title_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
260 #DEFINE dm_custom_surfpres_row dm_customview_row+.16 ; 117
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
261 #DEFINE dm_custom_surfpres_column .95 ; 95
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
262
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
263
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
264 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
265 ; Custom View: ppO2, EAD/ENDS and CNS
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
266
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
267 ; ppO2
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
268 #DEFINE dm_custom_ppo2_title_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
269 #DEFINE dm_custom_ppo2_row dm_customview_row+.18 ; 119
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
270 #DEFINE dm_custom_ppo2_column .2 ; 2
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
271
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
272 ; EAD/END
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
273 #DEFINE dm_custom_eadend_title_row dm_customview_row+.1 ; 102
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
274 #DEFINE dm_custom_ead_row dm_customview_row+.14 ; 115
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
275 #DEFINE dm_custom_ead_column .50 ; 50
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
276 #DEFINE dm_custom_end_row dm_custom_ead_row+.21 ; 138
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
277 #DEFINE dm_custom_end_column dm_custom_ead_column ; 50
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
278
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
279 ; CNS
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
280 #DEFINE dm_custom_cns_title_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
281 #DEFINE dm_custom_cns_row dm_customview_row+.18 ; 119
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
282 #DEFINE dm_custom_cns_column .115 ; 115
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
283
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
284
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
285 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
286 ; Custom View: tripple CNS
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
287
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
288 #DEFINE dm_custom_cns3_title_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
289 #DEFINE dm_custom_cns3_row dm_customview_row+.16 ; 117
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
290 #DEFINE dm_custom_cns3_column1 .8 ; 8
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
291 #DEFINE dm_custom_cns3_column2 .62 ; 62
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
292 #DEFINE dm_custom_cns3_column3 .115 ; 115
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
293
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
294
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
295 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
296 ; Custom View: Ceiling, Tissues, (current GF)
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
297
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
298 ; Ceiling
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
299 #DEFINE dm_custom_ceiling_title_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
300 #DEFINE dm_custom_ceiling_row dm_customview_row+.18 ; 119
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
301 #DEFINE dm_custom_ceiling_column .62 ; 62
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
302
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
303 ; Tissue title
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
304 #DEFINE dm_custom_tissue_title_row dm_customview_row+.1 ; 102
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
305 #DEFINE dm_custom_tissue_title_column .120 ; 120
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
306
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
307 ; N2 / He values
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
308 #DEFINE dm_custom_tissue_N2_row dm_custom_ead_row+.5 ; 122
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
309 #DEFINE dm_custom_tissue_N2_column .105 ; 105
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
310 #DEFINE dm_custom_tissue_He_row dm_custom_end_row+.5 ; 145
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
311 #DEFINE dm_custom_tissue_He_column dm_custom_tissue_N2_column ; 105
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
312
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
313 ; Tissue diagram
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
314 #DEFINE dm_custom_tissue_diagram_top dm_customview_row+.16 ; 117
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
315 #DEFINE dm_custom_tissue_diagram_bottom dm_custom_tissue_diagram_top+.43; 160
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
316 #DEFINE dm_custom_tissue_diagram_left .116 ; 116
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
317 #DEFINE dm_custom_tissue_diagram_frame_spacing .8 ; 8
0
heinrichsweikamp
parents:
diff changeset
318
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
319
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
320 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
321 ; Custom View: GF-lo/hi, aGF-lo/hi, current GF Value
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
322
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
323 ; Title
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
324 #DEFINE dm_custom_gf_title_row dm_customview_row+.1 ; 102
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
325 #DEFINE dm_custom_gf_row dm_customview_row+.18 ; 119
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
326 #DEFINE dm_custom_gf_column1 .0 ; 0
608
d866684249bd work on 2.99 stable
heinrichsweikamp
parents: 604
diff changeset
327 #DEFINE dm_custom_gf_column2 .65 ; 65
d866684249bd work on 2.99 stable
heinrichsweikamp
parents: 604
diff changeset
328 #DEFINE dm_custom_gf_column3 .95 ; 95
123
d076e9c02438 add ceiling display
heinrichsweikamp
parents: 104
diff changeset
329
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
330
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
331 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
332 ; Custom View: Compass
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
333
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
334 ; Title
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
335 #DEFINE dm_custom_compass_mask_row dm_customview_row ; 101
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
336 #DEFINE dm_custom_compass_mask_column .65 ; 65
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
337
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
338 ; Head and arrows
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
339 #DEFINE dm_custom_compass_head_row dm_customview_row+.37 ; 138
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
340 #DEFINE dm_custom_compass_head_column .62 ; 62
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
341 #DEFINE dm_custom_compass_ldir_column .5 ; 5
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
342 #DEFINE dm_custom_compass_rdir_column .138 ; 138
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
343
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
344 ; Ruler
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
345 #DEFINE dm_custom_compass_graph_row dm_customview_row ; 101
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
346 #DEFINE dm_custom_compass_graph_height .33 ; 33
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
347 #DEFINE dm_custom_compass_tick_height .3 ; 3
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
348 #DEFINE dm_custom_compass_tick_top_top dm_custom_compass_graph_row+.1 ; 102
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
349 #DEFINE dm_custom_compass_tick_top_bot dm_custom_compass_graph_row+.4 ; 105
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
350 #DEFINE dm_custom_compass_label_row dm_custom_compass_graph_row+.6 ; 107
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
351 #DEFINE dm_custom_compass_label_height .24 ; 24
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
352 #DEFINE dm_custom_compass_tick_bot_top dm_custom_compass_graph_row+.30 ; 131
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
353 #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
354
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
355
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
356 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
357 ; Custom View: O2 Sensor Values
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
358
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
359 #DEFINE dm_custom_hud_title_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
360 #DEFINE dm_custom_hud_row dm_customview_row+.16 ; 117
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
361 #DEFINE dm_custom_hud_sensor1_column .6 ; 6
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
362 #DEFINE dm_custom_hud_sensor2_column .62 ; 62
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
363 #DEFINE dm_custom_hud_sensor3_column .118 ; 118
0
heinrichsweikamp
parents:
diff changeset
364
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
365
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
366 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
367 ; Custom View: Gas Needs
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
368
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
369 #DEFINE dm_custom_gas_mask_row dm_customview_row ; 101
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
370 #DEFINE dm_custom_gas_row1 dm_customview_row+.14 ; 115
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
371 #DEFINE dm_custom_gas_row2 dm_customview_row+.37 ; 138
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
372 #DEFINE dm_custom_gas_column_title .20 ; 20
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
373 #DEFINE dm_custom_gas_column1 .5 ; 5
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
374 #DEFINE dm_custom_gas_column2 .85 ; 85
0
heinrichsweikamp
parents:
diff changeset
375
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
376
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
377 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
378 ; Custom View: Tank Pressures
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
379
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
380 #DEFINE dm_custom_tankdata_mask_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
381 #DEFINE dm_custom_tankdata_row dm_customview_row+.16 ; 117
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
382 #DEFINE dm_custom_tankdata_pres1_col .2 ; 2
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
383 #DEFINE dm_custom_tankdata_pres2_col .115 ; 115
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
384 #DEFINE dm_custom_tankdata_SAC_col .56 ; 56
413
12e85930d95c NEW: New Customview shows ppO2(O2) and ppO2(Diluent) during CCR mode
heinrichsweikamp
parents: 405
diff changeset
385
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
386
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
387 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
388 ; Custom View: Sensor Check
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
389
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
390 #DEFINE dm_custom_s_check_title_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
391 #DEFINE dm_custom_s_check_row dm_customview_row+.18 ; 119
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
392 #DEFINE dm_custom_s_check_title_column .50 ; 50
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
393 #DEFINE dm_custom_ppO2_column .115 ; 115
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
394 #DEFINE dm_custom_ppDil_column .2 ; 2
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
395
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
396
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
397 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
398 ; Custom View: pSCR Info
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
399
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
400 #DEFINE dm_custom_pscr_title_row dm_customview_row+.1 ; 102
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
401 #DEFINE dm_custom_pscr_row dm_customview_row+.18 ; 119
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
402 #DEFINE dm_custom_pscr_drop_column .55 ; 55
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
403 #DEFINE dm_custom_pscr_ratio_column .105 ; 105
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
404
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
405
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
406 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
407 ; Custom View: cave TTS
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
408
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
409 #DEFINE dm_custom_cave_title_row dm_customview_row+.1 ; 102
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
410 #DEFINE dm_custom_cave_title_column1 .2 ; 2
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
411 #DEFINE dm_custom_cave_title_column2 .64 ; 64
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
412 #DEFINE dm_custom_cave_title_column3 .118 ; 118
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
413
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
414 #DEFINE dm_custom_cave_data_row dm_customview_row+.16 ; 117
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
415 #DEFINE dm_custom_cave_data_column1 .8 ; 8
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
416 #DEFINE dm_custom_cave_data_column2 .60 ; 60
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
417 #DEFINE dm_custom_cave_data_column3 .114 ; 114
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
418
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
419
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
420 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
421 ; 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
422
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
423 ; 1px space between the 2nd and 3rd content rows
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
424 #DEFINE dm_sep_2_3_row dm_offset+.150 ; 164
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
425
131
35b9da423de6 NEW: Update warnings every second
heinrichsweikamp
parents: 123
diff changeset
426
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
427 ;-----------------------------------------------------------------------------
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
428 ; III. The 3rd content row contains temperature, active gas, NDL/TTS time,
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
429 ; simulator menu, active/dil gas, decostop, Apnea surface time and max depth
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
430 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
431
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
432 ; The content row contains 2 columns:
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
433 ; - temperature, gas names
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
434 ; - NDL/TTS, DecoStop
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
435
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
436 #DEFINE dm_3rdrow_top dm_offset+.151 ; 165
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
437 #DEFINE dm_3rdrow_bot .239 ; 239
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
438 #DEFINE dm_3rdrow_lft .0 ; 0
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
439 #DEFINE dm_3rdrow_rgt .159 ; 159
0
heinrichsweikamp
parents:
diff changeset
440
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
441
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
442 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
443 ; Bottom Content / 1st Column
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
444
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
445 ; Temperature
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
446 #DEFINE dm_temp_row dm_3rdrow_top-.3 ; 162
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
447 #DEFINE dm_temp_column dm_3rdrow_lft ; 0
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
448
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
449 ; Simulation text (pre-menu)
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
450 #DEFINE dm_premenu_row dm_3rdrow_top-.3 ; 162
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
451 #DEFINE dm_premenu_col dm_3rdrow_lft ; 0
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
452 #DEFINE dm_premenu_bot dm_premenu_row+.23 ; 185
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
453 #DEFINE dm_premenu_rgt dm_premenu_col+.43 ; 43
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
454
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
455 ; ascend rate - alternative textual display
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
456 #DEFINE dm_velocity_text_row_alt dm_temp_row ; 162
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
457 #DEFINE dm_velocity_text_col_alt .45 ; 45
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
458 #DEFINE dm_velocity_text_bot_alt dm_velocity_text_row_alt+.23 ; 185
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
459 #DEFINE dm_velocity_text_rgt_alt dm_velocity_text_col_alt+.34 ; 79
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
460
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
461 ; Diluent gas
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
462 #DEFINE dm_active_dil_row dm_3rdrow_top+.21 ; 186
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
463 #DEFINE dm_active_dil_column dm_3rdrow_lft ; 0
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
464
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
465 ; OC gas, blinking better gas, setpoint or bailout for CCR/pSCR
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
466 #DEFINE dm_active_gas_sp_value_row .208 ; 208
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
467 #DEFINE dm_active_gas_sp_value_col dm_3rdrow_lft ; 0
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
468 #DEFINE dm_active_sp_label_row dm_active_gas_sp_value_row ; 208
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
469 #DEFINE dm_active_sp_label_col dm_active_gas_sp_value_col+.45 ; 45
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
470
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
471 ; Sign - alternative layout
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
472 #DEFINE dm_sign_row_alt .193 ; 193
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
473 #DEFINE dm_sign_col_alt .52 ; 52
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
474 #DEFINE dm_sign_bot_alt dm_sign_row_alt+.38 ; 231
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
475 #DEFINE dm_sign_rgt_alt dm_sign_col_alt+.22 ; 74
0
heinrichsweikamp
parents:
diff changeset
476
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
477
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
478 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
479 ; Bottom content / 2nd Column
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
480
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
481 ; 1st Deco Stop
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
482 #DEFINE dm_decostop_row_norm dm_3rdrow_top ; 165
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
483 #DEFINE dm_decostop_col_norm .82 ; 82
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
484 #DEFINE dm_decostop_row_alt_depth dm_decostop_row_norm-.1 ; 164
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
485 #DEFINE dm_decostop_col_alt_depth dm_decostop_col_norm-.1 ; 81
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
486 #DEFINE dm_decostop_row_alt_time dm_decostop_row_norm ; 165
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
487 #DEFINE dm_decostop_col_alt_time dm_decostop_col_norm+.47 ; 129
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
488
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
489 ; Safety Stop
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
490 #DEFINE dm_safetystop_row dm_3rdrow_top ; 165
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
491 #DEFINE dm_safetystop_column .118 ; 118
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
492 #DEFINE dm_safetystop_bot dm_safetystop_row+.31 ; 196
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
493 #DEFINE dm_safetystop_rgt .159 ; 159
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
494 #DEFINE dm_safetystop_text_row dm_safetystop_row+.1 ; 166
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
495 #DEFINE dm_safetystop_text_column .80 ; 80 for the 4 chars "Stop"
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
496
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
497 ; TTS
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
498 #DEFINE dm_tts_value_row dm_3rdrow_top+.43 ; 208
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
499 #DEFINE dm_tts_value_col_99 .129 ; 129
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
500 #DEFINE dm_tts_value_col_999 .124 ; 122
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
501 #DEFINE dm_tts_value_col_999x .118 ; 118
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
502 #DEFINE dm_tts_text_row_norm dm_tts_value_row ; 208
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
503 #DEFINE dm_tts_text_col_norm .85 ; 85
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
504 #DEFINE dm_tts_text_row_alt dm_tts_value_row+.18 ; 226
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
505 #DEFINE dm_tts_text_col_alt .86 ; 86
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
506
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
507 ; NDL - the same position as TTS
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
508 #DEFINE dm_ndl_value_row_norm dm_tts_value_row ; 208
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
509 #DEFINE dm_ndl_value_col_norm .118 ; 118
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
510 #DEFINE dm_ndl_value_row_alt .182 ; 182
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
511 #DEFINE dm_ndl_value_col_alt .120 ; 120
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
512 #DEFINE dm_ndl_text_row dm_tts_text_row_norm ; 202
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
513 #DEFINE dm_ndl_text_column dm_tts_text_col_norm ; 85
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
514
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
515 ; FTTS (only modded screen)
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
516 #DEFINE dm_ftts_value_row dm_3rdrow_top+.64 ; 215
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
517 #DEFINE dm_ftts_value_column .97 ; 97
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
518
315
4f83470dcece VSIbar #3: remaining changes for the split style bar
Janos Kovacs <kovjanos@gmail.com>
parents: 310
diff changeset
519 ; Grid line (only modded screen)
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
520 #DEFINE dm_gassep_row dm_sep_2_3_row ; 164
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
521 #DEFINE dm_gassep_bot .239 ; 239
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
522 #DEFINE dm_gassep_column .78 ; 78
0
heinrichsweikamp
parents:
diff changeset
523
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
524
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
525 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
526 ; Bottom Content / Apnea Mode
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
527
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
528 #DEFINE dm_apnoe_last_max_depth_text_row .192 ; 192
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
529 #DEFINE dm_apnoe_last_max_depth_text_col .20 ; 20
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
530 #DEFINE dm_apnoe_last_max_depth_row .207 ; 207
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
531 #DEFINE dm_apnoe_last_max_depth_column .15 ; 15
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
532
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
533 #DEFINE dm_apnoe_surface_time_text_row .192 ; 192
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
534 #DEFINE dm_apnoe_surface_time_text_col .100 ; 100
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
535 #DEFINE dm_apnoe_surface_time_row .207 ; 207
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
536 #DEFINE dm_apnoe_surface_time_column .80 ; 80
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
537
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
538
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
539 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
540 ; Bottom content / Gauge mode
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
541
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
542 #DEFINE dm_gauge_max_depth_text_row .192
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
543 #DEFINE dm_gauge_max_depth_text_col .25
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
544 #DEFINE dm_gauge_max_depth_row .207
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
545 #DEFINE dm_gauge_max_depth_col .15
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
546
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
547 #DEFINE dm_gauge_avg_depth_text_row .192
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
548 #DEFINE dm_gauge_avg_depth_text_col .100
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
549 #DEFINE dm_gauge_avg_depth_row .207
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
550 #DEFINE dm_gauge_avg_depth_col .85
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
551
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
552
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
553 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
554 ; IV. The last set of parameters is for the menu displayed in dive mode
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
555 ;-----------------------------------------------------------------------------
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
556
300
5ad479f2a868 Merged Screen layout mod #1 into Screen layout work #3
Janos Kovacs <kovjanos@gmail.com>
parents: 255
diff changeset
557 ; Divemode menu
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
558 #DEFINE dm_menu_row .164 ; 164 upper row, the frame's top line is the separator
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
559 #DEFINE dm_menu_lower .239 ; 239 lower border
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
560 #DEFINE dm_menu_left .0 ; 0 left
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 618
diff changeset
561 #DEFINE dm_menu_right .159 ; 159 right
83
eb72c8865f47 Test with graphic compass
heinrichsweikamp
parents: 53
diff changeset
562
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
563 #DEFINE dm_menu_item1_row dm_menu_row+.1 ; 165
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
564 #DEFINE dm_menu_item1_column .9 ; 9
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
565 #DEFINE dm_menu_item2_row dm_menu_item1_row+.24 ; 189
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
566 #DEFINE dm_menu_item2_column dm_menu_item1_column ; 9
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
567 #DEFINE dm_menu_item3_row dm_menu_item2_row+.24 ; 213
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
568 #DEFINE dm_menu_item3_column dm_menu_item1_column ; 9
83
eb72c8865f47 Test with graphic compass
heinrichsweikamp
parents: 53
diff changeset
569
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
570 #DEFINE dm_menu_item4_row dm_menu_row+.1 ; 165
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
571 #DEFINE dm_menu_item4_column .89 ; 89
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
572 #DEFINE dm_menu_item5_row dm_menu_item4_row+.24 ; 189
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
573 #DEFINE dm_menu_item5_column dm_menu_item4_column ; 89
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 560
diff changeset
574 #DEFINE dm_menu_item6_row dm_menu_item5_row+.24 ; 213
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
575 #DEFINE dm_menu_item6_column dm_menu_item4_column ; 89