easycoder 250106.7__py2.py3-none-any.whl → 250106.9__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 CHANGED
@@ -10,4 +10,4 @@ from .ec_program import *
10
10
  from .ec_timestamp import *
11
11
  from .ec_value import *
12
12
 
13
- __version__ = "250106.7"
13
+ __version__ = "250106.9"
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
 
@@ -186,6 +191,7 @@ class Graphics(Handler):
186
191
  self.windowSpec = Object()
187
192
  self.windowSpec.title = command['title']['content']
188
193
  self.windowSpec.fullscreen = command['fullscreen']
194
+ self.windowSpec.borderless = command['borderless']
189
195
  self.windowSpec.flush = flush
190
196
  self.windowSpec.kill = self.program.kill
191
197
  self.windowSpec.pos = (self.getRuntimeValue(command['pos'][0]), self.getRuntimeValue(command['pos'][1]))
easycoder/ec_renderer.py CHANGED
@@ -244,6 +244,8 @@ class Renderer(App):
244
244
  Window.on_request_close=self.request_close
245
245
  if spec.fullscreen:
246
246
  Window.fullscreen = True
247
+ elif spec.borderless:
248
+ Window.borderless = True
247
249
  else:
248
250
  Window.size = spec.size
249
251
  Window.left = spec.pos[0]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: easycoder
3
- Version: 250106.7
3
+ Version: 250106.9
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=GwnBxV39jJJvZ58w2Sz4OUvtRp5CjfL_XKU6wZC8_iE,283
2
+ easycoder/__init__.py,sha256=GCGQuAfaheM0QbiGS6fSG1jQF19_tQnHNCAEL6ApitU,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=PBElPXOEtZYLDtpfBbk72TgJepT_Tof6oS5-H87-4GA,17132
8
+ easycoder/ec_graphics.py,sha256=E0WhVZ6p-vvl3Zj42P6qTGyua60sTZ6JXU8MLZKrcQs,17396
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=ht_fdC6Yt5PKhTVim_2zg1cCQTHeS1OKzQSRYgL1cT4,8054
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.7.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
16
- easycoder-250106.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
17
- easycoder-250106.7.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
18
- easycoder-250106.7.dist-info/METADATA,sha256=G4JFiJxanaBobMCTjtZcWqXXqCVKDf6XL7viND8UeWw,5817
19
- easycoder-250106.7.dist-info/RECORD,,
15
+ easycoder-250106.9.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
16
+ easycoder-250106.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
17
+ easycoder-250106.9.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
18
+ easycoder-250106.9.dist-info/METADATA,sha256=h32uTYzOUiFSOCPm4hcARgzxY5ZEghPFzpHhljdTpX0,5817
19
+ easycoder-250106.9.dist-info/RECORD,,