![]() |
#1 |
Enhtusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52
Karma: 2332557
Join Date: Dec 2018
Device: K3 DxG PW1 KV PW4
|
[KUAL] Yet another clock extension
I really envied the PW2+ feature of displaying current time while reading.
There was this extension called showtime by @Hanspeter https://www.mobileread.com/forums/sh...d.php?t=282590 but it had two flaws: - it was using default eips font for printing the time - it was not updating on minute-change, just when the page is turned. And as I've recently discovered (masochistic?) joy of writing bash scripts here's another extension to do so. It should have no influence on the battery, as the main process uses lipc-event-wait, and child processes are being suspended when no clock display is needed. It has still few bugs that should be corrected soon: - clock show once when the script is started (it disappears after titlebar refresh) - sometimes clock persists after exiting a book (it also disappears after screen refresh) - in rare occasions clock is not displayed properly (some digits are missing) The script currently will work for PW1 only, but should be easily portable to KT (resizing digits+finding new XPOS/YPOS values). |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26017324
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Oh, hai!
![]() See MiniClock for a curiously on-point use-case in Kobo-land ![]() (And over here for a few tweaks to play with the latest FBInk features to avoid having to respawn a full process each time). Last edited by NiLuJe; 10-21-2019 at 03:08 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enhtusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52
Karma: 2332557
Join Date: Dec 2018
Device: K3 DxG PW1 KV PW4
|
Sooo... I was thinking I don't need FBInk to draw the clock. It seemed to me that it's too advanced tool to just draw few digits. But rendering truetype fonts right into the framebuffer? That sound tempting. I'll probably switch from eips to your amazing tool soon, I just need to do some more reading
![]() |
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26017324
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
It's just that, while I like the fun involved in a DIY approach of putting together PNGs of individual characters, it just feels *extremely* inefficient
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frontlight Adjust KUAL+ extension | j.p.s | Kindle Developer's Corner | 1 | 01-07-2018 06:51 PM |
xmahjongg for Kindle as Kual extension | Hanspeter | Kindle Developer's Corner | 86 | 12-02-2016 07:06 PM |
kual extension to open a book | shoelesshunter | Kindle Developer's Corner | 14 | 08-16-2016 12:30 PM |
Is there a Kual Extension/add-on for cloud | eduardomb | Kindle Developer's Corner | 19 | 07-08-2016 05:43 PM |