File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 7
7
=======================
8
8
"""
9
9
10
+ from displayio import Group , Palette
11
+
10
12
try :
11
13
from typing import Optional , List , Tuple
12
14
from fontio import FontProtocol
13
15
except ImportError :
14
16
pass
15
- from displayio import Group , Palette
16
17
17
18
18
19
def wrap_text_to_pixels (
Original file line number Diff line number Diff line change 26
26
__version__ = "0.0.0-auto.0"
27
27
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Text.git"
28
28
29
+ import displayio
30
+ from adafruit_display_text import LabelBase
29
31
30
32
try :
31
33
from typing import Optional , Tuple
32
34
from fontio import FontProtocol
33
35
except ImportError :
34
36
pass
35
37
36
- import displayio
37
-
38
- from adafruit_display_text import LabelBase
39
38
40
39
# pylint: disable=too-many-instance-attributes
41
40
class Label (LabelBase ):
Original file line number Diff line number Diff line change 26
26
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Text.git"
27
27
28
28
29
+ from displayio import Bitmap , Palette , TileGrid
30
+ from adafruit_display_text import LabelBase
31
+
29
32
try :
30
33
from typing import Optional , Tuple
31
34
from fontio import FontProtocol
32
35
except ImportError :
33
36
pass
34
37
35
- from displayio import Bitmap , Palette , TileGrid
36
-
37
- from adafruit_display_text import LabelBase
38
-
39
38
40
39
class Label (LabelBase ):
41
40
# pylint: disable=too-many-instance-attributes
Original file line number Diff line number Diff line change 26
26
__version__ = "0.0.0-auto.0"
27
27
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Text.git"
28
28
29
+ import time
30
+ from adafruit_display_text import bitmap_label
31
+
29
32
try :
30
33
from typing import Optional
31
34
from fontio import FontProtocol
32
35
except ImportError :
33
36
pass
34
37
35
- import time
36
- from adafruit_display_text import bitmap_label
37
-
38
38
39
39
class ScrollingLabel (bitmap_label .Label ):
40
40
"""ScrollingLabel - A fixed-width label that will scroll to the left
You can’t perform that action at this time.
0 commit comments