Added a panning navigation mode.
This commit is contained in:
parent
0d523b6541
commit
62cba726a8
2 changed files with 15 additions and 1 deletions
|
@ -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_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue