Progressbar professional GFX ( Multi ability Module)

Share your advanced PureBasic knowledge/code with the community.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Progressbar professional GFX ( Multi ability Module)

Post by walbus »

Progressbar_professional GFX - Works with all OS

Replace simplest any existing OS Progress Bars
Create your own very nice custom progressbars, bar graphs, buttons, or other - with nearly endless different graphic effects

From the author of Bucketfill_advanced GFX tools

http://www.purebasic.fr/english/viewtop ... 12&t=66927

It's a very tricky code
It works absolutely easy, without any issues, on all OS
Also you have so, exactely same progressbars on all OS

You must not change existing codes with OS progressbars for using this custom bars

Use simplest the OS Progressbar Gadget for creating very nice bar graphs

Replace simple the SetGadgetState calls with SetGadgetState_EX, more is not needed
But you can add a lot additional parameters and features

All other works fully automatic :shock:

With interface to BucketFill advanced (BF)

You can check and control simplest the custom bars or bar graphs with the PB OS progressbar calls
The output is a canvas or a image (ID) and you can also get the canvas ID
So a hidden output is available for post processing as canvas and as image
Simple you can so output the bars pr graphs as sprite on BucketFill_advanced (BF), with many incredible features

A BF enhanced progressbar demo code you found in the BF download packet
Named : "BucketFill_Progressbar_ex_using.pb"

BucketFill_enhanced Demo code with multiple animations,
free rotating,
background scrolling,
progressive texture scrolling,
automatic tilling,
gradient colors and alpha blending
http://www.purebasic.fr/english/viewtop ... 12&t=66927

Here a little video for demonstrating the BF enhanced progressbar Ex output

Hint : And many more is simple available :wink:

http://www.quick-aes-256.de/Video/Progressbar_1.mp4

Now, it looks, with this tool you can also fix the button size missmatsch on gtk3 based buttons -and many more
How works this ?
The Progressbar_EX tool create automatically canvas gadgets and give back also the canvas ID's
So you can handle all canvas events and many more
Simple you can create now, as sample, little image buttons, without any gtk3 problems

As sample :
Standard buttons with text and alpha blended text
Color buttons with text and alpha blended text
Color buttons with gradient colors
Color buttons with color animation and color fading effects
Color buttons or standard buttons with integrated progressbar, alpha blended text and all other gimmicks :wink:

More for gaming, with BF enhanced output :
Color Buttons with integrated Images
Color buttons with multiple animated or scrolled textures, images or text and all other gimmicks

Image

You can add images and textures, text,
lines and boxes, all PB 2D graphic functions, with alpha blending,
in the foreground and in the background
:shock:

You can animate this all, move or resize
And you can combine and add nearly endless different graphic gimmicks 8)

Progressbar professional (PP) is to large for the forum
Its with additional demo files a part from the BucketFill_advanced download packet

http://www.purebasic.fr/english/viewtop ... 12&t=66927
Last edited by walbus on Fri Oct 27, 2017 7:16 pm, edited 255 times in total.
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Re: Progressbar_color_EX Replace simplest existing OS Progr.

Post by Sicro »

If you previously used the ProgressBarGadget from PB and want to quickly change to a color-modifiable version without having to make many changes to the existing code, your code is very useful.

Otherwise, it would be better to create your own ProgressBarGadget immediately, instead of creating the ProgressBarGadget from PB first, and then replace it with your own.

On your codes with modules I've noticed several times that you always use "UseModule ..." behind your module code, also with Includes (BucketFill_advanced.pbi). This is not the purpose of a module. If you always do that, you can do it without module, does not make any difference.

At this point I would like to praise you, that you always and extensively comment your codes.
Last edited by Sicro on Sat Sep 09, 2017 9:43 pm, edited 2 times in total.
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progressbar_color_EX Replace simplest existing OS Progr.

Post by walbus »

Hello Sicro,

I often use "global" variables in the modules, for example, the filter callback, inside the BucketFill advanced about 50 pieces
So I can limit global variables to the modules, which makes things very simple.
The BucketFill advanced code works inside very complicated and each thing who make a simpler internal handling was welcome

The UseModule call I have probably become accustomed to, as I very fast program, so it's simpler for fast handling...

Regards Werner
Last edited by walbus on Sat Sep 09, 2017 7:05 pm, edited 6 times in total.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progressbar_color_EX Replace simplest existing OS Progr.

Post by walbus »

code updated d30 m07 y2017

Now you can replace all used OS progressbars in your code, simplest with this one very little module

This tool is primary for professional looking outputs and using

Also you can simplest add many gimmicks and baubles :wink:

You can get ever all states from the original OS progressbars, even if a custom bar is used 8)
Last edited by walbus on Wed Aug 23, 2017 9:47 am, edited 2 times in total.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progressbar_color_EX All OS replace existing OS Progress

Post by walbus »

Code updated and enhanced d31 m07 y2017
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progressbar_color_EX All OS replace existing OS Progress

Post by walbus »

Gradient color for progress added

This was the latest stepp, now all looks perfect :wink:
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5353
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Progressbar_color_EX All OS replace existing OS Progress

Post by Kwai chang caine »

Nice and works very well here :wink:
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progressbar professional GFX ( Multi ability Module)

Post by walbus »

Many thanks KCC

At the moment I see a great interest in Progressbars

Here a new demo video showing what Progressbar Professional can do :wink:


http://www.quick-aes-256.de/Video/Progressbar_1.mp4

http://www.quick-aes-256.de/Video/Progressbar_2.mp4


Progressbar Professional you found in the GFX_Wizzard_BF download packet
http://www.purebasic.fr/english/viewtop ... 12&t=66927
Post Reply