Ignore:
Timestamp:
Nov 5, 2006, 6:27:37 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fixed c++ example
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/cxxtest.cpp

    r1269 r1275  
    44 *                All Rights Reserved
    55 *
    6  *  $Id: cpptest.cpp 784 2006-06-10 11:35:18Z jylam $
     6 *  $Id$
    77 *
    88 *  This program is free software; you can redistribute it and/or
     
    8080        /* printf works */
    8181        qq->setColorANSI(CUCUL_LIGHTBLUE, CUCUL_BLACK);
    82         qq->Printf(30,15, "Powered by libcaca %s", VERSION);
     82        qq->Printf((qq->getWidth()/2) - 10 ,qq->getHeight()/2, "Powered by libcaca %s", VERSION);
    8383
    8484        /* Blit */
    8585        kk->Display();
     86        qq->Clear();
    8687
    8788        x+=ix;
Note: See TracChangeset for help on using the changeset viewer.