[Pgui-devel] Animated buttons :)

2001-06-26 Thread Micah Dowty
I just thought of this truly horrifying use for offscreen bitmap rendering: 8< /* Something silly you can do with bitmap rendering... */ #include pghandle bBitmap,wButton; pgcontext gc; void animate(void) { static int frame = 0; /* A little drawing... */ pgSetColor(gc,0xFFF

[Pgui-devel] PicoGUI Internationalization Options

2001-06-26 Thread Micah Dowty
On the whole, PicoGUI itself doesn't generate much text that the end user sees. The small amount of text it does use, though, should be internationalized. In addition, a standard method of internationalizing PicoGUI clients should be defined. In PicoGUI itself, the following types of text need

[Pgui-devel] Automatic resizing

2001-06-26 Thread Micah Dowty
I finished this on Sunday, but forgot to post anything to the list about it... PicoGUI now has automatic resizing for containers. Each widget calculates a preferred size, and these propagate recursively to calculate container sizes. This means that toolbars and boxes will automatically fit their

Re: [Pgui-devel] make problem

2001-06-26 Thread Micah Dowty
'-lefence' is the Electric Fence debugging library, which is used to catch code that writes past the end of allocated memory. It is included in PicoGUI if you have the "Electric Fence Malloc Debugging" config option turned on. uClinux does not have an Electric Fence library, so this fails to li

Re: [Pgui-devel] Offscreen rendering support done

2001-06-26 Thread Micah Dowty
Actually, I did the hard parts, making the primitives render to any bitmap, some months or so ago. This part was just about 6 hours coding glue logic :) With a little more code to keep track of update rectangles, this could be used for fast graphics in bitmap widgets, canvas widgets, or on the d

[Pgui-devel] make problem

2001-06-26 Thread Yunus Yucel Altunbicak
Hi, running while make occuring below error. what does below error mean :) ** /usr/bin/ld: cannot find -lefence collect2: ld returned 1 exit status make[2]: *** [pgserver] Error 1 make[2]: Leaving directory `/install/pgui-dev20010625/pgserver' make[1]: *** [all-recu

Re: [Pgui-devel] Offscreen rendering support done

2001-06-26 Thread Shane Nay
On Tuesday 26 June 2001 04:43, Micah Dowty wrote: > You can now render graphics to offscreen bitmaps in PicoGUI. The new API > function pgRender can immediately render a gropnode to a bitmap. In > addition to this, the new pgCreateBitmap can create a new bitmap of a > specified size. I have also a

[Pgui-devel] Offscreen rendering support done

2001-06-26 Thread Micah Dowty
You can now render graphics to offscreen bitmaps in PicoGUI. The new API function pgRender can immediately render a gropnode to a bitmap. In addition to this, the new pgCreateBitmap can create a new bitmap of a specified size. I have also added a PGFX interface for pgRender. The new demo progra