Parent Directory | Revision Log | Patch
revision 1.5 by tjl, Wed Jun 11 17:41:56 2003 UTC | revision 1.6 by tjl, Fri Aug 15 18:53:38 2003 UTC | |
---|---|---|
# | Line 32 Text.hxx | Line 32 Text.hxx |
32 | #endif | #endif |
33 | ||
34 | #include <GLMosaicText.hxx> | #include <GLMosaicText.hxx> |
35 | #include <vob/Font.hxx> | |
36 | #include <vob/Types.hxx> | #include <vob/Types.hxx> |
37 | ||
38 | namespace Vob { | namespace Vob { |
# | Line 46 template<class TextRenderer, class str> | Line 47 template<class TextRenderer, class str> |
47 | enum { NTrans = 1 }; | enum { NTrans = 1 }; |
48 | ||
49 | ||
50 | TextRenderer *rend; | Font::RealFont *rend; |
51 | str text; | str text; |
52 | float yoffs; | float yoffs; |
53 | int flags; | int flags; |
# | Line 73 template<class TextRenderer, class str> | Line 74 template<class TextRenderer, class str> |
74 | (int)*it << ")\\n"; | (int)*it << ")\\n"; |
75 | } | } |
76 | Vertexer<T> vertexer(t); | Vertexer<T> vertexer(t); |
77 | GLMosaicText::renderIter(*rend, text.begin(), text.end(), | GLMosaicText::renderIter(*(rend->rend), text.begin(), text.end(), |
78 | 0,yoffs, | 0,yoffs, |
79 | vertexer, (flags & 1 ? | vertexer, (flags & 1 ? |
80 | GLMosaicText::normalBindTexture_01 : | GLMosaicText::normalBindTexture_01 : |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |