Commit Graph

39 Commits

Author SHA1 Message Date
luk3yx
1b65298357 Increase heading level 2025-02-28 20:46:04 +13:00
luk3yx
90a152ab42 Update README.md 2025-02-27 18:00:12 +13:00
luk3yx
71bbfd524e Use mkdocs for documentation 2025-02-27 17:33:13 +13:00
luk3yx
fb069d203c Improve documentation of window_* values 2025-02-27 16:03:56 +13:00
luk3yx
326792a2c1 Update README.md 2025-02-21 18:38:59 +13:00
luk3yx
8f3c3b1deb Add window_position, window_padding, and window_anchor
Now flow can actually be used for HUDs
2025-02-21 18:38:25 +13:00
luk3yx
e3dc6d6750 Add on_key_enter callback and close_on_enter
Closes https://gitlab.com/luk3yx/minetest-flow/-/issues/4
2025-02-21 17:16:54 +13:00
luk3yx
4f9e9d9a6e Document on_quit as an experimental feature 2025-02-19 12:01:35 +13:00
luk3yx
3318877766 Update README 2024-12-30 11:15:38 +13:00
luk3yx
f306f01f57 Luanti rename, add ButtonURL support 2024-11-08 15:52:39 +13:00
luk3yx
150cef9399 Change prefix of auto-generated field names
Fixes behaviour with https://github.com/minetest/minetest/pull/14878

I've also added a workaround to preserve the current behaviour of
dropdowns that don't have index_event set.
2024-08-13 10:22:47 +12:00
luk3yx
cf0fd10708 Document embed and fix form reference 2024-07-31 15:50:33 +12:00
luk3yx
5215229d8c Add inline styles and tooltips 2024-05-15 10:49:36 +12:00
luk3yx
1d6ddb368d Update README 2024-04-30 20:50:11 +12:00
luk3yx
57c1e20ace Reset bgimg style when centering labels 2023-07-08 12:17:30 +12:00
luk3yx
82a5a2470e Link to flow_inspector 2023-07-07 16:38:59 +12:00
luk3yx
def74ddc3e Document fbgcolor 2023-06-20 20:02:30 +12:00
Lazerbeak12345
435efd014e
feat(flow.widgets): Add nil gui object (#6)
Skipped over by rendering library, and not included in output formspec.
2023-04-19 16:54:04 +12:00
Lazerbeak12345
60d2674a45
feat: Add render_to_formspec_string function (#5)
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2023-04-08 13:13:44 +12:00
Lazerbeak12345
bba30cc267
feat: Add set_as_inventory_for API function (#2)
Adds the `Form:set_as_inventory_for(player, [ctx])` API.

Also includes:

 • `Form:unset_as_inventory_for(player)`
 • Extends private `show_form` to account for inv edge cases
 • Extends private `on_fs_input` to account for inv edge cases
 • Adds several abstraction functions
 • Add feature to `on_leaveplayer` to delete the inv formspec state as well
 • Add a few unit tests for related features
2023-03-26 15:44:31 +13:00
luk3yx
45e61e34c9 Update README.md 2023-03-24 16:21:51 +13:00
luk3yx
e29c27de44 Update documentation 2023-03-24 16:19:08 +13:00
luk3yx
a2fc646e77 Add gui.Stack 2023-02-01 18:08:58 +13:00
luk3yx
9cad6a94bd Document visible = false and no_prepend = true 2023-01-13 15:24:45 +13:00
luk3yx
02a0702502 Update README 2022-12-12 15:06:59 +13:00
luk3yx
bf0fa06d48 Deprecate some functions and add form:update 2022-12-12 15:06:17 +13:00
luk3yx
7cb1c1c235 Document setting initial context value 2022-12-06 20:34:36 +13:00
luk3yx
3e16f91ac7 Update README 2022-12-03 19:22:21 +13:00
luk3yx
c884b07fc4 Update documentation 2022-12-03 19:21:04 +13:00
luk3yx
5805856e4c Add link to online tutorial/demo 2022-11-11 14:35:39 +13:00
luk3yx
2114db19a3 Update README 2022-10-27 18:06:30 +13:00
luk3yx
b9240ffe60 Undocument bgcolor (as it breaks with bgimg) 2022-10-27 17:51:39 +13:00
luk3yx
a56394ac9b Improve documentation and fix root element padding 2022-10-27 17:42:29 +13:00
luk3yx
986fe1b907 Improve documentation again 2022-07-18 11:46:43 +12:00
luk3yx
e5185422b5 Improve documentation 2022-07-18 11:36:19 +12:00
luk3yx
49567b7055 Add gui.Spacer 2022-07-18 11:35:31 +12:00
luk3yx
275ef77dec Fix example 2022-07-15 13:15:32 +12:00
luk3yx
aa087ed55f Improve README.md 2022-07-15 13:14:25 +12:00
luk3yx
4c7996c915 Initial commit 2022-07-15 12:38:09 +12:00