Rev 2005 | Rev 2009 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2005 | Rev 2006 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | float r, g, b; // color |
27 | float r, g, b; // color |
28 | 28 | ||
29 | float wx, wy; // window co-ords |
29 | float wx, wy; // window co-ords |
30 | int vx, vy; // view co-ords |
30 | int vx, vy; // view co-ords |
31 | 31 | ||
32 | int lift; |
- | |
33 | - | ||
34 | text (
|
32 | text (
|
35 | const std::string& t, |
33 | const std::string& t, |
36 | float xx = 0, float yy = 0, |
34 | float xx = 0, float yy = 0, |
37 | float rr=0.25, float gg=0.25, float bb=0.25, |
35 | float rr=0.25, float gg=0.25, float bb=0.25, |
38 | int s = text::temporary, int y = text::normal, |
36 | int s = text::temporary, int y = text::normal, |
39 | float vxx = 0, float vyy = 0, int lft = 0) : |
37 | float vxx = 0, float vyy = 0) : |
40 | txt(t), type (y) , state (s), r(rr), g(gg), b(bb), wx(xx), wy(yy), vx(vxx), vy(vyy), lift(lft) {} |
38 | txt(t), type (y) , state (s), r(rr), g(gg), b(bb), wx(xx), wy(yy), vx(vxx), vy(vyy) {} |
41 | 39 | ||
42 | bool operator== (const text& t) {return txt == t.txt;} |
40 | bool operator== (const text& t) {return txt == t.txt;} |
43 | 41 | ||
44 | }; |
42 | }; |
45 | 43 |