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

imlib: clean up the Sprite class and get rid of the dead sprite
controller code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/event.h

    r656 r669  
    2626#define RIGHT_BUTTON   2
    2727#define MIDDLE_BUTTON  4
     28
    2829#include "keys.h"
    2930#include "sprite.h"
     
    8182    void SetMouseShape(image *im, vec2i center)
    8283    {
    83         m_sprite->change_visual(im, 1);
     84        m_sprite->SetVisual(im, 1);
    8485        m_center = center;
    8586    }
     
    9495    linked_list m_events;
    9596    int m_pending, last_key;
    96     sprite_controller sc;
    9797
    9898    image *m_screen;
     
    100100protected:
    101101    /* Mouse information */
    102     sprite *m_sprite;
     102    Sprite *m_sprite;
    103103    vec2i m_pos, m_center;
    104104    int m_button;
Note: See TracChangeset for help on using the changeset viewer.