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/imlib/pmenu.h

    r643 r668  
    6464  pmenu_item *top,*active;
    6565  int itemw(pmenu_item *p)
    66   { return strlen(p->name())*wm->font()->width()+2; }
     66  { return strlen(p->name())*wm->font()->Size().x+2; }
    6767  int itemx(pmenu_item *p);
    6868  pmenu_item *inarea(int mx, int my, image *screen);
Note: See TracChangeset for help on using the changeset viewer.