]> git.tdb.fi Git - libs/gltk.git/commit
Refactor widget autosizing
authorMikko Rasa <tdb@tdb.fi>
Wed, 26 Jun 2013 16:17:54 +0000 (19:17 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 26 Jun 2013 16:17:54 +0000 (19:17 +0300)
commitd2d5b4c4dedf90a42dd2baff8334318b1d000f64
tree28925de8639e00883fa6af51e99b0aafcd1f8348
parentc8291177b545ec81930603a5915234a60296db51
Refactor widget autosizing

Widget::autosize is no longer virtual.  Instead there's autosize_special,
which handles one part at a time.  This way all the important checks and
finalisations are done in one place.
26 files changed:
source/button.cpp
source/button.h
source/dropdown.cpp
source/dropdown.h
source/entry.cpp
source/entry.h
source/hslider.cpp
source/hslider.h
source/image.cpp
source/image.h
source/label.cpp
source/label.h
source/layout.cpp
source/layout.h
source/list.cpp
source/list.h
source/panel.cpp
source/panel.h
source/text.cpp
source/text.h
source/toggle.cpp
source/toggle.h
source/vslider.cpp
source/vslider.h
source/widget.cpp
source/widget.h