easycoder 250109.1__py2.py3-none-any.whl → 250109.2__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of easycoder might be problematic. Click here for more details.
- easycoder/__init__.py +1 -1
- easycoder/ec_graphics.py +5 -15
- {easycoder-250109.1.dist-info → easycoder-250109.2.dist-info}/METADATA +1 -1
- {easycoder-250109.1.dist-info → easycoder-250109.2.dist-info}/RECORD +7 -7
- {easycoder-250109.1.dist-info → easycoder-250109.2.dist-info}/LICENSE +0 -0
- {easycoder-250109.1.dist-info → easycoder-250109.2.dist-info}/WHEEL +0 -0
- {easycoder-250109.1.dist-info → easycoder-250109.2.dist-info}/entry_points.txt +0 -0
easycoder/__init__.py
CHANGED
easycoder/ec_graphics.py
CHANGED
|
@@ -182,7 +182,6 @@ class Graphics(Handler):
|
|
|
182
182
|
command['source'] = source
|
|
183
183
|
|
|
184
184
|
def r_create(self, command):
|
|
185
|
-
|
|
186
185
|
try:
|
|
187
186
|
type = command['type']
|
|
188
187
|
if type == 'window':
|
|
@@ -198,6 +197,11 @@ class Graphics(Handler):
|
|
|
198
197
|
self.windowSpec.size = (self.getRuntimeValue(command['size'][0]), self.getRuntimeValue(command['size'][1]))
|
|
199
198
|
self.windowSpec.fill = (self.getRuntimeValue(command['fill'][0])/255, self.getRuntimeValue(command['fill'][1])/255, self.getRuntimeValue(command['fill'][2])/255)
|
|
200
199
|
self.windowCreated = True
|
|
200
|
+
self.renderer = Renderer()
|
|
201
|
+
self.renderer.init(self.windowSpec)
|
|
202
|
+
self.program.setExternalControl()
|
|
203
|
+
self.program.run(self.nextPC())
|
|
204
|
+
self.renderer.run()
|
|
201
205
|
else:
|
|
202
206
|
element = getUI().createWidget(self.getWidgetSpec(command))
|
|
203
207
|
print(element)
|
|
@@ -361,20 +365,6 @@ class Graphics(Handler):
|
|
|
361
365
|
RuntimeError(self.program, e)
|
|
362
366
|
return self.nextPC()
|
|
363
367
|
|
|
364
|
-
# run graphics
|
|
365
|
-
def k_run(self, command):
|
|
366
|
-
if self.nextIs('graphics'):
|
|
367
|
-
self.add(command)
|
|
368
|
-
return True
|
|
369
|
-
return False
|
|
370
|
-
|
|
371
|
-
def r_run(self, command):
|
|
372
|
-
self.renderer = Renderer()
|
|
373
|
-
self.renderer.init(self.windowSpec)
|
|
374
|
-
self.program.setExternalControl()
|
|
375
|
-
self.program.run(self.nextPC())
|
|
376
|
-
self.renderer.run()
|
|
377
|
-
|
|
378
368
|
# Set something
|
|
379
369
|
def k_set(self, command):
|
|
380
370
|
if self.nextIs('attribute'):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version: 250109.
|
|
3
|
+
Version: 250109.2
|
|
4
4
|
Summary: Rapid scripting in English
|
|
5
5
|
Keywords: compiler,scripting,prototyping,programming,coding,python,low code,hypertalk,computer language,learn to code
|
|
6
6
|
Author-email: Graham Trott <gtanyware@gmail.com>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
easycoder/README.md,sha256=PYqOc_SkIGiFbyCNs90y7JqoqWe4aO1xYIW-6bOnFKU,573
|
|
2
|
-
easycoder/__init__.py,sha256=
|
|
2
|
+
easycoder/__init__.py,sha256=IErx-lbecKTrIN5Hym-iAL4hyckfBU2Dv9jyVVyEjvQ,283
|
|
3
3
|
easycoder/ec.py,sha256=Nj5PRl8GsKjfGJKq0FOM1a7FeK3cN68CoIFg8lswQEg,221
|
|
4
4
|
easycoder/ec_classes.py,sha256=xnWBNak8oKydkFoxHLlq9wo3lIsB3aMnTDrqbtCfoWo,1512
|
|
5
5
|
easycoder/ec_compiler.py,sha256=f3zZRtbNsegBuRHTvTLK8BOdnuRq5p_p-1vtJYb-LiY,4800
|
|
6
6
|
easycoder/ec_condition.py,sha256=WSbONo4zs2sX1icOVpscZDFSCAEFmTsquoc2RGcLx_k,763
|
|
7
7
|
easycoder/ec_core.py,sha256=71rSNOwMrO0Ik1hdgTshOYRo2XVD0Br7gUZfCR7A0OA,86291
|
|
8
|
-
easycoder/ec_graphics.py,sha256=
|
|
8
|
+
easycoder/ec_graphics.py,sha256=uH_8NK8PGoSYl5POgLMgDlwMw5l1ayrPV7CBXn26Fos,18486
|
|
9
9
|
easycoder/ec_handler.py,sha256=IJvxcrJJSR53d6DS_8H5qPHKhp9y5-GV4WXAjhZxu_o,2250
|
|
10
10
|
easycoder/ec_program.py,sha256=u51FxCnarubxwoAfREnqGMHf2YL7zaWnH9Gs8XUWmJ4,9843
|
|
11
11
|
easycoder/ec_renderer.py,sha256=yqLfXjCed1oFyFH0uzN6ffu1hot59vYx7yr1Sv7E_Uo,9225
|
|
12
12
|
easycoder/ec_screenspec.py,sha256=nhWuUJ4Jvew0iKmcfkTY-7EIvAWIwXWwrqub6aW4N3c,2609
|
|
13
13
|
easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
|
|
14
14
|
easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
|
|
15
|
-
easycoder-250109.
|
|
16
|
-
easycoder-250109.
|
|
17
|
-
easycoder-250109.
|
|
18
|
-
easycoder-250109.
|
|
19
|
-
easycoder-250109.
|
|
15
|
+
easycoder-250109.2.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
|
|
16
|
+
easycoder-250109.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
17
|
+
easycoder-250109.2.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
|
18
|
+
easycoder-250109.2.dist-info/METADATA,sha256=UsHVHoqqJvWVgxQfP1kKtUIkSlMXrCSIgs25vy1npbw,5817
|
|
19
|
+
easycoder-250109.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|