Started work on model types.

This commit is contained in:
lmika 2015-03-24 13:12:40 +11:00
parent 910bdbc854
commit 665bc8cdae
7 changed files with 128 additions and 36 deletions

View file

@ -78,6 +78,11 @@ func (grid *Grid) Model() GridModel {
return grid.model
}
// Sets the model
func (grid *Grid) SetModel(model GridModel) {
grid.model = model
}
/**
* Shifts the viewport of the grid.
*/