|
|
@ -867,8 +867,17 @@ function ZScreen:onGetSelectedPlant()
|
|
|
|
return zscreen_get_any(self, 'Plant')
|
|
|
|
return zscreen_get_any(self, 'Plant')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
--------------------------
|
|
|
|
-- convenience subclass for modal dialogs
|
|
|
|
-- Framed screen object --
|
|
|
|
ZScreenModal = defclass(ZScreenModal, ZScreen)
|
|
|
|
|
|
|
|
ZScreenModal.ATTRS{
|
|
|
|
|
|
|
|
defocusable = false,
|
|
|
|
|
|
|
|
force_pause = true,
|
|
|
|
|
|
|
|
pass_pause = false,
|
|
|
|
|
|
|
|
pass_movement_keys = false,
|
|
|
|
|
|
|
|
pass_mouse_clicks = false,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Framed screen object
|
|
|
|
--------------------------
|
|
|
|
--------------------------
|
|
|
|
|
|
|
|
|
|
|
|
-- Plain grey-colored frame.
|
|
|
|
-- Plain grey-colored frame.
|
|
|
|