61 Commits

Author SHA1 Message Date
marco_a
da5289d977 Avoid hud_elem_type deprecation warnings if MT 5.9+ 2024-09-02 01:02:11 +02:00
marco_a
92bb9d2718 Version bump (3.2.0) 2024-06-29 19:20:54 +02:00
marco_a
dfee2b4dd3 Add src folder 2024-06-29 19:19:49 +02:00
marco_a
791ced3970 Support text style 2024-06-29 19:15:15 +02:00
marco_a
d070965cc2 Move around some DOCS 2024-04-29 01:09:52 +02:00
Zughy
ff740a1741 Version bump (3.2.0-dev) 2023-08-24 01:51:50 +02:00
Zughy
39116d9db0 Version bump (3.1.0) 2023-08-24 01:42:59 +02:00
Zughy
4503417438 Add panel:get_info() 2023-08-23 16:48:38 +02:00
Zughy
c02d7ba31a Add z_index parameter 2023-08-19 01:03:46 +02:00
Zughy
eeb1325acf Version bump (3.0.0) 2023-07-29 22:00:55 +02:00
Zughy
c4b517569d Saner defaults 2023-07-29 21:59:56 +02:00
Zughy
d99b8a64c6 Version bump (2.4.0) 2023-07-18 14:19:20 +00:00
Zughy
db9a15caf9 Update LICENSE (GPL -> AGPL) 2023-07-17 18:05:54 +00:00
Zughy
ab15771207 Fix forgotten global panels variable from last commit 2022-12-13 00:21:51 +01:00
Zughy
6b82aa9b47 README: remove unnecessary info 2022-12-11 23:04:15 +00:00
Zughy
ff9ebe33c8 Make panels table local 2022-12-11 23:57:09 +01:00
Zughy
e16d78deee Remove all panels from memory when a player disconnects 2022-12-11 23:48:03 +01:00
Giov4
8d276d2f72 Merge branch 'master' into 'master'
panel_lib.has_panel function

See merge request zughy-friends-minetest/panel_lib!1
2022-11-21 20:20:19 +00:00
Giov4
d9e5282cae panel_lib.has_panel function 2022-11-21 20:20:19 +00:00
Zughy
156bab7234 Version bump (2.3.0) 2022-11-20 13:54:22 +00:00
Zughy
415f1c5a19 Bugfix: save the correct offset for subelements when the panel has a custom offset as well 2022-06-26 15:16:58 +02:00
Zughy
4f5ecc60b1 Allow to change a panel offset at runtime 2022-06-18 01:39:19 +02:00
Zughy
df565b2b47 Bugfix: titles and backgrounds returned visible when updating a hidden panel 2022-06-15 01:36:52 +02:00
Zughy
0bdd612252 README: update 2022-05-28 23:19:35 +00:00
Zughy
f4b33eb484 Add mod.conf 2022-03-30 21:37:43 +02:00
Zughy
6c47828604 Version bump (2.2.0) 2022-01-29 18:15:18 +01:00
Zughy
e1ea505ca3 Add offset as parameter for panels and adjust sub-elements offset accordingly 2021-03-03 13:53:59 +01:00
Zughy
c0268247fe Actually update panel non-sub elems (position, bg, title and title_color) 2021-02-22 23:01:42 +01:00
Zughy
0b63551489 DOCS: add/remove sub-elem 2020-11-29 00:35:23 +01:00
Zughy
4efc15ccf7 Version bump (2.1.0) 2020-11-29 00:21:35 +01:00
Zughy
ba06bf799b DOCS updated 2020-11-29 00:21:18 +01:00
Zughy
587da73726 visible = false wasn't working 2020-11-29 00:06:42 +01:00
Zughy
160d8006f0 is_shown -> visible | Panels are now by default visible when created 2020-11-28 21:41:00 +01:00
Zughy
f702b37cbf Panels are not deleted and recreated anymore when using :hide() and :show() | panel name outside of the declaration table 2020-11-28 17:54:46 +01:00
Zughy
48634d6ea2 Panel title is now by default empty 2020-11-28 13:36:18 +01:00
Zughy
c5e2afa621 Add and remove sub elements at runtime 2020-11-28 13:33:59 +01:00
Zughy
17a810ed79 Bugfix: calling :remove() deleted all the panels assigned to a player 2020-08-03 01:09:18 +02:00
Zughy
a567db7f2e to scale the title + bugfix with .is_shown() 2020-07-28 14:57:10 +02:00
Zughy
ab6db258ae is_shown() utility | Bugfix: sub elements instantly updated if :update() is called when they're displayed 2020-07-28 02:31:58 +02:00
Zughy
9e8ea201ca More panels per player 2020-07-28 02:20:50 +02:00
Zughy
fac2e279d4 Bugfix:tables inside the Panel metatable were shared between panels as references and not as copies 2020-07-27 01:54:50 +02:00
Marco
497d5e3788 DOCS updated 2020-06-26 18:02:27 +02:00
Zughy
c328d0c556 README updated 2020-06-08 11:51:47 +00:00
Zughy
dc8de9e4cf DOCS: "about" updated 2020-06-08 11:50:40 +00:00
Marco
c7e2c5dd14 Massive refactoring 2020-04-23 14:54:16 +02:00
Marco
30cec02a97 Update DOCS.md 2020-04-23 10:42:28 +00:00
Marco
cfc9cd07af Update DOCS.md 2020-04-23 10:41:55 +00:00
Marco
0670967753 Add LICENSE 2020-04-23 10:36:04 +00:00
Marco
d2b7e4c3a8 Update scoreboard.example 2020-04-23 10:32:48 +00:00
Marco
94b92eae2a Update README.md 2020-04-23 10:29:31 +00:00