John McCardle john
  • Site admin.

  • Joined on 2020-09-17
john commented on issue john/McRogueFace#38 2025-07-11 18:23:20 +00:00
optional "children" arg on __init__ for frame
>>> f2 = mcrfpy.Frame(pos=(20, 30))
>>> f3 = mcrfpy.Frame(pos=(40,50))
>>> f = mcrfpy.Frame(pos=(60,70), children=[f2, f3])
>>> f.children
<UICollection (2 objects: 2 Frames)>
john commented on issue john/McRogueFace#28 2025-07-11 17:49:26 +00:00
UICollectionIter - enable looping over scene ui / children objects
>>> ui = mcrfpy.sceneUI("uitest")
>>> ui
<UICollection (3 objects: 1 Frame, 1 Caption, 1 Grid)>
>>> for c in ui:
...   print(c)
... 
<Frame (x=100, y=150, w=400, w=400, outline=0,…
john closed issue john/McRogueFace#28 2025-07-11 17:49:26 +00:00
UICollectionIter - enable looping over scene ui / children objects
john commented on issue john/McRogueFace#26 2025-07-11 17:23:25 +00:00
UIEntityCollectionIter - enable looping over Grid.entities
>>> g = mcrfpy.Grid(pos=(10,10), size=(100,100), grid_size=(20,20))
>>> g
<Grid (x=10, y=10, w=100, h=100, center=(160, 160), zoom=1)>
>>> g.grid_size
(20, 20)
>>> g.entities
<UICollecti…
john closed issue john/McRogueFace#26 2025-07-11 17:23:25 +00:00
UIEntityCollectionIter - enable looping over Grid.entities
john commented on issue john/McRogueFace#21 2025-07-11 16:38:50 +00:00
UIGrid Dealloc

closing with d11f76ac43012768d5291529d3b18ecd065ab5c2 - the original issue is not clear enough to replicate now

john closed issue john/McRogueFace#21 2025-07-11 16:38:50 +00:00
UIGrid Dealloc
john closed issue john/McRogueFace#42 2025-07-11 16:17:13 +00:00
optional "click" arg on UIDrawable __init__ for callback
john commented on issue john/McRogueFace#42 2025-07-11 16:17:13 +00:00
optional "click" arg on UIDrawable __init__ for callback

moved to base class as of 98fc49a978ec792ee6096f40fd4e19841b8ec6a3

john closed issue john/McRogueFace#17 2025-07-11 16:00:30 +00:00
UISprite: cleanup properties
john commented on issue john/McRogueFace#17 2025-07-11 16:00:30 +00:00
UISprite: cleanup properties

going to close in association with d11f76ac43012768d5291529d3b18ecd065ab5c2

UIDrawables now share a position property in the base class, not sure if this REALLY fixes this, but we'll circle…

john commented on issue john/McRogueFace#40 2025-07-11 15:44:52 +00:00
UIDrawable overwriting - search and replace by name

implemented in d11f76ac43012768d5291529d3b18ecd065ab5c2 - needs tests

john commented on issue john/McRogueFace#41 2025-07-11 15:44:49 +00:00
Use UIDrawable names as tags / .find on a collection

implemented in d11f76ac43012768d5291529d3b18ecd065ab5c2 - needs tests

john closed issue john/McRogueFace#105 2025-07-11 15:43:20 +00:00
Scene transitions
john commented on issue john/McRogueFace#105 2025-07-11 15:43:20 +00:00
Scene transitions

closed by d11f76ac43012768d5291529d3b18ecd065ab5c2

Really not thoroughly tested enough, but I'll open bugs about what specifically doesn't work...!

john commented on issue john/McRogueFace#61 2025-07-11 15:42:31 +00:00
Scene Object

closed by d11f76ac43012768d5291529d3b18ecd065ab5c2

john closed issue john/McRogueFace#61 2025-07-11 15:42:31 +00:00
Scene Object
john closed issue john/McRogueFace#39 2025-07-11 15:41:48 +00:00
"name" field on UIDrawables
john commented on issue john/McRogueFace#39 2025-07-11 15:41:48 +00:00
"name" field on UIDrawables

closed by d11f76ac43012768d5291529d3b18ecd065ab5c2

john closed issue john/McRogueFace#34 2025-07-11 15:41:45 +00:00
Window object