Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added LibGUI, and updates to EventDemo #22

Merged
merged 2 commits into from
Sep 14, 2021
Merged

Conversation

jfrickmann
Copy link
Contributor

LibGUI shows a way to create a GUI with buttons, menus etc.

@rotorman
Copy link
Member

rotorman commented Sep 12, 2021

Tested both apps on RM TX16S with b5e4f6e3 (from https://github.com/dlktdr/edgetx/tree/trainer_gui).

First LibGUI. If I click Exit button on the GUI, I get an error:
ERROR() in refresh(): /WIDGETS/LibGUI/loadable.lua:159 attempt to call field exitFullScreen (a nil value)

Second EventDemo. Sometimes by touching, the EVT_TOUCH_FIRST and EVT_TOUCH_BREAK stay flickering some seconds, even after I have let go the finger.

Am I using a wrong (old) firmware to test this, or is there an issue in the apps?

@jfrickmann
Copy link
Contributor Author

Tested both apps on RM TX16S with b5e4f6e3 (from https://github.com/dlktdr/edgetx/tree/trainer_gui).

First LibGUI. If I click Exit button on the GUI, I get an error:
ERROR() in refresh(): /WIDGETS/LibGUI/loadable.lua:159 attempt to call field exitFullScreen (a nil value)

Second EventDemo. Sometimes by touching, the EVT_TOUCH_FIRST and EVT_TOUCH_BREAK stay flickering some seconds, even after I have let go the finger.

Am I using a wrong (old) firmware to test this, or is there an issue in the apps?

You need e5b5c412536870ff6c674437bd8db56edcc4f4ef for exitFullScreen() to be available.
The latest event is shown for 4 sec. - see line 187-190 in loadable.lua.

@pfeerick pfeerick merged commit 138189d into EdgeTX:master Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants