Fixed compilation of font sample
This commit is contained in:
parent
2dec38bcb1
commit
4b355a9ad8
1 changed files with 3 additions and 3 deletions
|
@ -79,16 +79,16 @@ int main(int argc, char **argv)
|
||||||
// 4th is the size of the font. 5th is a pointer to the video driver.
|
// 4th is the size of the font. 5th is a pointer to the video driver.
|
||||||
// 6th is the resulting computed string.
|
// 6th is the resulting computed string.
|
||||||
CComputedString csRotation;
|
CComputedString csRotation;
|
||||||
fontManager.computeString ("cs Rotation", tc.getFontGenerator(), CRGBA(255,255,255), 70, CNELU::Driver, csRotation);
|
fontManager.computeString ("cs Rotation", tc.getFontGenerator(), CRGBA(255,255,255), 70, false, false, CNELU::Driver, csRotation);
|
||||||
|
|
||||||
CComputedString cs3d;
|
CComputedString cs3d;
|
||||||
fontManager.computeString ("cs 3d", tc.getFontGenerator(), CRGBA(255,127,0), 75, CNELU::Driver, cs3d);
|
fontManager.computeString ("cs 3d", tc.getFontGenerator(), CRGBA(255,127,0), 75, false, false, CNELU::Driver, cs3d);
|
||||||
|
|
||||||
// generate an Unicode string.
|
// generate an Unicode string.
|
||||||
ucstring ucs("cs Unicode String");
|
ucstring ucs("cs Unicode String");
|
||||||
|
|
||||||
CComputedString csUnicode;
|
CComputedString csUnicode;
|
||||||
fontManager.computeString (ucs, tc.getFontGenerator(), CRGBA(32,64,127), 75, CNELU::Driver, csUnicode);
|
fontManager.computeString (ucs, tc.getFontGenerator(), CRGBA(32,64,127), 75, false, false, CNELU::Driver, csUnicode);
|
||||||
|
|
||||||
// look at event example
|
// look at event example
|
||||||
CNELU::EventServer.addEmitter(CNELU::Driver->getEventEmitter());
|
CNELU::EventServer.addEmitter(CNELU::Driver->getEventEmitter());
|
||||||
|
|
Loading…
Reference in a new issue