Ignore:
Timestamp:
Mar 17, 2008, 3:25:09 AM (14 years ago)
Author:
Sam Hocevar
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/scroller.hpp

    r112 r120  
    4141  virtual void draw_first(image *screen);
    4242  virtual void draw(int active, image *screen);
    43   virtual void handle_event(event &ev, image *screen, input_manager *im);
     43  virtual void handle_event(event &ev, image *screen, InputManager *im);
    4444  virtual char *read() { return (char *)&sx; }
    4545
    4646  virtual int activate_on_mouse_move() { return 1; }
    47   virtual void handle_inside_event(event &ev, image *screen, input_manager *inm) {;}
     47  virtual void handle_inside_event(event &ev, image *screen, InputManager *inm) {;}
    4848  virtual void scroll_event(int newx, image *screen);
    49   virtual void handle_up(image *screen, input_manager *inm);
    50   virtual void handle_down(image *screen, input_manager *inm);
    51   virtual void handle_left(image *screen, input_manager *inm);
    52   virtual void handle_right(image *screen, input_manager *inm);
     49  virtual void handle_up(image *screen, InputManager *inm);
     50  virtual void handle_down(image *screen, InputManager *inm);
     51  virtual void handle_left(image *screen, InputManager *inm);
     52  virtual void handle_right(image *screen, InputManager *inm);
    5353  virtual void area_config() { ; }
    5454  void set_size(int width, int height) { l=width; h=height; }
     
    6969  int first_selected();
    7070  virtual void scroll_event(int newx, image *screen);
    71   virtual void handle_inside_event(event &ev, image *screen, input_manager *inm);
     71  virtual void handle_inside_event(event &ev, image *screen, InputManager *inm);
    7272
    7373  // you should define \/
     
    7777  virtual int item_width() = 0;
    7878  virtual int item_height() = 0;
    79   virtual void note_selection(image *screen, input_manager *inm, int x) { ; }
    80   virtual void note_new_current(image *screen, input_manager *inm, int x) { ; }
     79  virtual void note_selection(image *screen, InputManager *inm, int x) { ; }
     80  virtual void note_new_current(image *screen, InputManager *inm, int x) { ; }
    8181  virtual int ok_to_select(int num) { return 1; }
    82   virtual void handle_up(image *screen, input_manager *inm);
    83   virtual void handle_down(image *screen, input_manager *inm);
    84   virtual void handle_left(image *screen, input_manager *inm);
    85   virtual void handle_right(image *screen, input_manager *inm);
     82  virtual void handle_up(image *screen, InputManager *inm);
     83  virtual void handle_down(image *screen, InputManager *inm);
     84  virtual void handle_left(image *screen, InputManager *inm);
     85  virtual void handle_right(image *screen, InputManager *inm);
    8686  virtual void set_x(int x, image *screen);
    8787  void reconfigure();   // should be called by constructor after class is ready to take virtual calls
     
    104104  pick_list(int X, int Y, int ID, int height,
    105105            char **List, int num_entries, int start_yoffset, ifield *Next, image *texture=NULL);
    106   virtual void handle_inside_event(event &ev, image *screen, input_manager *inm);
     106  virtual void handle_inside_event(event &ev, image *screen, InputManager *inm);
    107107  virtual void scroll_event(int newx, image *screen);
    108108  virtual char *read() { return (char *)this; }
    109109  virtual void area_config();
    110   virtual void handle_up(image *screen, input_manager *inm);
    111   virtual void handle_down(image *screen, input_manager *inm);
     110  virtual void handle_up(image *screen, InputManager *inm);
     111  virtual void handle_down(image *screen, InputManager *inm);
    112112  int get_selection() { return lis[cur_sel].number; }
    113113  ~pick_list() { jfree(lis); }
Note: See TracChangeset for help on using the changeset viewer.