/[libvob]/libvob/include/vob/vobs/Text.hxx
ViewVC logotype

Diff of /libvob/include/vob/vobs/Text.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tjl, Sun Mar 16 17:58:49 2003 UTC revision 1.2 by tjl, Mon Mar 17 12:48:19 2003 UTC
# Line 21  template<class TextRenderer, class str> Line 21  template<class TextRenderer, class str>
21            
22      TextRenderer *rend;      TextRenderer *rend;
23      str text;      str text;
24        float yoffs;
25      int flags;      int flags;
26    
27      template<class F> void params(F &f) {      template<class F> void params(F &f) {
28          f(rend, text, flags);          f(rend, text, yoffs, flags);
29      }      }
30    
31      template<class Coords> struct Vertexer {      template<class Coords> struct Vertexer {
# Line 46  template<class TextRenderer, class str> Line 47  template<class TextRenderer, class str>
47          }          }
48          Vertexer<T> vertexer(t);          Vertexer<T> vertexer(t);
49          GLMosaicText::renderIter(*rend, text.begin(), text.end(),          GLMosaicText::renderIter(*rend, text.begin(), text.end(),
50                  0,0,                  0,yoffs,
51                  vertexer, (flags & 1 ?                  vertexer, (flags & 1 ?
52                          GLMosaicText::normalBindTexture_01 :                          GLMosaicText::normalBindTexture_01 :
53                          GLMosaicText::normalBindTexture)                          GLMosaicText::normalBindTexture)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26