Hi,

SimpleTextForeground does exactly what I want it to do, but is there the 
possibility to have the lines of text right-aligned, if the horizontal 
alignment is set to right?

Cheers,
Keyan

On 15 Aug 2012, at 00:48, David Kabala wrote:

> As an additional bit of documentation, you can change the text color for 
> regions of the text.
> 
> Example:
> 
>         stf->addLine("Hello World");
>         stf->addLine("Hello //{//color=FF0000FF Red Text}");
>         stf->addLine("Hello //{//color=00FF00FF GREEN Text}");
> 
> On Tue, Aug 14, 2012 at 4:38 PM, Keyan <m...@pulsschlag.net> wrote:
> Hi Carsten,
> 
> thanks for the example. I was able to compile and run it, and it shows the 
> expected output. I should be able to get my code running from this point.
> 
> Cheers,
> Keyan
> 
> 
> On 14 Aug 2012, at 23:25, Carsten Neumann wrote:
> 
> >       Hello Keyan,
> >
> > On 08/14/2012 03:26 PM, Keyan wrote:
> >> thanks for the quick reply.
> >> testTextTXFTexture works. I changed Helvetica to "Bitstream Vera Sans", 
> >> which is used in the test-binary.
> >>
> >> Unfortunately, this did not change the result.
> >
> > hmm, I'm attaching a minimally modified testSimpleSceneManager.cpp, that 
> > puts a "Hello World" in the top right corner of the window for me.
> >
> >       Cheers,
> >               Carsten
> > <testSimpleSceneManager.cpp>------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. 
> > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> > Opensg-users mailing list
> > Opensg-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/opensg-users
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to