From 9da3cbf440179599bf7b515437755ff1b8cec70c Mon Sep 17 00:00:00 2001 From: osquallo Date: Wed, 1 Aug 2018 15:40:37 +0200 Subject: [PATCH] WIP: encapsulation des fenetre dans un addon. --- addons/ui_window/icon.png | Bin 0 -> 620 bytes addons/ui_window/plugin.cfg | 7 + addons/ui_window/ui_window.gd | 326 +++++++++++++++++++++++++++ addons/ui_window/ui_window_plugin.gd | 12 + project.godot | 2 +- scenes/GUI/HUD/HUD.tscn | 70 ++++-- scenes/GUI/Settings/Settings.tscn | 3 +- scenes/Main.tscn | 2 +- 8 files changed, 397 insertions(+), 25 deletions(-) create mode 100644 addons/ui_window/icon.png create mode 100644 addons/ui_window/plugin.cfg create mode 100644 addons/ui_window/ui_window.gd create mode 100644 addons/ui_window/ui_window_plugin.gd diff --git a/addons/ui_window/icon.png b/addons/ui_window/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..71d2090f021a8e4f8da96a9f567ca6146bea9696 GIT binary patch literal 620 zcmV-y0+aoTP)$1B+f~{a zVVa20M~7~>_T=!YDs2)`})hiDVD`!$ls=fBaR$-@%D;Zl&%@6Smng9AbLhB(wd`2I^5gty>x)Av6PeE;(hs_)^2hCSdw-99Yz0T1sBv<8$E@5XEx@CWK@e3C{Xceu2 zRQUh^010qNS#tmY3labT3lag+-G2N4005*(L_t(o3GG%v4uBvGL*obhn>XL*&A<5s zJvCV{ZXFPbabA`Pv|YCmQi|{I4h)t7+p(Y49&LS{7nNhw4!^NBu_RU|IS%U_EdT@- zuvh4JN&p9BhHyjv!#*~4cOV3W1L1)CCY1ACGylM$1>n-b!B(+*541`oaEcvJpGy+e z+l1_dPy)Q<5YC7&1(cGrBD#-Z2)Ok?ZOu{pr