The GUI to end all GUI libraries (Let's Dream!)

Bill Baxter dnewsgroup at billbaxter.com
Mon Nov 26 19:43:12 PST 2007


Julio César Carrascal Urquijo wrote:
> Lutger wrote:
>> Another interesting idea is immediate mode gui. It basically means 
>> that no or almost no state is maintained, at least as far as the user 
>> is concerned. Instead, the gui is recreated as needed. I've been 
>> playing a bit with it and it works nicely, but somehow I had some 
>> trouble with more complex gui's.
>>
>> Here's a link, the video is worth it imo:
>>
>> https://mollyrocket.com/forums/viewtopic.php?t=134
> 
> 
> What worries me about immediate mode guis is performance. I suppose they 
> are great for building the gui portion of a game or some really flashy 
> app but I don't see an improvement for typical applications where the 
> gui doesn't change unless until it receives some input from the user.
> 
> Just picture a dumb +30 fields form that's using 100% CPU because it is 
> repainting it self every frame.

My guess is that, like OpenGL programs, you don't have to refresh 
regularly if nothing is happening.  But if something does happen then, 
yes, you do need to repaint everything.

--bb



More information about the Digitalmars-d mailing list