Ignore:
Timestamp:
Apr 20, 2011, 12:39:27 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: use vec2i for image::size and unroll all necessary changes
everywhere else in the code.

File:
1 edited

Legend:

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

    r494 r512  
    1111#include "config.h"
    1212
     13#include "common.h"
     14
    1315#include "game.h"
    14 
    1516
    1617#include "profile.h"
     
    119120  float time_scaler=(float)max_bar_length/prof_list[0].total_time;
    120121
    121   prof_win->screen->bar(0,prof_win->y1(),prof_win->screen->width()-1,prof_win->screen->height(),0);
     122  prof_win->screen->bar(0,prof_win->y1(),prof_win->screen->Size().x-1,prof_win->screen->Size().y,0);
    122123  int dy = 0;
    123124  for (; i<prof_height; i++)
Note: See TracChangeset for help on using the changeset viewer.