diff --git a/wobbl_tools/pygame_tools/pgui/__init__.py b/wobbl_tools/pygame_tools/pgui/__init__.py new file mode 100644 index 0000000..a93a4bf --- /dev/null +++ b/wobbl_tools/pygame_tools/pgui/__init__.py @@ -0,0 +1 @@ +#!/usr/bin/python3 diff --git a/wobbl_tools/pygame_tools/pgui/widgets/__init__.py b/wobbl_tools/pygame_tools/pgui/widgets/__init__.py new file mode 100644 index 0000000..ecf7241 --- /dev/null +++ b/wobbl_tools/pygame_tools/pgui/widgets/__init__.py @@ -0,0 +1,2 @@ +#!/usr/bin/python3 + diff --git a/wobbl_tools/pygame_tools/widgets/button.py b/wobbl_tools/pygame_tools/pgui/widgets/button.py similarity index 92% rename from wobbl_tools/pygame_tools/widgets/button.py rename to wobbl_tools/pygame_tools/pgui/widgets/button.py index fff8bf8..dbd071b 100644 --- a/wobbl_tools/pygame_tools/widgets/button.py +++ b/wobbl_tools/pygame_tools/pgui/widgets/button.py @@ -1,7 +1,7 @@ #!/usr/bin/python3 from wobbl_tools.pygame_tools.utils import * -from wobbl_tools.pygame_tools.widgets import Hover +from wobbl_tools.pygame_tools.pgui.widgets import Hover class Button: diff --git a/wobbl_tools/pygame_tools/widgets/hover.py b/wobbl_tools/pygame_tools/pgui/widgets/hover.py similarity index 100% rename from wobbl_tools/pygame_tools/widgets/hover.py rename to wobbl_tools/pygame_tools/pgui/widgets/hover.py diff --git a/wobbl_tools/pygame_tools/widgets/multiline_text.py b/wobbl_tools/pygame_tools/pgui/widgets/multiline_text.py similarity index 100% rename from wobbl_tools/pygame_tools/widgets/multiline_text.py rename to wobbl_tools/pygame_tools/pgui/widgets/multiline_text.py diff --git a/wobbl_tools/pygame_tools/widgets/text_button.py b/wobbl_tools/pygame_tools/pgui/widgets/text_button.py similarity index 97% rename from wobbl_tools/pygame_tools/widgets/text_button.py rename to wobbl_tools/pygame_tools/pgui/widgets/text_button.py index d1491d5..15f2891 100644 --- a/wobbl_tools/pygame_tools/widgets/text_button.py +++ b/wobbl_tools/pygame_tools/pgui/widgets/text_button.py @@ -1,7 +1,7 @@ #!/usr/bin/python3 from wobbl_tools.pygame_tools.utils import * -from wobbl_tools.pygame_tools.widgets import Button +from wobbl_tools.pygame_tools.pgui.widgets import Button class TextButton(pygame.sprite.Sprite): diff --git a/wobbl_tools/pygame_tools/widgets/text_input.py b/wobbl_tools/pygame_tools/pgui/widgets/text_input.py similarity index 100% rename from wobbl_tools/pygame_tools/widgets/text_input.py rename to wobbl_tools/pygame_tools/pgui/widgets/text_input.py diff --git a/wobbl_tools/pygame_tools/widgets/__init__.py b/wobbl_tools/pygame_tools/widgets/__init__.py deleted file mode 100644 index e778ec5..0000000 --- a/wobbl_tools/pygame_tools/widgets/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/python3 - -from wobbl_tools.pygame_tools.widgets.hover import Hover -from wobbl_tools.pygame_tools.widgets.button import Button -from wobbl_tools.pygame_tools.widgets.text_button import TextButton -from wobbl_tools.pygame_tools.widgets.text_input import TextInput -from wobbl_tools.pygame_tools.widgets.multiline_text import MultilineText