Changeset 121


Ignore:
Timestamp:
Aug 15, 2010, 6:56:08 PM (10 years ago)
Author:
sam
Message:

Implement naive bold font printing.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/font.cpp

    r111 r121  
    119119}
    120120
     121void Font::PrintBold(int x, int y, char const *str)
     122{
     123    Print(x, y, str);
     124    Print(x + 1, y, str);
     125    Print(x, y + 1, str);
     126}
     127
  • trunk/src/font.h

    r111 r121  
    3232
    3333    void Print(int x, int y, char const *str);
     34    void PrintBold(int x, int y, char const *str);
    3435
    3536private:
Note: See TracChangeset for help on using the changeset viewer.