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

Lua UI API Extensions #5933

Merged
merged 20 commits into from Jul 17, 2023
Merged

Conversation

Noordfrees
Copy link
Member

@Noordfrees Noordfrees commented Jun 4, 2023

Type of change
New feature

Issue(s) closed
Follow-up to #5872
This adds support for most types of UI widgets: Checkboxes, radio groups, unique windows, spinboxes, sliders (all three flavours), progress bars, editboxes and multiline editboxes.
Not yet implemented: Dropdowns, listselects, tables, tab panels.

Additionally provides read+write access to most properties of all kinds of UI elements at runtime.

How it works
Sample add-on to show it all off:
uipluginstest.wad.zip (Updated for f33b234 2023-07-15)

Screenshots
grafik

@Noordfrees Noordfrees added enhancement New feature or request lua Lua scripts and scripting interface ui User interface addon Problems and requests related to add-ons labels Jun 4, 2023
@Noordfrees Noordfrees added this to the v1.2 milestone Jun 4, 2023
@Noordfrees Noordfrees self-assigned this Jun 4, 2023
Copy link
Contributor

@hessenfarmer hessenfarmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM.
Not tested yet

@Noordfrees
Copy link
Member Author

What's the status here?

@Noordfrees Noordfrees mentioned this pull request Jun 30, 2023
@hessenfarmer
Copy link
Contributor

What's the status here?

will try to test over the weekend. in the last days my time was very limited.

Copy link
Contributor

@hessenfarmer hessenfarmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

finally found time to test this.
Very nice feature offering lots of possibilities for sceanrio scripting

@Noordfrees Noordfrees merged commit b9611e7 into widelands:master Jul 17, 2023
33 checks passed
@Noordfrees Noordfrees deleted the uiplugings-more-widgets branch July 17, 2023 21:03
@Noordfrees
Copy link
Member Author

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon Problems and requests related to add-ons enhancement New feature or request lua Lua scripts and scripting interface ui User interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants