splashscreen-engine 2.0.0__tar.gz → 2.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: splashscreen-engine
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: A module for making Splash Screens with videos, images, loading bars, text rendering, and threaded rendering support for Applications.
5
5
  Home-page: https://github.com/NamanChhabra21/splashscreen-engine
6
6
  Author: Naman Chhabra
@@ -8,7 +8,7 @@ License: MIT
8
8
  Project-URL: Source, https://github.com/NamanChhabra21/splashscreen-engine
9
9
  Project-URL: Issues, https://github.com/NamanChhabra21/splashscreen-engine/issues
10
10
  Project-URL: Discussions, https://github.com/NamanChhabra21/splashscreen-engine/discussions
11
- Keywords: pygame,splash-screen,loading-screen,python,gui,video,splashscreen,pygame-gui,window,animation,loading,open-cv,naman,chhabra,splash,pypi,github,screen,how to,module,api,example,documentation,README,tkinter,customtkinter,opencv-python,code,2.0.0,player,tutorial
11
+ Keywords: pygame,splash-screen,loading-screen,python,gui,video,splashscreen,pygame-gui,window,animation,loading,open-cv,naman,chhabra,splash,pypi,github,screen,how to,module,api,example,documentation,README,tkinter,customtkinter,opencv-python,code,2.0.1,player,tutorial
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Operating System :: OS Independent
@@ -59,7 +59,7 @@ pip install splashscreen-engine
59
59
  ```
60
60
  OR
61
61
  ```bash
62
- pip install splashscreen-engine==2.0.0
62
+ pip install splashscreen-engine==2.0.1
63
63
  ```
64
64
 
65
65
  ## Example
@@ -25,7 +25,7 @@ pip install splashscreen-engine
25
25
  ```
26
26
  OR
27
27
  ```bash
28
- pip install splashscreen-engine==2.0.0
28
+ pip install splashscreen-engine==2.0.1
29
29
  ```
30
30
 
31
31
  ## Example
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as f:
6
6
  setup(
7
7
  name="splashscreen-engine",
8
8
 
9
- version="2.0.0",
9
+ version="2.0.1",
10
10
 
11
11
  py_modules=["splashscreen_engine"],
12
12
 
@@ -63,7 +63,7 @@ setup(
63
63
  "customtkinter",
64
64
  "opencv-python",
65
65
  "code",
66
- "2.0.0",
66
+ "2.0.1",
67
67
  "player",
68
68
  "tutorial"
69
69
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: splashscreen-engine
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: A module for making Splash Screens with videos, images, loading bars, text rendering, and threaded rendering support for Applications.
5
5
  Home-page: https://github.com/NamanChhabra21/splashscreen-engine
6
6
  Author: Naman Chhabra
@@ -8,7 +8,7 @@ License: MIT
8
8
  Project-URL: Source, https://github.com/NamanChhabra21/splashscreen-engine
9
9
  Project-URL: Issues, https://github.com/NamanChhabra21/splashscreen-engine/issues
10
10
  Project-URL: Discussions, https://github.com/NamanChhabra21/splashscreen-engine/discussions
11
- Keywords: pygame,splash-screen,loading-screen,python,gui,video,splashscreen,pygame-gui,window,animation,loading,open-cv,naman,chhabra,splash,pypi,github,screen,how to,module,api,example,documentation,README,tkinter,customtkinter,opencv-python,code,2.0.0,player,tutorial
11
+ Keywords: pygame,splash-screen,loading-screen,python,gui,video,splashscreen,pygame-gui,window,animation,loading,open-cv,naman,chhabra,splash,pypi,github,screen,how to,module,api,example,documentation,README,tkinter,customtkinter,opencv-python,code,2.0.1,player,tutorial
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Operating System :: OS Independent
@@ -59,7 +59,7 @@ pip install splashscreen-engine
59
59
  ```
60
60
  OR
61
61
  ```bash
62
- pip install splashscreen-engine==2.0.0
62
+ pip install splashscreen-engine==2.0.1
63
63
  ```
64
64
 
65
65
  ## Example
@@ -10,7 +10,7 @@ os.environ['SDL_VIDEO_CENTERED'] = s
10
10
  # Modules
11
11
  import pygame
12
12
  import cv2
13
- pygame.init()
13
+
14
14
 
15
15
  deleted_by_user = False
16
16
  program_stopped = False
@@ -112,6 +112,15 @@ one_time_warning = True # A variable used for printing warning inside the size()
112
112
  class Screen:
113
113
 
114
114
  def __init__(self,title_bar=False):
115
+
116
+ if not pygame.get_init():
117
+ pygame.init()
118
+
119
+ # Reset Quitting values
120
+ global deleted_by_user,program_stopped
121
+ deleted_by_user = False
122
+ program_stopped = False
123
+
115
124
  # Default Height and Width
116
125
  self.height = 500
117
126
  self.width = 750
@@ -159,6 +168,7 @@ class Screen:
159
168
 
160
169
  def start(self):
161
170
 
171
+
162
172
  self.running = True
163
173
 
164
174
  # CREATING SCREEN