comparison src/divemode.inc @ 310:453a3d13570f new_screen_layout

VSIbar #2: ascend bar + max-depth title alignment. Debug: bar-frame, zero-line, sim+- 0.1m
author janos_kovacs <kovjanos@gmail.com>
date Mon, 08 Jun 2015 01:36:05 +0200
parents efb53af0d62a
children 4f83470dcece
comparison
equal deleted inserted replaced
309:efb53af0d62a 310:453a3d13570f
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 .62 32 #DEFINE dm_mask_maxdepth_column .73
33 #DEFINE dm_mask_divetime_row .0 33 #DEFINE dm_mask_divetime_row .0
34 #DEFINE dm_mask_divetime_column .122 34 #DEFINE dm_mask_divetime_column .122
35 35
36 ; The content row contains 3 columns: 36 ; The content row contains 3 columns:
37 ; - depth and ascend rate warning 37 ; - depth and ascend rate warning
52 #DEFINE dm_velocity_text_row dm_depth_row+.62 ; 76 52 #DEFINE dm_velocity_text_row dm_depth_row+.62 ; 76
53 #DEFINE dm_velocity_text_column dm_depth_column ; 0 53 #DEFINE dm_velocity_text_column dm_depth_column ; 0
54 #DEFINE dm_velocity_text_bot dm_velocity_text_row+.23 ; 99 54 #DEFINE dm_velocity_text_bot dm_velocity_text_row+.23 ; 99
55 #DEFINE dm_velocity_text_rgt dm_depth_rgt ; 61 55 #DEFINE dm_velocity_text_rgt dm_depth_rgt ; 61
56 ; Ascend/Descend bar 56 ; Ascend/Descend bar
57 #DEFINE dm_velobar_top dm_offset ; 14 57 #DEFINE dm_velobar_top dm_offset ; 14 !! _top+60 must fit into sub_a+0 !!
58 #DEFINE dm_velobar_lft dm_depth_rgt+.1 ; 62 58 #DEFINE dm_velobar_lft dm_depth_rgt+.1 ; 62
59 #DEFINE dm_velobar_bot dm_offset+.85 ; 99 59 #DEFINE dm_velobar_bot dm_offset+.85 ; 99
60 #DEFINE dm_velobar_rgt .73 ; 73 60 #DEFINE dm_velobar_rgt .73 ; 73
61 #DEFINE dm_velobar_width .12
61 62
62 ;******* Upper content / content row / 2nd col ******* 63 ;******* Upper content / content row / 2nd col *******
63 #DEFINE dm_upcnt_2ndcol .74 ; 74 64 #DEFINE dm_upcnt_2ndcol .74 ; 74
64 ; Max depth 65 ; Max depth
65 #DEFINE dm_max_depth_row dm_offset ; 14 66 #DEFINE dm_max_depth_row dm_offset ; 14