hessiess
October 15th, 2008, 08:03 PM
so, im still trying to implement a 'blender like' window manager. basicky heares what im trying to think of an algorithm for:
when started there would be a single tile, which can be 'sub divided' eather horizontally or vertically. creating two tiles, these tiles can then be subdivided into 2 and so on. however I'm having trouble thinking of a way to implement this, currently my only idea is to create a class which contains two tiles, one of which can be hidden if the window isn't subdivided, and having an instance of that same class within itself, this , however dousen't seam to be passable.
any suggestions?
when started there would be a single tile, which can be 'sub divided' eather horizontally or vertically. creating two tiles, these tiles can then be subdivided into 2 and so on. however I'm having trouble thinking of a way to implement this, currently my only idea is to create a class which contains two tiles, one of which can be hidden if the window isn't subdivided, and having an instance of that same class within itself, this , however dousen't seam to be passable.
any suggestions?