Re: Big Gui, Too big Gui

New Message Reply Date view Thread view Subject view Author view

Brian Furtaw (brian++at++hotsauce.clubfed.sgi.com)
Wed, 6 Aug 1997 11:31:06 -0400


You should have the source for pfutil in /usr/share/Performer/src/lib/libutil

gui.h defines pfuPanel to be ....

struct _pfuPanel
{
    int id;
    int active;
    int numWidgets;
    pfuWidget *widgets[PFUGUI_MAXWIDGETS];
    int dirty;
    int listSize;
};

/usr/include/Performer/pfutil.h defines PFUGUI_MAXWIDGETS to be .....

        /*------------------------- Simple GUI ---------------------------*/

#define PFUGUI_MAXPANELS 64
#define PFUGUI_MAXWIDGETS 512

you could change that define and recompile libpfutil. PFUGUI_MAXPANELS
specifies an array size of the number pfuPanels which can exist in a pfuGUI
struct which gets alloc'd in pfuInitUtil() as a datapool.

Brian

On Aug 5, 5:22pm, Didier Guzzoni wrote:
> Subject: Big Gui, Too big Gui
> Hi Performers,
>
> We are having some problems with our GUI (pfutil) which becomes kind of big,
so
> since it reached a given number of widgets, we get the following message :
>
> PF Fatal/Resource: pfuNewWidgetBlock() failed to allocate 4
widgets
> 1297044042 of type 0x280 in gui data pool..
>
> Does it mean that the "gui data pool" turns out to be too small ? If yes, is
it
> a way to increase or expand it ?
>
> Thanks in advance,
>
> Didier
>
>
> --
> Didier Guzzoni
> VRAI group, Swiss Federal Institute of Technology
> Phone : ++41 21 693 3823 e-mail : guzzoni++at++imtsg7.epfl.ch
> Fax : ++41 21 693 6540
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Didier Guzzoni

-- 
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o

Brian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office:(301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:42 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.