Show
Ignore:
Timestamp:
09/01/10 17:07:59 (21 months ago)
Author:
Carsten
Message:

Revised classes ScrollInfoT and FontT, fixing bug #21.
Thanks to Luigi Auriemma for the report!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/Libs/Fonts/Font.hpp

    r136 r144  
    2121================================================================================= 
    2222*/ 
    23  
    24 /****************************/ 
    25 /*** MatSys Font (Header) ***/ 
    26 /****************************/ 
    2723 
    2824#ifndef _MATSYS_FONT_HPP_ 
     
    5551 
    5652    /// Prints PrintString at (PosX, PosY) in color Color. 
    57     void Print(int PosX, int PosY, float FrameWidth, float FrameHeight, unsigned long Color, const char* PrintString, ...); 
     53    void Print(int PosX, int PosY, float FrameWidth, float FrameHeight, unsigned long Color, const std::string& PrintString); 
    5854 
    5955    /// Accumulative printing functions. Faster if you have to call Print() a lot. 
    6056    void AccPrintBegin(float FrameWidth, float FrameHeight); 
    61     void AccPrint(int PosX, int PosY, unsigned long Color, const char* PrintString, ...); 
     57    void AccPrint(int PosX, int PosY, unsigned long Color, const std::string& PrintString); 
    6258    void AccPrintEnd(); 
    6359