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

Add empty persistent panel between HUD and tabs #2920

Merged
merged 1 commit into from Aug 23, 2022

Conversation

robertlong13
Copy link
Collaborator

This adds an empty, zero-sized panel between the HUD and the tabs. This allows for the creation of plugins that add buttons or readouts that are always visible, and don't require clicking around through tabs.

As an example of how this could be useful, I have included an example .cs plugin in this pull request (disabled by default), similar to tabActionsSimple, with three mode switch buttons. The three modes can be changed to anything by simply tweaking three lines in the .cs file without having to rebuild anything.

image

This allows plugins to create useful always-visible panels, either for
control or for information display. An example plugin, similar to
tabActionsSimple, is included (disabled by default).
@meee1 meee1 merged commit e24b0f5 into ArduPilot:master Aug 23, 2022
@robertlong13 robertlong13 deleted the persistent_panel branch August 23, 2022 13:49
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.

None yet

2 participants