|
From: <gi...@gp...> - 2010-12-26 22:22:23
|
The branch, master has been updated
via b99fde814d5c3e1ba6ba02512a5d582376ed9aea (commit)
from 183ff5b416ea26fc99d72a54a7d093310e940cd5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/hid/gtk/gui.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit b99fde814d5c3e1ba6ba02512a5d582376ed9aea
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
hid/gtk: Remove unused DRAW_Z, VIEW_Z macros
:100644 100644 b814366... ba8b601... M src/hid/gtk/gui.h
=========
Changes
=========
commit b99fde814d5c3e1ba6ba02512a5d582376ed9aea
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
hid/gtk: Remove unused DRAW_Z, VIEW_Z macros
diff --git a/src/hid/gtk/gui.h b/src/hid/gtk/gui.h
index b814366..ba8b601 100644
--- a/src/hid/gtk/gui.h
+++ b/src/hid/gtk/gui.h
@@ -70,11 +70,9 @@ extern int ghid_flip_x, ghid_flip_y;
#define DRAW_X(x) (gint)((SIDE_X(x) - gport->view_x0) / gport->zoom)
#define DRAW_Y(y) (gint)((SIDE_Y(y) - gport->view_y0) / gport->zoom)
-#define DRAW_Z(z) (gint)((z) / gport->zoom)
#define VIEW_X(x) SIDE_X((gint)((x) * gport->zoom + gport->view_x0))
#define VIEW_Y(y) SIDE_Y((gint)((y) * gport->zoom + gport->view_y0))
-#define VIEW_Z(z) (gint)((z) * gport->zoom)
/*
* Used to intercept "special" hotkeys that gtk doesn't usually pass
|