]> git.tdb.fi Git - libs/gltk.git/commit
Make autosize_special const and add a const autosize overload
authorMikko Rasa <tdb@tdb.fi>
Wed, 6 Nov 2013 11:12:24 +0000 (13:12 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 6 Nov 2013 11:12:24 +0000 (13:12 +0200)
commit707b59d45ae50b69c94918f8f74313283b304597
treee7a336e39c093afd3ce7d90a0e86faf441f2e4c0
parent1bc84ded58379ee24315db8784d9fb710a02e24e
Make autosize_special const and add a const autosize overload

This should reduce useless back-and-forth resizing of widgets in several
common patterns.
23 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/list.cpp
source/list.h
source/panel.cpp
source/panel.h
source/toggle.cpp
source/toggle.h
source/vslider.cpp
source/vslider.h
source/widget.cpp
source/widget.h