]> git.tdb.fi Git - libs/gltk.git/commit
Refactor Panel to create Layout internally on request
authorMikko Rasa <tdb@tdb.fi>
Mon, 21 Aug 2023 12:42:10 +0000 (15:42 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 21 Aug 2023 12:51:08 +0000 (15:51 +0300)
commit90d5f5f2ebaeb8aaa4aa47a0c2207f96758cba8c
treebe0562553bded7b898a9488589aab490318c5af8
parenteeec8c83778e73c02c414db772f790540e626d2c
Refactor Panel to create Layout internally on request

The Panel always took ownership of the layout anyway, and there seems to
be little point to replace an existing layout with a new one.
examples/widgetdemo/buttondemo.cpp
examples/widgetdemo/demoselector.cpp
examples/widgetdemo/dropdowndemo.cpp
examples/widgetdemo/entrydemo.cpp
examples/widgetdemo/toggledemo.cpp
examples/widgetdemo/widgetdemo.cpp
source/panel.cpp
source/panel.h