Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMassot committed Apr 2, 2024
1 parent 695d15d commit 36aaf5f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ui/ui_input_box.tbs
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,6 @@ sub ib_str_pos_selector()
prev_x=cursor_x
else
'lcd_clear(INPUT_BOX_X,INPUT_BOX_Y+lcd.fontheight+INPUT_BOX_CURSOR_OFFSET-INPUT_BOX_CURSOR_WIDTH,lcd.getprintwidth(ib_str),INPUT_BOX_CURSOR_WIDTH)
'lcd_clear(cursor_x+1,INPUT_BOX_Y+lcd.fontheight+INPUT_BOX_CURSOR_OFFSET-INPUT_BOX_CURSOR_WIDTH,w + 1,INPUT_BOX_CURSOR_WIDTH)
'lcd.fill(cursor_x - 1,INPUT_BOX_Y,w + 3,INPUT_BOX_H)
'lcd.forecolor = LCD_INPUTBOX_BACKCOLOR
'lcd.backcolor = LCD_INPUTBOX_FORECOLOR
'lcd.printaligned(s1, cursor_x + 3,INPUT_BOX_Y,w,INPUT_BOX_H - 3)
'lcd.forecolor = LCD_INPUTBOX_FORECOLOR
'lcd.backcolor = LCD_INPUTBOX_BACKCOLOR
lcd_clear(cursor_x+1,INPUT_BOX_Y+lcd.fontheight+INPUT_BOX_CURSOR_OFFSET-INPUT_BOX_CURSOR_WIDTH,w + 1,INPUT_BOX_CURSOR_WIDTH)
lcd.fill(cursor_x+1,INPUT_BOX_Y+lcd.fontheight+INPUT_BOX_CURSOR_OFFSET-INPUT_BOX_CURSOR_WIDTH,w + 1,INPUT_BOX_CURSOR_WIDTH)
end if
Expand Down Expand Up @@ -577,7 +570,6 @@ sub ui_input_box_timer_proc()
if ib_timeout_ctr>0 then
ib_timeout_ctr=ib_timeout_ctr-1
end if
sys.debugprint("timer proc " + str(key_action))

'device specific timer behavior. for example, user repeatedly press a one key to scroll through characters, and stopped for 3 second,
'the input box cursor move to the next position.
Expand Down

0 comments on commit 36aaf5f

Please sign in to comment.