Mercurial > public > hwos_code
comparison src/divemode.inc @ 332:0ff81ff290ce new_screen_layout
Fix positions if no VSI Bar displayed
author | Janos Kovacs <kovjanos@gmail.com> |
---|---|
date | Sun, 28 Jun 2015 03:30:03 +0200 |
parents | 4f83470dcece |
children | 14b466f66a7f |
comparison
equal
deleted
inserted
replaced
330:0532cac03ccd | 332:0ff81ff290ce |
---|---|
24 ; I. The upper conent row. (0-99) | 24 ; I. The upper conent row. (0-99) |
25 ; The top row can be divided 2 areas: | 25 ; The top row can be divided 2 areas: |
26 ; - header: has the titles (mask) | 26 ; - header: has the titles (mask) |
27 ; - content: has the values | 27 ; - content: has the values |
28 ;******* Upper content / header row ******* | 28 ;******* Upper content / header row ******* |
29 #DEFINE dm_mask_depth_row .0 | 29 #DEFINE dm_mask_depth_row .0 |
30 #DEFINE dm_mask_depth_column .12 | 30 #DEFINE dm_mask_depth_column .12 |
31 #DEFINE dm_mask_maxdepth_row .0 | 31 #DEFINE dm_mask_maxdepth_row .0 |
32 #DEFINE dm_mask_maxdepth_column .73 | 32 #DEFINE dm_mask_maxdepth_column .73 |
33 #DEFINE dm_mask_divetime_row .0 | 33 #DEFINE dm_mask_maxdepth_column_nvsi .63 |
34 #DEFINE dm_mask_divetime_column .122 | 34 #DEFINE dm_mask_divetime_row .0 |
35 #DEFINE dm_mask_divetime_column .122 | |
35 | 36 |
36 ; The content row contains 3 columns: | 37 ; The content row contains 3 columns: |
37 ; - depth and ascend rate warning | 38 ; - depth and ascend rate warning |
38 ; - max depth and warning messages | 39 ; - max depth and warning messages |
39 ; - dive time, apnea dive times and warning icon | 40 ; - dive time, apnea dive times and warning icon |
59 #DEFINE dm_velobar_bot dm_offset+.85 ; 99 // must fit into 8b | 60 #DEFINE dm_velobar_bot dm_offset+.85 ; 99 // must fit into 8b |
60 #DEFINE dm_velobar_rgt .73 ; 73 | 61 #DEFINE dm_velobar_rgt .73 ; 73 |
61 #DEFINE dm_velobar_width .12 | 62 #DEFINE dm_velobar_width .12 |
62 | 63 |
63 ;******* Upper content / content row / 2nd col ******* | 64 ;******* Upper content / content row / 2nd col ******* |
64 #DEFINE dm_upcnt_2ndcol .74 ; 74 | 65 #DEFINE dm_upcnt_2ndcol .74 ; 74 |
66 #DEFINE dm_upcnt_2ndcol_nvsi .64 ; 64 | |
65 ; Max depth | 67 ; Max depth |
66 #DEFINE dm_max_depth_row dm_offset ; 14 | 68 #DEFINE dm_max_depth_row dm_offset ; 14 |
67 #DEFINE dm_max_depth_column dm_upcnt_2ndcol ; 74 | 69 #DEFINE dm_max_depth_column dm_upcnt_2ndcol ; 74 |
68 #DEFINE dm_max_depth_bot dm_max_depth_row+.34 ; 48 | 70 #DEFINE dm_max_depth_column_nvsi dm_upcnt_2ndcol_nvsi ; 64 |
69 #DEFINE dm_max_depth_rgt dm_max_depth_column+.36 ; 100 | 71 #DEFINE dm_max_depth_bot dm_max_depth_row+.34 ; 48 |
70 #DEFINE dm_max_depth_dm_row dm_max_depth_row+.11 ; 25 | 72 #DEFINE dm_max_depth_rgt dm_max_depth_column+.36 ; 100 |
71 #DEFINE dm_max_depth_dm_column dm_max_depth_column+.23 ; 87 | 73 #DEFINE dm_max_depth_dm_row dm_max_depth_row+.11 ; 25 |
74 #DEFINE dm_max_depth_dm_column dm_max_depth_column+.23 ; 87 | |
75 #DEFINE dm_max_depth_dm_column_nvsi dm_max_depth_column_nvsi+.23 ; 77 | |
72 ; Warning area (combined) | 76 ; Warning area (combined) |
73 #DEFINE dm_warning_row dm_offset+.36 ; 50 | 77 #DEFINE dm_warning_row dm_offset+.36 ; 50 |
74 #DEFINE dm_warning_column dm_upcnt_2ndcol ; 74 | 78 #DEFINE dm_warning_column dm_upcnt_2ndcol ; 74 |
75 #DEFINE dm_warning_bot dm_warning_row+.49 ; 99 | 79 #DEFINE dm_warning_bot dm_warning_row+.49 ; 99 |
76 #DEFINE dm_warning_rgt dm_warning_column+.62 ; 136 | 80 #DEFINE dm_warning_rgt dm_warning_column+.62 ; 136 |