Hello.
I'm working on simple screensaver written in python that should display digital clock.
Currently, I just displaying time on label control. But largest font that I found in fonts.xml is WeatherTemp . It's size is only 80pt, so label with text "00:00:00" fills only ~20% of screen width. But I want label to fill whole screen.
Is there any way to define my own font in addon? I tried to put my fonts.xml into "720p" directory in my addon, but it does not work.
Alternatively, could someone suggest free LCD digits art to use in my screensaver instead of displaying text?
Also, is there any way to draw on screen from python? E.g. draw dots, lines, circles, render fonts, etc...
Work in Progress Very large font for screensaver.
lorc
Junior Member Posts: 2 Joined: Feb 2013 Reputation: 0 Location: Ukraine |
2013-02-05 11:10
Post: #1
|
| find quote |
da-anda
Team-XBMC Member Posts: 1,469 Joined: Jun 2009 Reputation: 27 Location: germany |
2013-02-05 18:03
Post: #2
yes, addons can create their own GUI - have f.e. a look at "the big picture" addon which is using this. There should also be documentation in our wiki.
|
| find quote |
lorc
Junior Member Posts: 2 Joined: Feb 2013 Reputation: 0 Location: Ukraine |
2013-02-05 20:07
Post: #3
I have checked the source for the "The Big Picture" addon. I see, that there are used custom fonts like "font48b", but I can't find where this font is declared. Search points only to "main.xml" where this font is used.
Could you please point me for a declaration of this font? |
| find quote |

Search
Help