Mercurial > hg > soniczoomios
diff grid.h @ 7:845ea04f8e33
more logging, user id, preset info
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Thu, 06 Dec 2012 18:26:51 +0000 |
parents | 5ee5ef99e117 |
children | 346807b47860 |
line wrap: on
line diff
--- a/grid.h Thu Dec 06 13:55:58 2012 +0000 +++ b/grid.h Thu Dec 06 18:26:51 2012 +0000 @@ -15,6 +15,7 @@ #include "eventLogger.h" #include "presetManager.h" using namespace std; +class Preset; class Grid { private: @@ -37,6 +38,7 @@ TwoVector snapCentre; TwoVector snapDist; // number of pixels to snap to + Preset * closestPreset; // pointer to the currently selected (snapped to ) preset.. NULL if none. bool maxZoom, minZoom; int cubeWidth; // side of hypercube. 2 for binary coding.