]> git.tdb.fi Git - libs/gltk.git/commit
Defer widget rebuild to just before they are rendered
authorMikko Rasa <tdb@tdb.fi>
Mon, 23 Sep 2019 20:59:24 +0000 (23:59 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 23 Sep 2019 20:59:24 +0000 (23:59 +0300)
commit878faa0c9283ee1e6e5e67b6ea1324cc52385742
tree010d88f7ee4d5cef15ec7fc28d25795625949cb7
parent21cb1e0b6fcc653d1298423dff5af5609389d415
Defer widget rebuild to just before they are rendered

This improves performance especially with complex widgets like Entry.
14 files changed:
source/button.cpp
source/container.cpp
source/container.h
source/dropdown.cpp
source/entry.cpp
source/image.cpp
source/label.cpp
source/list.cpp
source/root.cpp
source/root.h
source/slider.cpp
source/toggle.cpp
source/widget.cpp
source/widget.h