Re: [Plib-users] Custom Widgets
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2002-07-28 04:42:53
|
Majel deMaya wrote: > How do I create custom widgets. Is it related to the discussion of the renderCallback() > in the documentation. Any help would be appreciated. Example code would be great too. Thanks The renderCallback only allows you to change the *look* of a widget type that PUI already knows about. So, if you wanted round buttons with textured borders that still functioned exactly like a standard PUI button - that would be the way to go. However, if you want a totally different kind of widget (perhaps a colour chooser or something) then you have to derive a new C++ class from whichever PUI widget is closest to what you want. ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |