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

imlib: make JCFont use vec2i classes.

File:
1 edited

Legend:

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

    r651 r668  
    563563
    564564      Jwindow *j=wm->new_window(0,yres/2,-1,-1,new info_field(0, 0, 0, symbol_str("resync"),
    565                           new button(0, wm->font()->height() + 5, ID_NET_DISCONNECT,
     565                          new button(0, wm->font()->Size().y + 5, ID_NET_DISCONNECT,
    566566                             symbol_str("slack"),NULL)),symbol_str("hold!"))
    567567;
     
    667667    if (total_retry==12000)    // 2 minutes and nothing
    668668    {
    669       abort=wm->new_window(0,yres/2,-1,wm->font()->height()*4,
     669      abort=wm->new_window(0,yres/2,-1,wm->font()->Size().y*4,
    670670                   new info_field(0, 0, 0, symbol_str("waiting"),
    671                           new button(0, wm->font()->height() + 5, ID_NET_DISCONNECT,
     671                          new button(0, wm->font()->Size().y + 5, ID_NET_DISCONNECT,
    672672                             symbol_str("slack"),NULL)),symbol_str("Error"));
    673673      wm->flush_screen();
Note: See TracChangeset for help on using the changeset viewer.