]> git.tdb.fi Git - libs/gltk.git/commit
Replace the derived layout classes with a more flexible design
authorMikko Rasa <tdb@tdb.fi>
Fri, 14 Jun 2013 20:32:37 +0000 (23:32 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 14 Jun 2013 20:32:37 +0000 (23:32 +0300)
commit646af3dd91a6ca981572a5b69a0f0bd205d9af49
tree7f37e86f22bf3fd6d51b1fe8d3a6c6cb75297c18
parentdf07e8f3e239b146cbc458d3cbd69758e590d255
Replace the derived layout classes with a more flexible design

The new Arrangement interface allows multiple arrangements to be used in
a single layout.  They can even be nested, with a sub-arrangement acting
like a single slot of its parent.
12 files changed:
source/arrangement.cpp [new file with mode: 0644]
source/arrangement.h [new file with mode: 0644]
source/column.cpp
source/column.h
source/grid.cpp
source/grid.h
source/layout.cpp
source/layout.h
source/mixedrows.cpp [deleted file]
source/mixedrows.h [deleted file]
source/row.cpp
source/row.h