aboutsummaryrefslogtreecommitdiff
path: root/ViewController.h
blob: bffd0b2cb8bb3c5d045b5d36ea1862a233b6c2fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

class View;
class Museum;

class ViewController {
public:
	ViewController(Museum & m);

public:
	void update(View & v);

private:
	void update_size(View & v);
	void update_tiles(View & v);
	void update_artists(View & v);

private:
	Museum & museum;
	
private:
	unsigned int scale = 16;
	unsigned int line_width = 0;
	unsigned int artist_size = (scale - line_width) / 2;
};