Commit Graph

27 Commits

Author SHA1 Message Date
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