Commit Graph
2 Commits
Author SHA1 Message Date
regar42 024a4f70c3 Fix add column/line and spinners, cleanup Maintest
* Remove legacy test code in MainTest

maze:
* Add methods to add/del lines and columns
* Add various calls to matrixDeepCopy, allowing to overwrite only a part
  of a matrix

model:
* Better delegation to Maze : let Maze handle column/line
  adds/deletions

ui:
* Add buttons to context menu to add/remove lines and columns
* Add buttons to Maze Menu to delete lines and columns
* Fix the spinners, it used to call a new instance of itself, which made
  impossible to simple get the values from the spinners
2017-12-31 20:25:16 +01:00
regar42 81df80e7ea Add a context menu to edit boxes type
model:
* New methods to directly set boxes type instead of only toggling
  (setXBox methods)
* toggleBox now calls setXBox methods

ui:
* Add a context menu, enabled on right click, to directly choose the
  type of a box in the maze
* Defer the calculation of the box coordinates in the matrix to two new
  methods, getBoxRow and getBoxLine
2017-12-29 12:04:15 +01:00