refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state

This commit is contained in:
Gabor Kiss-Vamosi
2023-10-12 20:37:27 +02:00
parent 0ff2d1c2e4
commit 9ec5417dd3
468 changed files with 1330 additions and 1288 deletions

View File

@@ -5,11 +5,11 @@ def set_angle(obj, v):
# Create an arc which acts as a loader.
#
# Create an Arc
arc = lv.arc(lv.scr_act())
arc = lv.arc(lv.screen_active())
arc.set_rotation(270)
arc.set_bg_angles(0, 360)
arc.remove_style(None, lv.PART.KNOB) # Be sure the knob is not displayed
arc.clear_flag(lv.obj.FLAG.CLICKABLE) #To not allow adjusting by click
arc.remove_flag(lv.obj.FLAG.CLICKABLE) #To not allow adjusting by click
arc.center()
a = lv.anim_t()