easycoder 250819.3__py2.py3-none-any.whl → 250820.1__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
@@ -11,4 +11,4 @@ from .ec_pyside import *
11
11
  from .ec_timestamp import *
12
12
  from .ec_value import *
13
13
 
14
- __version__ = "250819.3"
14
+ __version__ = "250820.1"
easycoder/ec_pyside.py CHANGED
@@ -515,9 +515,13 @@ class Graphics(Handler):
515
515
  h = self.getRuntimeValue(command['h'])
516
516
  x = command['x']
517
517
  y = command['y']
518
- if x == None: x = (self.program.screenWidth - w) / 2
518
+ if hasattr(self.program, 'screenWidth'): screenWidth = self.program.screenWidth
519
+ else: screenWidth = self.program.parent.program.screenWidth
520
+ if hasattr(self.program, 'screenHeight'): screenHeight = self.program.screenHeight
521
+ else: screenHeight = self.program.parent.program.screenHeight
522
+ if x == None: x = (screenWidth - w) / 2
519
523
  else: x = self.getRuntimeValue(x)
520
- if y == None: y = (self.program.screenHeight - h) / 2
524
+ if y == None: y = (screenHeight - h) / 2
521
525
  else: y = self.getRuntimeValue(x)
522
526
  window.setGeometry(x, y, w, h)
523
527
  record['window'] = window
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: easycoder
3
- Version: 250819.3
3
+ Version: 250820.1
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,4 +1,4 @@
1
- easycoder/__init__.py,sha256=3PP0GRPj_6vbxzk9YrOU8PM3QOsVVTv9obTpoBmVM4k,314
1
+ easycoder/__init__.py,sha256=Fx-I8dMel2dMlYrWHwPOTxrdhFDKZKqLusqRVcva62E,314
2
2
  easycoder/close.png,sha256=3B9ueRNtEu9E4QNmZhdyC4VL6uqKvGmdfeFxIV9aO_Y,9847
3
3
  easycoder/ec_classes.py,sha256=PWPaJuTfaWD4-tgT-2WWOgeFV_jXxlxyKCxvXyylCUU,1824
4
4
  easycoder/ec_compiler.py,sha256=-uuXDbfgFBGXSrr7EneDnnneFOFsU-UuCIpNHsCqY0s,5289
@@ -7,12 +7,12 @@ easycoder/ec_core.py,sha256=r0bFQV3LXCCh4CP6289h6UvK6gpq4L0BQDrEWkeVo_0,98040
7
7
  easycoder/ec_handler.py,sha256=ohf3xUuWw_Qb5SZnulGtDhvCb11kvWtYfgbQTiOXpIY,2261
8
8
  easycoder/ec_keyboard.py,sha256=rXddjgx7N1wQrBMypZ4o0B79atdR-jHZq0_c5ZaMZcU,20765
9
9
  easycoder/ec_program.py,sha256=7h2QKGunsiu5l2OKn-sw-Dd70kZJrb4b2idHubeSXDs,9989
10
- easycoder/ec_pyside.py,sha256=y_M1NxezVTZznzrtpUu3_qfdHL1oEoRNr22wGvDixAM,50596
10
+ easycoder/ec_pyside.py,sha256=XLDr21RIFBvzqQOR2s2DmQSSRbmIg6KmoPgT_w9QW2g,50887
11
11
  easycoder/ec_timestamp.py,sha256=myQnnF-mT31_1dpQKv2VEAu4BCcbypvMdzq7_DUi1xc,277
12
12
  easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
13
13
  easycoder/tick.png,sha256=OedASXJJTYvnza4J6Kv5m5lz6DrBfy667zX_WGgtbmM,9127
14
- easycoder-250819.3.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
15
- easycoder-250819.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
- easycoder-250819.3.dist-info/WHEEL,sha256=Dyt6SBfaasWElUrURkknVFAZDHSTwxg3PaTza7RSbkY,100
17
- easycoder-250819.3.dist-info/METADATA,sha256=DXn6uF5_tKTIeX1k7Tvl5GIbkFWO4ReqX01oDDPmFm8,6897
18
- easycoder-250819.3.dist-info/RECORD,,
14
+ easycoder-250820.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
15
+ easycoder-250820.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
+ easycoder-250820.1.dist-info/WHEEL,sha256=Dyt6SBfaasWElUrURkknVFAZDHSTwxg3PaTza7RSbkY,100
17
+ easycoder-250820.1.dist-info/METADATA,sha256=KUWhbEG06-6MaAZKy3mTyv5UhkCvwjNZV_VXlF6H2Wg,6897
18
+ easycoder-250820.1.dist-info/RECORD,,