[Pgui-devel] Rotation on uClinux screenshot

2001-03-21 Thread Micah Dowty
There was a small math error in the def_bitmap_rotate90() function when dealing with low bit depth images. I fixed that, and posted a screenshot of my uCsimm box running rotated! Because the blits are so slow going pixel-by-pixel in the current drivers, the aqua theme is horribly slow but it lo

[Pgui-devel] Rotational caveats...

2001-03-21 Thread Micah Dowty
A couple more bugs I noticed: - although the ez328.c driver itself seems to work fine with it, there's a bug in bitmap rotation for < 8bpp - It will sometimes report a memory leak - It won't rotate correctly if there's a popup menu or dialog on the screen (this could be an

[Pgui-devel] Rotation is in CVS!

2001-03-21 Thread Micah Dowty
There are still a few small issues I need to resolve (scrolling, vertical text, a little error handling) and I haven't tested the ez328 driver with it yet. I'll fix these things up ASAP. But, the bulk of the rotation functionality works. The 90 degree anticlockwise rotation is triggered by a ne

Re: [Pgui-devel] orientation switching

2001-03-21 Thread brandon smith
Philippe, Micah wrote the code that allows for orientation rotation (90 deg anticlockwise) and you can rotate at runtime. You can run it through this driver twice for upside down and three times for 90 degrees clockwise. Anyway, I have seen it and it looks very nice. Micah's tips are pr

[Pgui-devel] orientation switching

2001-03-21 Thread Philippe Ney
hi Micah, For the next demo, I need some info about orientation switching. I saw the code you added. This is done currently at compilation time. -> What is to be done to have client side acces to this switching at run time? -> Is the needed communication code already written? -> Do you have some

Re: [Pgui-devel] Phase 1 - status report #2

2001-03-21 Thread Pascal Bauermeister
Thank you Micah for your answers. Please let us know when the rotation stuff is stable. Concerning the ChangeLog format, I think we can adopt a compromise between the ChangeLog format and your style (that I liked because it was giving some life to the project). I suggest doing: - 8< --

Re: [Pgui-devel] Text in canvas question.

2001-03-21 Thread Olivier Bornet
Hi Micah, On Wed, Mar 21, 2001 at 06:27:40AM -0800, Micah Dowty wrote: > Here is a small example of using a text gropnode: > >pgWriteCmd(w,PGCANVAS_GROP,5,PG_GROP_TEXT,50,50,1,1); >pgWriteCmd(w,PGCANVAS_SETGROP,3,pgNewString("Hello,\nWorld!"),0,0x00); >pgWriteCmd(w,PGCANVAS_COL

Re: [Pgui-devel] Phase 1 - status report #2

2001-03-21 Thread Micah Dowty
On Wed, 21 March 2001, Pascal Bauermeister wrote: > > Pre-release: > date: as soon as the following issues are solved, but no later than > Thursday 22 evening (GMT). > tag: as soon as possible after the latter date, Smartdata will apply > a CVS tag on all files. No snapshot

Re: [Pgui-devel] Text in canvas question.

2001-03-21 Thread Micah Dowty
Here is a small example of using a text gropnode: 8< #include int main(int argc,char **argv) { pghandle w; pgInit(argc,argv); pgRegisterApp(PG_APP_NORMAL,"Canvas Text",0); w = pgNewWidget(PG_WIDGET_CANVAS,0,0); pgWriteCmd(w,PGCANVAS_GROP,5,PG_GROP_TEXT,50,50,1,1);

Re: [Pgui-devel] How to connect them to the server?

2001-03-21 Thread Micah Dowty
Is the pgserver running at the same time? An easy way to launch the server and a client is to give the client application on the server's command line. On Wed, 21 March 2001, picogui wrote: > > Dear Jon Altuna, > > Thank you for your help. > I extracted the SDL-1.0.8.tar.gz and built it, > t

[Pgui-devel] How to connect them to the server?

2001-03-21 Thread picogui
Dear Jon Altuna, Thank you for your help. I extracted the SDL-1.0.8.tar.gz and built it, the test works OK. When i built the pgserver, it tell me lacking of SDL.h, so i copied all the SDL*.h to the include directory and then it passed. But when i run the demos, they tell me: ***PicoGUI ERROR (C

[Pgui-devel] Text in canvas question.

2001-03-21 Thread Philippe Ney
Hi Micah, I try to write text in canvas widget in the following way: pgWriteCmd(from,PGCANVAS_GROP,3,PG_GROP_TEXT,100,100); pgWriteCmd(from,PGCANVAS_SETGROP,2,PG_GROP_TEXT,pgNewString("TEST")); pgWriteCmd(from,PGCANVAS_SETGROP,1,0x00); pgWriteCmd(from,PGCANVAS_COLORCONV,1,1); But the result

Re: [Pgui-devel] Phase 1 - status report #2

2001-03-21 Thread Pascal Bauermeister
Pre-release: date: as soon as the following issues are solved, but no later than Thursday 22 evening (GMT). tag: as soon as possible after the latter date, Smartdata will apply a CVS tag on all files. No snapshot will be specifically done. Issues: A01: Theme refresh