Quote:
Originally Posted by encol
I'm investigating about icons too, it seems we have to do some javascript, or edit the default_status_bar.html in the /usr/share/webkit-1.0/pillow folder
|
Actually, it looks like default_status_bar.css is the key. It defines loads of PNG images for progress spinner, radio signal strength, airplane mode, battery, and more. It also defines absolute positions and sizes. If you model code on that you could probably change the URLs to http:// addresses instead of relative addresses to the assets folder (worth a try), and use any images of appropriate size, though this may be firewall limited in some cases. And "statusBarRightIconDock" is probably of interest. Some variant of the existing battery icon KUAL extension would be needed. This stuff is all new to me, so not obvious at all...
What I could do practically in my sleep is direct framebuffer manipulation. Monitor the selected portion of the screen and when it changes re-blit the title image (pre-rendered text and/or images). You may see a quick glitch when it redraws over whatever just changed (perhaps every minute when the time changes, if the entire title bar redrawn). Redrawing the entire title bar seems inefficient and unlikely though. And native mode title bar updates would inevitably need to deal with when the title bar is hidden or rotated, and such...
But at least interrogatePillow is in libpillow.so, so a native mode C program could link to that, and its embedded functions probably use similar symbols as their javascript counterparts. But I am losing interest. Javascript is not what I want to mess with at the moment.
I hope some of what I posted above might be useful to somebody -- I spent plenty of time looking for interesting stuff. But my attention on this is spent -- other things are calling for my attention.