]> git.tdb.fi Git - libs/gltk.git/commit
Refactor Dialog to separate the autodeletion functionality
authorMikko Rasa <tdb@tdb.fi>
Mon, 21 Aug 2023 14:34:08 +0000 (17:34 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 21 Aug 2023 14:37:21 +0000 (17:37 +0300)
commitb4d0a86b77fb5146f5a4f6c76690c16204210f1a
tree141c71a88cf8dffa99633f511ce239c566e50659
parent394e5c9969a30b604bfaf78fc05a8c2d5c98ab5b
Refactor Dialog to separate the autodeletion functionality

The base Dialog class now only hides itself, allowing reusable dialogs.
There's a new AutoDialog class which can be used to create autodeleting
dialogs, ensuring that they're allocated in the correct way.
source/dialog.cpp
source/dialog.h