SOLVED Re: [Pgui-devel] "manually" selecting a listitem gives BADPARAM

2003-08-14 Thread Markus Schorer
hi, don't bother anymore about the problem. i forgot to finish pgsetwidget-parameters with the trailing 0. even when trying to recreate the error with the demo-apps listtest!! i've been looking at this for too long. ;-) regards, Markus Schorer wrote: > > hi, > > some more info: > > if i do t

Re: [Pgui-devel] Fontsize in Textboxes

2003-08-14 Thread Peter Hermsdorf
hi, this is working for me (for a label), maybe that helps: status = pgNewWidget(PG_WIDGET_LABEL,0,0); pgSetWidget(status, PG_WP_SIDE, PG_S_ALL, PG_WP_TRANSPARENT, 0, PG_WP_FONT, pgNewFont(NULL,17,PG_FSTYLE_DEFAULT), PG_WP_TEXT, pgNewString(""),

Re: [Pgui-devel] Workaround for Fonts in Textboxes?

2003-08-14 Thread Micah Dowty
On Thu, Aug 07, 2003 at 09:14:28AM +0200, Roland Seuhs wrote: > Hi, > > Sorry to post again, but that is very important to me. > > Is there a workaround to set the default font size? > > - I've read somewhere about pgserver command line options to specify the font, but > couldn't find anything

[Pgui-devel] scrolling boxes

2003-08-14 Thread Markus Schorer
hi all, i have a box that contains listitems. a scrollbar is bound to that box. using the mouse everything works as expeceted. now i want to control selection, scrolling ... per program. i have two functions "select-prev" and "select-next" that highlight the next/prev listitem. selecting works, b

[Pgui-devel] popups and screen updating

2003-08-14 Thread Markus Schorer
hi all, another question/problem: i have an application with 2 threads: - one for the picogui stuff - one playing mp3s the mp3 thread constantly updates the screen (by communicating the changed parms to the pgui-thread, as pgui ist not thread-safe, or is it?). if i open a popup to show options,