Added a panning navigation mode.

This commit is contained in:
Tim Schubert 2016-01-19 22:09:14 +01:00
parent 0d523b6541
commit 62cba726a8
2 changed files with 15 additions and 1 deletions

View file

@ -173,7 +173,7 @@ protected:
std::unordered_set<Field> *fields;
Layout *layout;
Field marker;
bool panning;
bool on_rectangle(SDL_Rect *rect);
public:
Grid(Layout *layout_)