[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/cvd glwindow.h
From: |
Edward Rosten |
Subject: |
[libcvd-members] libcvd/cvd glwindow.h |
Date: |
Fri, 01 Aug 2008 20:39:25 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Changes by: Edward Rosten <edrosten> 08/08/01 20:39:25
Modified files:
cvd : glwindow.h
Log message:
Removed some warnings
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/glwindow.h?cvsroot=libcvd&r1=1.10&r2=1.11
Patches:
Index: glwindow.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/glwindow.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- glwindow.h 12 Jun 2008 13:04:13 -0000 1.10
+++ glwindow.h 1 Aug 2008 20:39:25 -0000 1.11
@@ -48,19 +48,19 @@
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 {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libcvd-members] libcvd/cvd glwindow.h,
Edward Rosten <=