forked from tekktrik/CircuitPython_Org_DisplayIO_Effects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
36 lines (25 loc) · 871 Bytes
/
__init__.py
File metadata and controls
36 lines (25 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
# SPDX-FileCopyrightText: Copyright (c) 2022 Alec Delaney for CircuitPython Organization
#
# SPDX-License-Identifier: MIT
# pylint: disable=protected-access
"""
`displayio_effects`
================================================================================
Add the some flair to your widgets!
* Author(s): Alec Delaney
Implementation Notes
--------------------
**Software and Dependencies:**
* Adafruit CircuitPython firmware for the supported boards:
https://circuitpython.org/downloads
"""
WIDGET_TYPE_ATTR = "_widget_type"
# pylint: disable=too-few-public-methods
class WidgetType:
"""Enum values for customizable widget types. Valid options are:
- ``WidgetType.DIAL`` - Dial widget
- ``WidgetType.GAUGE`` - Gauge widget
"""
DIAL = 0
GAUGE = 1