Wednesday, May 17, 2017


There is a system monitor program for X Window called Conky. I'm going to write a Pharo version of this for Raspbian and the Raspberry Pi. Of course, my version will be extremely watered down because I'm in no mood to spend the next couple of years on it. Hence, I'm calling it Cranky.

I've chosen as background for the Cranky application window the following image:

Here's a code snippet for how this can be done in Pharo:

f := Form fromFileNamed: 'hot_air_balloon_mysticmorning.jpg'.
m := ImageMorph new.
m form: f.
m openInWindowLabeled: 'Cranky'

To this Morph, I can add text string Morphs that can be updated as necessary with the latest hardware information.

No comments:

Post a Comment