Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7022 - A set of functions for semi-transparency in plugins.

Attached to Project: Rockbox
Opened by Ştefan Săftescu (SliMM) - Thursday, 12 April 2007, 23:51 GMT+1
Task Type Patches
Category Plugins
Status Unconfirmed
Assigned To No-one
Player Type Another
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

Now, here is my first set of functions for semi-transparency. It was designed as a plugin lib. Since i don't know yet how to patch, i'll just upload each file. :)
This task depends upon

Comment by Ştefan Săftescu (SliMM) - Friday, 13 April 2007, 00:04 GMT+1
Here's a patch :)
(application/octet-stream)    alpha.patch (17.4 KiB)
 apps/plugins/bitmaps/native/SOURCES |    4 
 apps/plugins/alpha.c                |   52 +++++++++
 apps/plugins/lib/xlcd_alpha.c       |  197 ++++++++++++++++++++++++++++++++++++
 apps/plugins/lib/xlcd.h             |    2 
 apps/plugins/lib/SOURCES            |    1 
 apps/plugins/lib/xlcd_alpha.h       |  105 +++++++++++++++++++
 apps/plugins/SOURCES                |    2 
 apps/plugins/SUBDIRS                |    1 
 8 files changed, 364 insertions(+)

Comment by Hepdog (007quick) - Friday, 13 April 2007, 00:09 GMT+1
Can you explain what this does for us not so smart people. Sounds exciting, but I have no clue.
Comment by Ştefan Săftescu (SliMM) - Friday, 13 April 2007, 00:20 GMT+1
These are just simple functions for drawing semi-transparent rectangles, pixels and iamges with an alpha channel.. Io can read an article about alpha channels here: http://en.wikipedia.org/wiki/Alpha_channel
Semi-transparent rectangles are just unifor-coloured bitmaps with a uniform alpha channel.
Comment by Ştefan Săftescu (SliMM) - Saturday, 14 April 2007, 12:26 GMT+1
Here is an update (i've changed x2 and y2 to width and height)
(application/octet-stream)    alpha.patch (17.7 KiB)
 apps/plugins/bitmaps/native/SOURCES |    4 
 apps/plugins/alpha.c                |   52 ++++++++
 apps/plugins/lib/xlcd_alpha.c       |  209 ++++++++++++++++++++++++++++++++++++
 apps/plugins/lib/xlcd.h             |    2 
 apps/plugins/lib/SOURCES            |    1 
 apps/plugins/lib/xlcd_alpha.h       |  105 ++++++++++++++++++
 apps/plugins/SOURCES                |    2 
 apps/plugins/SUBDIRS                |    1 
 8 files changed, 376 insertions(+)

Comment by Pascal Briehl (ColdSphinX) - Saturday, 14 April 2007, 20:37 GMT+1
you forgot to add france.320x240x16.bmp
Comment by Pascal Briehl (ColdSphinX) - Saturday, 14 April 2007, 20:45 GMT+1
also aunknown.c
Comment by Ştefan Săftescu (SliMM) - Sunday, 15 April 2007, 12:47 GMT+1
Sorry for that. I'll remove aunknown.c from the patch, as that is just another test file. I'm new to patching. france.320x240x16.bmp is now attached. It's a picture from google, since I didn't want to attach the original one.

Loading...