Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 316:c6c934f05b42 new_screen_layout
VSIbar #3b: small fix on the bar's width
author | janos_kovacs <kovjanos@gmail.com> |
---|---|
date | Wed, 10 Jun 2015 22:47:38 +0100 |
parents | 4f83470dcece |
children | 7b64c0ba6a7e |
comparison
equal
deleted
inserted
replaced
315:4f83470dcece | 316:c6c934f05b42 |
---|---|
1048 movlw color_white | 1048 movlw color_white |
1049 WIN_BOX_COLOR dm_velobar_top+.60, dm_velobar_top+.63, dm_velobar_lft+.1, dm_velobar_rgt-.1 ;top, bottom, left, right | 1049 WIN_BOX_COLOR dm_velobar_top+.60, dm_velobar_top+.63, dm_velobar_lft+.1, dm_velobar_rgt-.1 ;top, bottom, left, right |
1050 | 1050 |
1051 movff sub_c+0,win_top | 1051 movff sub_c+0,win_top |
1052 movff divB,win_height | 1052 movff divB,win_height |
1053 movlw dm_velobar_width-.4 | 1053 movlw dm_velobar_width-.2 |
1054 movff WREG,win_width | 1054 movff WREG,win_width |
1055 movff WREG,win_bargraph | 1055 movff WREG,win_bargraph |
1056 movlw dm_velobar_lft+.3 | 1056 movlw dm_velobar_lft+.2 |
1057 movff WREG,win_leftx2 | 1057 movff WREG,win_leftx2 |
1058 movlw color_green | 1058 movlw color_green |
1059 call TFT_set_color | 1059 call TFT_set_color |
1060 btfsc velocity_attn | 1060 btfsc velocity_attn |
1061 call TFT_attention_color | 1061 call TFT_attention_color |
1141 movlw color_white | 1141 movlw color_white |
1142 WIN_BOX_COLOR dm_velobar_top+.60, dm_velobar_top+.63, dm_velobar_lft+.1, dm_velobar_rgt-.1 ;top, bottom, left, right | 1142 WIN_BOX_COLOR dm_velobar_top+.60, dm_velobar_top+.63, dm_velobar_lft+.1, dm_velobar_rgt-.1 ;top, bottom, left, right |
1143 | 1143 |
1144 movff sub_a+0,win_top | 1144 movff sub_a+0,win_top |
1145 movff divB,win_height | 1145 movff divB,win_height |
1146 movlw dm_velobar_width-.4 | 1146 movlw dm_velobar_width-.2 |
1147 movff WREG,win_width | 1147 movff WREG,win_width |
1148 movff WREG,win_bargraph | 1148 movff WREG,win_bargraph |
1149 movlw dm_velobar_lft+.3 | 1149 movlw dm_velobar_lft+.2 |
1150 movff WREG,win_leftx2 | 1150 movff WREG,win_leftx2 |
1151 movlw color_green | 1151 movlw color_green |
1152 call TFT_set_color | 1152 call TFT_set_color |
1153 call TFT_box | 1153 call TFT_box |
1154 | 1154 |