|
|
@ -597,6 +597,7 @@ end
|
|
|
|
Screen = defclass(Screen, View)
|
|
|
|
Screen = defclass(Screen, View)
|
|
|
|
|
|
|
|
|
|
|
|
Screen.text_input_mode = false
|
|
|
|
Screen.text_input_mode = false
|
|
|
|
|
|
|
|
Screen.request_full_screen_refresh = false
|
|
|
|
|
|
|
|
|
|
|
|
function Screen:postinit()
|
|
|
|
function Screen:postinit()
|
|
|
|
self:onResize(dscreen.getWindowSize())
|
|
|
|
self:onResize(dscreen.getWindowSize())
|
|
|
@ -622,7 +623,10 @@ function Screen:renderParent()
|
|
|
|
else
|
|
|
|
else
|
|
|
|
dscreen.clear()
|
|
|
|
dscreen.clear()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
df.global.gps.force_full_display_count = 1
|
|
|
|
if Screen.request_full_screen_refresh then
|
|
|
|
|
|
|
|
df.global.gps.force_full_display_count = 1
|
|
|
|
|
|
|
|
Screen.request_full_screen_refresh = false
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function Screen:sendInputToParent(...)
|
|
|
|
function Screen:sendInputToParent(...)
|
|
|
@ -657,6 +661,8 @@ function Screen:dismiss()
|
|
|
|
if self._native then
|
|
|
|
if self._native then
|
|
|
|
dscreen.dismiss(self)
|
|
|
|
dscreen.dismiss(self)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
-- don't leave artifacts behind on the parent screen when we disappear
|
|
|
|
|
|
|
|
Screen.request_full_screen_refresh = true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function Screen:onDismiss()
|
|
|
|
function Screen:onDismiss()
|
|
|
|