Quote:
|
Originally Posted by Brick
This will do exactly the same :P
|
I guess it still applies as well as from my perl days, TIMTOWTDI. There's more than one way to do it.
The reason I made it as I did is that I am learning the manual drawing functions of the psp so I can add them to an interface design program, half flash-like half illustrator-like. Im working on pixel based drawing stuff. The battery bar was the last thing I did under graphics.c and the first thing I did under OSLib to learn how to get simple lines to draw. It gained me important lessons sucha as transparent lines overtop one another change the gradient. It never did that in graphics.c (no transparancy) and it is useful to know when desining functions for makiing images.
Also, with line drawn items it would be much easier to add custmization of width or height or colors without any distortion. if a user would want it to display less bars stretched to fill the screen instead of removing them as they get empty, they could just add another variable to the x locations. with an image, the edge pixels would be made very wide quickly.