Skip to content

Commit 0b0288a

Browse files
authored
Merge pull request #13 from kmatch98/dial_gauge
Dial gauge
2 parents 054b12a + e155aaa commit 0b0288a

14 files changed

+1206
-1
lines changed

adafruit_displayio_layout/widgets/dial.py

Lines changed: 1120 additions & 0 deletions
Large diffs are not rendered by default.

docs/api.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@
2323

2424
.. inheritance-diagram:: adafruit_displayio_layout.widgets.switch_round
2525

26+
.. automodule:: adafruit_displayio_layout.widgets.dial
27+
:members:
28+
:member-order: bysource
29+
:inherited-members:
30+
31+
.. inheritance-diagram:: adafruit_displayio_layout.widgets.dial
32+
2633
.. automodule:: adafruit_displayio_layout.widgets.icon_widget
2734
:members:
2835
:member-order: bysource

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
autodoc_mock_imports = [
3232
"displayio",
3333
"adafruit_display_shapes",
34+
"vectorio",
35+
"bitmaptools",
3436
"terminalio",
3537
"adafruit_imageload",
3638
"adafruit_display_text",
@@ -43,7 +45,7 @@
4345
}
4446

4547
# Show the docstring from both the class and its __init__() method.
46-
autoclass_content = "both"
48+
autoclass_content = "init"
4749

4850
# Add any paths that contain templates here, relative to this directory.
4951
templates_path = ["_templates"]

docs/dial.gif

189 KB
Loading

docs/dial.gif.license

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2021 Kevin Matocha
2+
3+
SPDX-License-Identifier: MIT

docs/dial_variables_angles.png

70 KB
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2021 Kevin Matocha
2+
3+
SPDX-License-Identifier: MIT

docs/dial_variables_clip_needle.png

66.2 KB
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2021 Kevin Matocha
2+
3+
SPDX-License-Identifier: MIT
24.4 KB
Loading

0 commit comments

Comments
 (0)