Browse Source

* Fixed c++ example

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 18 years ago
parent
commit
0c87e5978a
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      cxx/cxxtest.cpp

+ 3
- 2
cxx/cxxtest.cpp View File

@@ -3,7 +3,7 @@
* Copyright (c) 2006 Jean-Yves Lamoureux <jylam@lnxscene.org> * Copyright (c) 2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
* All Rights Reserved * All Rights Reserved
* *
* $Id: cpptest.cpp 784 2006-06-10 11:35:18Z jylam $
* $Id$
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the Do What The Fuck You Want To * modify it under the terms of the Do What The Fuck You Want To
@@ -79,10 +79,11 @@ int main(int argc, char *argv[])


/* printf works */ /* printf works */
qq->setColorANSI(CUCUL_LIGHTBLUE, CUCUL_BLACK); qq->setColorANSI(CUCUL_LIGHTBLUE, CUCUL_BLACK);
qq->Printf(30,15, "Powered by libcaca %s", VERSION);
qq->Printf((qq->getWidth()/2) - 10 ,qq->getHeight()/2, "Powered by libcaca %s", VERSION);


/* Blit */ /* Blit */
kk->Display(); kk->Display();
qq->Clear();


x+=ix; x+=ix;
y+=iy; y+=iy;


Loading…
Cancel
Save