easycoder 250106.6__py2.py3-none-any.whl → 250106.8__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 +7 -1
- easycoder/ec_renderer.py +2 -0
- {easycoder-250106.6.dist-info → easycoder-250106.8.dist-info}/METADATA +1 -1
- {easycoder-250106.6.dist-info → easycoder-250106.8.dist-info}/RECORD +8 -8
- {easycoder-250106.6.dist-info → easycoder-250106.8.dist-info}/LICENSE +0 -0
- {easycoder-250106.6.dist-info → easycoder-250106.8.dist-info}/WHEEL +0 -0
- {easycoder-250106.6.dist-info → easycoder-250106.8.dist-info}/entry_points.txt +0 -0
easycoder/__init__.py
CHANGED
easycoder/ec_graphics.py
CHANGED
|
@@ -68,6 +68,7 @@ class Graphics(Handler):
|
|
|
68
68
|
g = self.compileConstant(255)
|
|
69
69
|
b = self.compileConstant(255)
|
|
70
70
|
fullscreen = False
|
|
71
|
+
borderless = False
|
|
71
72
|
while True:
|
|
72
73
|
token = self.peek()
|
|
73
74
|
if token == 'title':
|
|
@@ -76,6 +77,9 @@ class Graphics(Handler):
|
|
|
76
77
|
elif token == 'fullscreen':
|
|
77
78
|
fullscreen = True
|
|
78
79
|
self.nextToken()
|
|
80
|
+
elif token == 'borderless':
|
|
81
|
+
borderless = True
|
|
82
|
+
self.nextToken()
|
|
79
83
|
elif token == 'at':
|
|
80
84
|
self.nextToken()
|
|
81
85
|
left = self.nextValue()
|
|
@@ -98,6 +102,7 @@ class Graphics(Handler):
|
|
|
98
102
|
command['size'] = (width, height)
|
|
99
103
|
command['fill'] = (r, g, b)
|
|
100
104
|
command['fullscreen'] = fullscreen
|
|
105
|
+
command['borderless'] = borderless
|
|
101
106
|
self.add(command)
|
|
102
107
|
return True
|
|
103
108
|
|
|
@@ -363,7 +368,8 @@ class Graphics(Handler):
|
|
|
363
368
|
self.addCommand(command)
|
|
364
369
|
return True
|
|
365
370
|
else:
|
|
366
|
-
|
|
371
|
+
rtype = record['type']
|
|
372
|
+
FatalError(self.program.compiler, f'Invalid type: {rtype}')
|
|
367
373
|
else:
|
|
368
374
|
token = self.getToken()
|
|
369
375
|
FatalError(self.program.compiler, f'{token} is not a variable')
|
easycoder/ec_renderer.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version: 250106.
|
|
3
|
+
Version: 250106.8
|
|
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=1Mh7usygC-W9PR2kyWdsLK4kz7Td2t6vCLCOIzK-zRo,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=HGek3vdJE-DudIHJwDu6W5fEJcIoN-IPp45mscTsVGg,17329
|
|
9
9
|
easycoder/ec_handler.py,sha256=IJvxcrJJSR53d6DS_8H5qPHKhp9y5-GV4WXAjhZxu_o,2250
|
|
10
10
|
easycoder/ec_program.py,sha256=xNhFM6hoRaXx3Nl9Scn9f_qQL5-57WnvNXfwKdHl0rc,9844
|
|
11
|
-
easycoder/ec_renderer.py,sha256=
|
|
11
|
+
easycoder/ec_renderer.py,sha256=z6ZiAkAAjR1hqyiVzcuHNNXCr9EWraJsD7CxUwRk5CE,8121
|
|
12
12
|
easycoder/ec_screenspec.py,sha256=qNqhbP16gAi2cRUD3W0dpb8tTC4-N4mE2l6HtOG0vbc,2405
|
|
13
13
|
easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
|
|
14
14
|
easycoder/ec_value.py,sha256=7yJovn24pPC3jrURSQyEvZ8m826fXiqxsCpSvxwNrfQ,2403
|
|
15
|
-
easycoder-250106.
|
|
16
|
-
easycoder-250106.
|
|
17
|
-
easycoder-250106.
|
|
18
|
-
easycoder-250106.
|
|
19
|
-
easycoder-250106.
|
|
15
|
+
easycoder-250106.8.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
|
|
16
|
+
easycoder-250106.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
17
|
+
easycoder-250106.8.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
|
18
|
+
easycoder-250106.8.dist-info/METADATA,sha256=ykwp4KCeJwq1M9hqTW7cj6Zetfc_XO79X03gd7XvtNE,5817
|
|
19
|
+
easycoder-250106.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|