ProGUI V1.38 UI Library (Small Bug Fix)

Developed or developing a new product in PureBasic? Tell the world about it.
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by Zach »

I just sent you an email, Chris.
I seem to be having problems with bugs again :(

When my program opens, the GUI draws slow like it was doing before, but when I switch to a Panel Page with lots of elements it seems to draw just fine with no speed issues..
But also my side-menu with the panels that roll up/down (I forgot what they are called..lol) have a problem where the very last panel appears malformed, the bottom corners are missing or some such.
I have attached the latest snapshot of my project folder to my email for you, hopefully showing the problem on your end too.

Has anyone else had weird problems like this?

PB 4.61 Beta 1 (x32) / Windows 7 (x64) SP1 / ProGUI v1.33 User Library Version.
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by PrincieD »

Thanks Zach, I've got your email - will look into it.

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
greyhoundcode
Enthusiast
Enthusiast
Posts: 112
Joined: Sun Dec 30, 2007 7:24 pm

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by greyhoundcode »

Hey man -

I really hate to ask a question that is going to annoy you ... but any news on an advanced tab control?
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by PrincieD »

greyhoundcode wrote:Hey man -

I really hate to ask a question that is going to annoy you ... but any news on an advanced tab control?
Hey dude, no worries :) well, I'll answer this question in a moment but first I'll let you know what's happening with the current development:

So far this is what's been fixed/added in the current pre-release build (V1.34)

- Fixed bug with GDI Plus notification hook/unhook under Windows XP (Microsoft bug).
- Fixed rendering bug with ExplorerBar (Reported by Zach).
- Fixed small device context handle leak on PanelEx resize.
- Fixed bug with AddPanelExPage when skinned control created and then AddPanelExPage called again (which added the page to the created control!).
- Fixed minor alignment bug with ButtonEx text and no icon.
- Fixed border rendering bug with alpha transparent PanelEx pages.
- Fixed bug with SetPanelExPageScrolling autoscroll not updating if called after controls created into page.
- Fixed/Improved alpha channel rendering of text (GDI doesn't support the alpha channel so ProGUI has to calculate and add it based on the pixel data).
- Changed behaviour of "Button" class with groupbox style (PB Frame3DGadget) when inside a PanelEx, now renders directly to PanelEx buffer (no longer flickers).
- Further optimized rendering of PanelEx, none ProGUI controls are now significantly faster at rendering inside a PanelEx.
- Changed rendering of alpha transparent PanelEx pages to use GDI AlphaBlend instead of GDI+, now considerably faster as hardware accelerated.
- Changed ImageButtonEx and TextControlEx internally to be subclassed PanelEx, less code in core drawpanel routine, smaller library size and more elegant design.
- Changed ButtonEx, ToggleButtonEx, RadioButtonEx, CheckButtonE, ExplorerBar Header/Item, text labels now support escape code effects and multiple lines!
- Changed ButtonEx, ToggleButtonEx, RadioButtonEx, CheckButtonEx, ExplorerBar Header/Item text, now shows ellipsis (...) when dimensions too small to contain all of the text.
- Added new GetTextControlExStyle command.

I'm currently designing a new internal image memory management system in preparation for the separate rendering subsystems i.e. Direct2D/DirectX, GDI/GDI+, Mac OS, Linux. The new system will use a fast 2D bin packing algorithm to pack all the separate images/buffers that are used into a "super buffer"/s of sizes to the power of 2 (512, 1024 etc...). This way optimizes GPU acceleration and storage of images inside the graphics card's memory and eradicates memory fragmentation. Also, When using the GDI subsystem ProGUI will only use a few GDI handles when compared to 500+ that an app usually uses (very important as GDI handles are a finite system wide resource). Another advantage is there will never be any duplication of the same image in memory (that might have been loaded more than once) as a MD5 hash will be used of the image data. The rendering speed should improve quite a bit as most of the bliting operations will be performed using just one buffer (that should be in graphics card memory as used very often :)). Pretty cool huh? 8)

So that's what will be in V1.34, here's a screen of some hardcore nested alpha transparent PanelEx's (can you guess how many PanelEx's there are? ;))

Image

I've also been quietly working on ProGUI V2.00 which the core is up and running and about half the source has been ported across into nice separate "module" includes which will make the source a lot easier to navigate. In ProGUI V2.00 I've been prototyping getting all the none ProGUI common controls to render onto a single buffer, I've managed to get this working using a combination of techniques - API hooking, subclassing, WM_Print and injecting input; which all means ProGUI and none ProGUI controls will be able to be used within a DirectX game for instance! (render to texture ;)) :shock:

Back to the original question heh The tab control will be coming (I personally want/need this control too!) but I think it's more important and valuable to get the different rendering subsystems working first rather than have to re-write control code at a later date. Hopefully this won't take too long though :)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by Zach »

That is totally awesome.


If you ever stop developing ProGUI I will hunt you down and kill you :oops:
I really think ProGUI will do a lot to help Purebasic once it is mature enough.
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by PrincieD »

hehehe thanks man :) yea it should be pretty cool. work is going well on it anyway :)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by electrochrisso »

So that's what will be in V1.34, here's a screen of some hardcore nested alpha transparent PanelEx's (can you guess how many PanelEx's there are? ;))
8) 8) 8) , I will pass on the guesses this time Chris. :)
If you ever stop developing ProGUI I will hunt you down and kill you :oops:
No Zach, we need to keep him alive, locked up in a dungeon and forced to continue development. :lol:
PureBasic! Purely the best 8)
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by Zach »

I would say there are either 3, or 4 panels
User avatar
greyhoundcode
Enthusiast
Enthusiast
Posts: 112
Joined: Sun Dec 30, 2007 7:24 pm

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by greyhoundcode »

PrincieD wrote:Back to the original question heh The tab control will be coming (I personally want/need this control too!) but I think it's more important and valuable to get the different rendering subsystems working first rather than have to re-write control code at a later date.
Totally - and what you're doing is superb btw.
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by PrincieD »

electrochrisso wrote: 8) 8) 8) , I will pass on the guesses this time Chris. :)
hehehe :P
electrochrisso wrote:
Zach wrote:If you ever stop developing ProGUI I will hunt you down and kill you :oops:
No Zach, we need to keep him alive, locked up in a dungeon and forced to continue development. :lol:
:lol: complete with live feed webcam and web based remote "prod with hot iron poker robot" button that you can press when I'm slacking heheh ;)
Zach wrote:I would say there are either 3, or 4 panels
nope :P There are 11 visible :)
greyhoundcode wrote:Totally - and what you're doing is superb btw.
Thanks mate! :D

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by Zach »

Chris, I couldn't remember if you said this, but I could have sworn you said issues with the Frame3D transparency and mismatched coordinates issues I was having would be fixed as well, and no longer require that transparency hack you gave me??

Will that also be fixed in the new release? If so, I would love to get a test build (UserLibrary) if possible? I know you said you are working on the new memory system before releasing it, but if you have a working version I could use in the short term I'd really appreciate it.

I need to redo my GUI code that I have so far, to incorporate my own changes with the Internal List I'll be using for Gadgets, and I don't want to start over, and then start over again when the new Release finally comes out :(
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by electrochrisso »

:lol: complete with live feed webcam and web based remote "prod with hot iron poker robot" button that you can press when I'm slacking heheh ;)
If you must, I was thinking more on the lines of a French maid. :lol:
PureBasic! Purely the best 8)
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by DoubleDutch »

The new stuff you are planning sounds great. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
greyhoundcode
Enthusiast
Enthusiast
Posts: 112
Joined: Sun Dec 30, 2007 7:24 pm

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by greyhoundcode »

Sales question: if you're planning to shift everything to DirectX that's going to be a considerable piece of work. If someone buys a Platinum license is that only going to be valid for the current branch of ProGUI?
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: ProGUI V1.33 User Interface Library (New ButtonEx Exampl

Post by Zach »

I've been pondering this myself actually.. I have noticed an underlying pattern of a lot of developers stating "Lifetime Updates" but using crafty language to actually restrict you to that specific versions update tree.. i.e 1.01, 1.23, 1.10000 or whatever are all free, but when it makes the jump to 2.0, or 3.0 etc you end up paying again.
(for instance, I just bought a License for FlexRaid, which used to be free, and so far there is no roadmap for updates/features, a clear statement about license lengths although supposedly it is "perpetual within the 2.xx version, and the sales page explains nothing to would-be users; oh yeah it used to be free, then one day went commercial without much of any warning)

Though in all our discussions about upcoming features and major work like this, Chris has so far never hinted that there would be new license purchases required.

I think when I first came across ProGUI I discussed his licensing with him and may have given him an idea or two (can't remember, not really trying to claim credit), I don't remember the license options at that time.. It was either the Lifetime, or the less expensive minor updates, which got added after that.

But I know Chris seems like a fair an equitable person, so if there are any upgrade fees, I'm sure they would be reasonable, especially for long-time current users
Locked