]> git.tdb.fi Git - libs/gltk.git/commit
Rewrite Panel navigation logic so it makes more sense
authorMikko Rasa <tdb@tdb.fi>
Mon, 12 Sep 2016 15:34:12 +0000 (18:34 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 12 Sep 2016 15:34:12 +0000 (18:34 +0300)
commit10c448468c4e225fab701e69bdc296422bb3f509
tree901aaf3aa88e7d0eb2e065cd39da8fb880c96566
parent05ef650bff69b998440a6c082dd90e205fe6c233
Rewrite Panel navigation logic so it makes more sense

Rather than calculating distances between widget centers it now considers
the closeness of their edges.  It's not perfect but better than before.
source/panel.cpp
source/panel.h