Ignore:
Timestamp:
May 16, 2011, 2:37:19 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: make JCFont use vec2i classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/clisp.cpp

    r666 r668  
    21982198      if (args)
    21992199        color=lnumber_value(CAR(args));
    2200       fnt->put_string(main_screen,x,y,st,color);
    2201     } break;
    2202     case 278 : return ((JCFont *)lpointer_value(CAR(args)))->width(); break;
    2203     case 279 : return ((JCFont *)lpointer_value(CAR(args)))->height(); break;
     2200      fnt->PutString(main_screen, vec2i(x, y), st, color);
     2201    } break;
     2202    case 278 : return ((JCFont *)lpointer_value(CAR(args)))->Size().x; break;
     2203    case 279 : return ((JCFont *)lpointer_value(CAR(args)))->Size().y; break;
    22042204    case 280 : if (chat) chat->put_all(lstring_value(CAR(args))); break;
    22052205    case 281 :
Note: See TracChangeset for help on using the changeset viewer.