Ian wrote:
> > > corvid wrote:
> > > > Version: 1.3-current
> > > >
> > > > Shouldn't fl_draw.cxx:308 test for draw_symbols, or do I
> > misunderstand
> > > > what's going on?
> > > >
> > > > I have a string of the form "first @second third" that is
> > wrapped inside a
> > > > bounding box so that each word is on a separate line, and
> > only the first
> > > > line is drawn.
> > >
> > > Please bring this discussion over to fltk-general, and
> > bring a minimal
> > > worked example, so we can investigate what's going on. Also post the
> > > example code here for reference, perhaps?
> >
> > I don't use fltk outside of the context of dillo, so I can
> > take something like
> > fl_draw("aaaaaa @bbbbbb cccccc", 0, 0, 80, 80,
> > FL_ALIGN_TOP_LEFT|FL_ALIGN_WRAP,
> > 0, 0);
> > and...fail to get a minimal example to display text at all
> > because I don't
> > know exactly what it needs to be clothed in.
>
>
> OK - here (assuming Outlook does not trash it, as it usually does) is a
> simple test harness I think we can use to discuss your problem.
>
> Can you play with the options and then let us know where the problem
> lies?
>
> FWIW, in my testing I think there is a bug, but I'm not going to lay
> that out until we see what others think, in case I bias the results!
Thank you :)
Yes, if I use
fl_draw(line, xo, yo, wd, ht, (Fl_Align)(FL_ALIGN_CLIP | FL_ALIGN_TOP_LEFT |
FL_ALIGN_WRAP), 0, 0);
and
box_2->set_data("first @second third");
only the first line is displayed.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk