[Glgui-dev] a few more updates
Status: Alpha
Brought to you by:
druid-
From: sfranke <sf...@us...> - 2000-06-27 21:16:31
|
added a couple simple but cool classes: DraggableViewFrame DraggableFrame I'm very happy about how easily these were added. It tells me that I did at least one or two things right in the underlying design. You can select the active frame based on a string name, like selecting resources. The callback functions are much more robust and useful now. It's similar to win32 and glut, where you have a function that gets passed frameIDs when they have been clicked (or are being dragged). They have arbitrary parameters (based on the type of the frame) that are also passed back. I won't know how well all this really works until I (or someone else) implements something in a real (or semi-real) app. But I feel pretty good about it. I'm going to write a list box class now, and that is the last low-level frame I'm going to do. Then I start working on the controls which are higher level classes (though they inherit from CUI_Frame to get the base functionality they need) that automatically create and handle a number of frames below them. These are the controls I have planned right now: menubar popup menu chooser spinner toggle button radio button group textfield (one liner) console Any other suggestions? Or any input at all? Scott Franke [druid-] sf...@gl... |