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/ui/volumewindow.cpp

    r494 r512  
    1010
    1111#include "config.h"
     12
     13#include "common.h"
    1214
    1315#include "volumewindow.h" // class VolumeWindow
     
    3840    //reconfigure();
    3941    bg = cache.reg(ff, "vcontrol", SPEC_IMAGE, 1);
    40     l = cache.img(bg)->width();
    41     h = cache.img(bg)->height();
     42    l = cache.img(bg)->Size().x;
     43    h = cache.img(bg)->Size().y;
    4244    screen = new image(l, h, NULL, 2);
    4345    redraw();
Note: See TracChangeset for help on using the changeset viewer.