]> git.tdb.fi Git - libs/gltk.git/commit
Move all child widget handling into Container
authorMikko Rasa <tdb@tdb.fi>
Sun, 2 Dec 2012 09:44:11 +0000 (11:44 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 2 Dec 2012 09:44:11 +0000 (11:44 +0200)
commit1b29f1987b8891852a606afbb03e5e08b16c8c3e
tree5b2f91cd97b2b913014c745a258d82fa1e6864f2
parent9fdbf99cdb3c5620e665c3ecb34e83d778cb311a
Move all child widget handling into Container

This solves some problems like the slider of a list not receiving pointer
enter/leave events.  There are no obvious downsides either.  Widgets can
always override event handlers if they want to prevent something from
happening.

The event handlers are currently just combinations of those of the Panel
and Container classes.  They'll be smoothed out shortly.
source/container.cpp
source/container.h
source/panel.cpp
source/panel.h