ZeroPhone / ZPUI

Official ZeroPhone UI framework, based on pyLCI
http://zpui.rtfd.org/
Apache License 2.0
79 stars 19 forks source link

OutputProxy: display_data does not save an image in the context #93

Closed CRImier closed 6 years ago

CRImier commented 6 years ago

display_data does not yet have a way to save the state of the screen so that it comes up once the context is returned to.

Reproducing:

Result:

The 2048 game screen (that uses display_data) will not appear unless some other key is pressed. This is because, if display_data is used, the resulting image is not saved in the OutputProxy object.

Possible solutions:

CRImier commented 6 years ago

Fixed - went the second way, added a "direct method" way of proxying methods.