Progress Bar Evolution

BlitzMax Forums/MaxGUI Module/Progress Bar Evolution

degac(Posted 2009) [#1]
As I'm quite bored of the 'standard' Win32 progress bar - and heavly inspired by the MacOS GUI (and d-bug work for CocoaExt...) - I decided to create my own version of the Progress Bar gadget for MaxGUI.
Nothing so exotic - it's all based on standard MaxGUI components, but it seems to work fine (tested only on Win32 at the moment)

Here a screenshot of the different progress bar I've implemented


edit: 31/08/2009 - Update to version 1.1

Added styles:
PBAR_ACTIVE (for rating indicator)
PBAR_NOBORDER (for standard progress bar without border)

The Rating indicator emits an EVENT_GADGETACTION; EventData() returns the rating (1-5)

source code + images http://www.graphio.net/download/proxy_ProgressBar.zip



You need the following images (save them in the same folder of the application or change accordangly the path in the source code) - you can change with you like.










Grisu(Posted 2009) [#2]
Like them much.

Actually, I was thinking of adding such a rating bar to PRP in the future. ;)
The problem is to keep it usable on linux and mac as well.


Grisu(Posted 2010) [#3]
Sorry to bring up this old thread. :)

I'm searching for a way to replace the old PRP volume slider with something more modern.

Is there a way to make such a progress bar cross-platform?
Any alternatives?

Thanks
Grisu


degac(Posted 2010) [#4]
An idea should be to use a 'panel' to interact with it, drawing a different image based on the position of the mouseX()


Grisu(Posted 2010) [#5]
Yeah, nice idea. Implemented it. You've got mail... :)



Last edited 2010