dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Grayscale framework & demo plugin (patch #931098)

Grayscale framework & demo plugin (patch #931098)

From: Jens Arnold <>
Date: Wed, 07 Apr 2004 17:11:31 +0200

I have posted a plugin to the patch tracker that contains a
grayscale framework primary useful to incorporate grayscale
display capabilities into other plugins. This could be games,
image viewers or whatever else you could imagine.

For programmers:

The plugin itself contains a main() function that demonstrates
some of the capabilities of the framework.

The framework is heavily commented, so it should be relatively
easy to use. The available functions are similar to these
provided by the rockbox api for b&w display except that there
are no font functions. This would require a change of the api.

If after thorough study of the comments something shouldn't be
clear, just ask (on the list, since it could also be interesting
to others).

For non-programmers:

If someone wants to test the demo as-is, I've attached the
compiled grayscale.rock to the patch as well.

Hint: After the plugin has finished drawing, use the "cursor"
keys with and without holding "On" to see the scrolling

Regards, Jens

Received on 2004-04-07

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy