[Glgui-dev] selection
Status: Alpha
Brought to you by:
druid-
From: sfranke <sf...@us...> - 2000-06-16 14:24:51
|
I fixed a few memory leaks yesterday and optimized text rendering significantly (on the UI side, not OpenGL yet). I did some profiling, and most of the time now is spent in STL. Whether this would be an issue in a real app is questionable (it's rendering 70+ fps (refresh locked on a geforce2), so it has to do a lot of traversal through lists, etc). I also added some support for navigating buttons with they keyboard (though not actually "clicking" on them yet). A few things I'm not happy about with how it is right now: * the rendering is bad. Need a better way to render the selected button. Right now it draws an outline with a slightly brighter version of it's shader, but that makes it variable for different buttons. * Ordering - it's completely dependent on the order in which the app creates the buttons. I guess this is OK. * Groups - right now everything under the active frame is in the same list, having groups would make it more intuitive (switch between groups with tab), but would require some extra work on the organization of the list in CUI_UI (keeping track of different groups). Any suggestions on these? Well, I said I'd make a zip release today, so I'd better get editable text boxes working. Scott Franke [druid-] sf...@gl... |