I'll be honest tho that I don't know the first thing about creating a snippet like that. I'm probably going to give every ATB a try by I'm done with this. Thank you kindly person! Seriously considering naming my first child (or more likely, second dog) Coelacanth right now. Probably using bitmap.blt() Or you could draw them procedurally as a few rectangles if you preferred. But you don't want any of that, so instead of the fillRect and gradientFillRect, you'll be copying from your bitmap. ![]() This default implementation fixes the height as 6 pixels, aligned 8 pixels above the bottom of the line. drawGauge = function ( x, y, width, rate, color1, color2 ) x,y are the screen position of the gauge, and width is the width in pixels rate is the percentage full (as a number between 0 and 1) color1 and color2 are the window skin colours used for the gradient.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |