Started work on model types.
This commit is contained in:
parent
910bdbc854
commit
665bc8cdae
7 changed files with 128 additions and 36 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue