From: Johnathan G. <da...@us...> - 2002-12-31 15:12:37
|
daren 2002/12/31 07:12:35 PST Modified files: phui/phui SConscript WidgetContainer.cpp WidgetContainer.h Added files: phui/phui LayoutConstraint.h LayoutManager.cpp LayoutManager.h Log: Initial checkin of Layout Managers. A layout manager is used by a widget container to resize widgets as needed. Layout Managers make use of Layout Constraints, which use static strings to determine their type. The idea is that a layout manager will resize widgets in the container to meets the constraints specified by the manager. I'm still playing around with how to go about this, so there is a little bit of redundancy. This will be fixed soon. Revision Changes Path 1.1 +29 -0 lib/phui/phui/LayoutConstraint.h (new) 1.1 +23 -0 lib/phui/phui/LayoutManager.cpp (new) 1.1 +90 -0 lib/phui/phui/LayoutManager.h (new) 1.21 +2 -0 lib/phui/phui/SConscript 1.22 +16 -4 lib/phui/phui/WidgetContainer.cpp 1.14 +23 -5 lib/phui/phui/WidgetContainer.h http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/phui/phui/LayoutConstraint.h?rev=1.1&content-type=text/plain http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/phui/phui/LayoutManager.cpp?rev=1.1&content-type=text/plain http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/phui/phui/LayoutManager.h?rev=1.1&content-type=text/plain http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/phui/phui/SConscript.diff?r1=1.20&r2=1.21&diff_format=h http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/phui/phui/WidgetContainer.cpp.diff?r1=1.21&r2=1.22&diff_format=h http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/phui/phui/WidgetContainer.h.diff?r1=1.13&r2=1.14&diff_format=h |