aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/sdl_net/client.h
diff options
context:
space:
mode:
authorThierry Crozat2017-03-10 02:02:58 +0000
committerThierry Crozat2017-03-10 02:02:58 +0000
commitcc75d17e9c9d4074d94826165fb3831090a502b1 (patch)
tree1027a56b5effa9977deb2ae076385e674193b629 /backends/networking/sdl_net/client.h
parent6bb953e25bca80f763f8cd7c2df1863a529ba889 (diff)
downloadscummvm-rg350-cc75d17e9c9d4074d94826165fb3831090a502b1.tar.gz
scummvm-rg350-cc75d17e9c9d4074d94826165fb3831090a502b1.tar.bz2
scummvm-rg350-cc75d17e9c9d4074d94826165fb3831090a502b1.zip
GUI: Allow delayed deletion of GuiObject
This is achieved by adding a list of GuiObject to delete to GuiManager and doing the deletion in GuiManager::runLoop. The main purpose of this is to avoid the deletion of ButtonWidget object while their ButtonWidget::sendCommand function is being called. For example the sendCommand of the Apply button of the OptionsDialog may cause a rebuild (if the GUI language was changed) which tries to delete the widgets inside the OptionsDialog, including the Apply button.
Diffstat (limited to 'backends/networking/sdl_net/client.h')
0 files changed, 0 insertions, 0 deletions