aboutsummaryrefslogtreecommitdiff
path: root/ViewController.h
diff options
context:
space:
mode:
Diffstat (limited to 'ViewController.h')
-rw-r--r--ViewController.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ViewController.h b/ViewController.h
index 1e41a2c..0b86468 100644
--- a/ViewController.h
+++ b/ViewController.h
@@ -20,6 +20,10 @@ public:
void ev_mousedown(MouseCode code);
void ev_mousemove(unsigned x, unsigned y);
+public:
+ void set_artists_visible(bool visible) { this->draw_artists = visible; }
+ bool get_artists_visible() { return this->draw_artists; }
+
private:
void update_size();
void update_tiles();
@@ -29,6 +33,8 @@ private:
Museum & museum;
View & view;
const Command * cmd_base = nullptr;
+
+ bool draw_artists = true;
private:
unsigned int scale = 16;