Ignore:
Timestamp:
May 13, 2011, 9:13:53 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: refactor Event and EventHandler?.

File:
1 edited

Legend:

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

    r579 r643  
    3030  virtual void draw_first(image *screen);
    3131  virtual void draw(int active, image *screen);
    32   virtual void handle_event(event &ev, image *screen, InputManager *im);
     32  virtual void handle_event(Event &ev, image *screen, InputManager *im);
    3333  void change_visual(image *new_visual);
    3434  virtual void remap(Filter *f);
     
    5353  virtual void draw_first(image *screen);
    5454  virtual void draw(int active, image *screen);
    55   virtual void handle_event(event &ev, image *screen, InputManager *im);
     55  virtual void handle_event(Event &ev, image *screen, InputManager *im);
    5656  virtual ~button_box();
    5757  virtual char *read();   // return pointer to first button which is depressed
     
    8484  virtual void draw_first(image *screen);
    8585  virtual void draw(int active, image *screen);
    86   virtual void handle_event(event &ev, image *screen, InputManager *im);
     86  virtual void handle_event(Event &ev, image *screen, InputManager *im);
    8787
    8888  virtual ~text_field() { free(prompt); free(format); free(data); }
     
    104104  virtual void draw_first(image *screen);
    105105  virtual void draw(int active, image *screen) { ; }
    106   virtual void handle_event(event &ev, image *screen, InputManager *im) { ; }
     106  virtual void handle_event(Event &ev, image *screen, InputManager *im) { ; }
    107107  virtual char *read() { return text; }
    108108  virtual int selectable() { return 0; }
Note: See TracChangeset for help on using the changeset viewer.