mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Merge pull request #4425 from IvanSavenko/ui_cleanup
Remove old code from UI system
This commit is contained in:
@@ -59,7 +59,7 @@ AdventureMapInterface::AdventureMapInterface():
|
||||
scrollingWasBlocked(false),
|
||||
backgroundDimLevel(settings["adventure"]["backgroundDimLevel"].Integer())
|
||||
{
|
||||
OBJ_CONSTRUCTION_CAPTURING_ALL_NO_DISPOSE;
|
||||
OBJECT_CONSTRUCTION;
|
||||
pos.x = pos.y = 0;
|
||||
pos.w = GH.screenDimensions().x;
|
||||
pos.h = GH.screenDimensions().y;
|
||||
@@ -899,7 +899,7 @@ void AdventureMapInterface::hotkeyZoom(int delta, bool useDeadZone)
|
||||
|
||||
void AdventureMapInterface::onScreenResize()
|
||||
{
|
||||
OBJ_CONSTRUCTION_CAPTURING_ALL_NO_DISPOSE;
|
||||
OBJECT_CONSTRUCTION;
|
||||
|
||||
// remember our activation state and reactive after reconstruction
|
||||
// since othervice activate() calls for created elements will bypass virtual dispatch
|
||||
|
Reference in New Issue
Block a user