Comments (5)
For FancyText it appears to be working as expected. In the test_config.yaml
I set
vehicle:
type: FancyText
text: VROOM!
pallete:
text:
- 255
- 100
- 255
And this gives the appropriate color on startup:
This is being handled by FancyText.apply_config
.
for DynamicFancyText
the color will default to the value of value_color
in the config instead of the text
palette. See code here:
infopanel/infopanel/sprites.py
Line 391 in 8c62d90
I really like the idea of adding units to DynamicFancyText so I'll add that.
from infopanel.
On second thought you can get the units already without a code change by setting in the config:
val_fmt: "{} ppm"
from infopanel.
from infopanel.
from infopanel.
from infopanel.
Related Issues (20)
- Invalid mode change HOT 1
- A Time-Date Sprite HOT 1
- test_config.yaml fails to run HOT 16
- News enhancements HOT 1
- Adding brightness to Modes HOT 2
- If MQTT mode set to all, Brightness goes to 100 HOT 2
- Animated gifs HOT 5
- Mode Setting HOT 4
- config.py - change parameters to support faster raspberries HOT 2
- test
- fail to install HOT 21
- infopanel.yaml issue HOT 5
- led-pixel-mapper implementation HOT 5
- fail to start using this project HOT 26
- Can't get my head around dx HOT 4
- Exception: Couldn't load font HOT 8
- Programmatically build DynamicText sprites within a custom scene HOT 3
- Module "Voluptuos"
- Errors?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infopanel.