Skip to content

Commit

Permalink
Removed some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
edrosten committed Aug 1, 2008
1 parent 139ffd0 commit 4b51bdb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cvd/glwindow.h
Expand Up @@ -48,19 +48,19 @@ namespace CVD {
public:
virtual ~EventHandler() {}
/// Called for key press events
virtual void on_key_down(GLWindow&, int key) {}
virtual void on_key_down(GLWindow&, int /*key*/) {}
/// Called for key release events
virtual void on_key_up(GLWindow& win, int key) {}
virtual void on_key_up(GLWindow& /*win*/, int /*key*/) {}
/// Called for mouse movement events
virtual void on_mouse_move(GLWindow& win, ImageRef where, int state) {}
virtual void on_mouse_move(GLWindow& /*win*/, ImageRef /*where*/, int /*state*/) {}
/// Called for mouse button press events
virtual void on_mouse_down(GLWindow& win, ImageRef where, int state, int button) {}
virtual void on_mouse_down(GLWindow& /*win*/, ImageRef /*where*/, int /*state*/, int /*button*/) {}
/// Called for mouse button release events
virtual void on_mouse_up(GLWindow& win, ImageRef where, int state, int button) {}
virtual void on_mouse_up(GLWindow& /*win*/, ImageRef /*where*/, int /*state*/, int /*button*/) {}
/// Called for window resize events
virtual void on_resize(GLWindow& win, ImageRef size) {}
virtual void on_resize(GLWindow& /*win*/, ImageRef /*size*/) {}
/// Called for general window events (such as EVENT_CLOSE)
virtual void on_event(GLWindow& win, int event) {}
virtual void on_event(GLWindow& /*win*/, int /*event*/) {}
};

struct Event {
Expand Down

0 comments on commit 4b51bdb

Please sign in to comment.