Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed some warnings

  • Loading branch information...
commit 4b51bdbc1d850f56a9413bda3cff2612d0a1f7de 1 parent 139ffd0
edrosten authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 cvd/glwindow.h
View
14 cvd/glwindow.h
@@ -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 {
Please sign in to comment.
Something went wrong with that request. Please try again.