HTML support won't make it into the 0.42 release, but shortly after that I'll
fix the formatting capabilities of the textbox widget. Once that's working,
HTML text will be as simple as setting the textbox widget's text format to
"HTML" and handing it some text.

On Thu, Oct 31, 2002 at 11:15:45AM +0800, Edward Sung wrote:
> Hi Micah,
> 
> I am thinking to develop a reader or browser-like PicoGUI application 
> which can display both HTML formatted text and bitmap picture.  I wonder 
> if the textbox or textedit widgets will support these features in the 
> next release?  
> 
> Thanks
> 
> Edward
> 
> 
> Micah Dowty wrote:
> 
> >Yes
> >
> >On Fri, Oct 25, 2002 at 04:28:16PM +0800, Edward Sung wrote:
> >
> >>So, do you mean we cannot place a bitmap widget on the textbox at this 
> >>stage?  
> >>
> >>Micah Dowty wrote:
> >>
> >>>This isn't possible yet. That screenshot was a test rig running inside 
> >>>the textbox code itself, and isn't accessible from the client side.
> >>>
> >>>On Fri, Oct 25, 2002 at 02:58:46PM +0800, Edward Sung wrote:
> >>>
> >>>>Hi Micah,
> >>>>
> >>>>What I am trying to do is to generate the screenshot "textbox doodad" 
> >>>>dated on Sept 8. ( http://picogui.org/sshotdetail.php?index=81).   I 
> >>>>want to have a bitmap widget embedded into the new textbox.   Below is 
> >>>>my sample program to test bitmap on a textbox.  There is no error 
> >>>>message after the program get executed, just the button bitmap didn't 
> >>>>show up on the textbox.  
> >>>>
> >>>>Thanks for your help.
> >>>>
> >>>>Edward  
> >>>>
> >>>>/**********************************************************************/
> >>>>#include <picogui.h>
> >>>>
> >>>>int main(int argc, char **argv) {    
> >>>>
> >>>>pgInit(argc,argv);
> >>>>pgRegisterApp(PG_APP_NORMAL,"TextBitmap Test",0);
> >>>> 
> >>>>pgNewWidget(PG_WIDGET_TEXTBOX, 0, 0);
> >>>>pgSetWidget(PGDEFAULT,
> >>>>          PG_WP_SIDE, PG_S_ALL,
> >>>>          0);
> >>>>
> >>>>pgNewWidget(PG_WIDGET_BUTTON,PG_DERIVE_INSIDE, 0 );
> >>>>pgSetWidget(PGDEFAULT,
> >>>>          PG_WP_BITMAP, pgNewBitmap(pgFromFile("sample.jpg")),
> >>>>            0);
> >>>>
> >>>>pgEventLoop();
> >>>>return 0;
> >>>>}
> >>>>
> 
>>>>>/********************************************************************************/
> >>>>
> >>>>Micah Dowty wrote:
> >>>>
> >>>>>Please give more information. What were you expecting, what actually 
> >>>>>happened? If you got an error message, give its exact text. If 
> >>>>>possible, supply a small example program that demonstrates the 
> >>>>>problem.
> >>>>>
> >>>>>On Fri, Oct 25, 2002 at 08:58:50AM +0800, Edward Sung wrote:
> >>>>>
> >>>>>>Hi,
> >>>>>>
> >>>>>>I was able to place bitmap or button widget on top of a textbox.  
> >>>>>>But after I got the latest CVS Main, it wouldn't allow me.  Why?  
> >>>>>>
> >>>>>>Edward
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>-------------------------------------------------------
> >>>>>>This sf.net email is sponsored by: Influence the future 
> >>>>>>of Java(TM) technology. Join the Java Community 
> >>>>>>Process(SM) (JCP(SM)) program now. 
> >>>>>>http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> >>>>>>_______________________________________________
> >>>>>>Pgui-devel mailing list
> >>>>>>[EMAIL PROTECTED]
> >>>>>>https://lists.sourceforge.net/lists/listinfo/pgui-devel
> >>>>>>
> >
> 

-- 
Only you can prevent creeping featurism!


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to