Lucio Andrés Illanes Albornoz
92124dc34f
MiRCARTCanvas.py:resize(): clean up & fix.
...
MiRCARTCanvasInterface.py:_updateCanvasSize(): merged into ...Canvas.resize().
MiRCARTCanvasInterface.py:canvas{De,In}crCanvas{Height,Width}(): directly call ...Canvas.resize().
2018-01-25 15:02:09 +01:00
Lucio Andrés Illanes Albornoz
802de6fa6e
MiRCART{CanvasInterface,Frame}.py: complete set of {brush,canvas} size operations.
...
assets/tool{De,In}cr{Brush,Canvas}{H{,W},W}.png: added/updated.
2018-01-11 23:26:36 +01:00
Lucio Andrés Illanes Albornoz
a33ff6b5df
MiRCART{CanvasInterface,{,General}Frame}.py: add & sync {tools,colour selection} toolbar items as radio tools.
2018-01-11 02:34:32 +01:00
Lucio Andrés Illanes Albornoz
44490912b2
MiRCARTCanvasInterface.py:_updateCanvasSize(): hide cursor before resizing.
2018-01-11 01:59:43 +01:00
Lucio Andrés Illanes Albornoz
bb243c7556
MiRCARTCanvasInterface.py:_updateCanvasSize(): reimplement (fixes <Alt> [WASD] bugs.)
2018-01-11 01:52:53 +01:00
Lucio Andrés Illanes Albornoz
cf04a12690
MiRCARTCanvasInterface.py: prompt to save changes on exit given non-None canvasPathName.
2018-01-11 01:12:55 +01:00
Lucio Andrés Illanes Albornoz
ebdf7f410b
MiRCARTCanvasInterface.py: sync menu item state when selecting tool.
2018-01-11 00:59:07 +01:00
Lucio Andrés Illanes Albornoz
d26a322612
MiRCART{CanvasInterface,Frame}.py: adds (flood) fill tool.
...
MiRCARTToolFill.py: initial implementation.
assets/toolFill.png: added.
2018-01-11 00:27:50 +01:00
Lucio Andrés Illanes Albornoz
33df272b39
MiRCARTCanvas.py:MiRCARTCanvas.resize(): call SetSize() w/o changing position.
...
MiRCARTCanvas.py:MiRCARTCanvas.resize(): call SetMinSize() in addition to SetSize().
MiRCARTCanvas.py:MiRCARTCanvas.resize(): call Layout() on canvas panel window and its parents.
MiRCARTCanvasInterface.py: always call SetCursor() w/ self.parentCanvas.
MiRCARTFrame.py: moves colour toolbar items to separate toolbar.
MiRCARTFrame.py:MiRCARTFrame.__init__(): add canvas panel to and initialise sizer.
MiRCARTGeneralFrame.py: adds support for multiple toolbars via vertical box sizer.
2018-01-10 22:06:48 +01:00
Lucio Andrés Illanes Albornoz
ad761d658e
MiRCART{CanvasInterface,Frame}.py: adds clone & move (selection) tools.
...
MiRCARTTool{Clone,Move}Select.py: initial implementation.
assets/tool{Clone,Move}.png: added.
MiRCART.png: updated.
2018-01-10 18:29:16 +01:00
Lucio Andrés Illanes Albornoz
c9d6b90e68
MiRCART{anvas{,ImportStore,Interface},Frame}.py: pass & initialise from default canvas position, size, and cell size.
2018-01-10 15:04:59 +01:00
Lucio Andrés Illanes Albornoz
2254a0638b
MiRCART{Canvas{,Interface},Frame}.py: use dict() to cache canvas state in Frame.
2018-01-10 14:51:25 +01:00
Lucio Andrés Illanes Albornoz
402e542137
MiRCART{CanvasInterface,Frame,Tool*}.py: include current tool name in status bar text.
2018-01-10 05:05:59 +01:00
Lucio Andrés Illanes Albornoz
a320c904fe
MiRCART{Canvas{,Interface},Frame}.py: remove undo level & show brush size in status bar.
2018-01-10 05:00:52 +01:00
Lucio Andrés Illanes Albornoz
f9f910160f
MiRCART{Canvas{,Interface},Frame}.py: merge on{StatusBar,Undo}Update() into onCanvasUpdate().
...
MiRCARTCanvas{Frame,Interface}.py: adds canvas{De,In}crCanvas{Height,Width}() & CID_*.
MiRCARTCanvasFrame.py:onCanvasUpdate(): updated.
2018-01-10 04:23:54 +01:00
Lucio Andrés Illanes Albornoz
3e03126006
MiRCARTCanvasInterface.py: split from MiRCARTCanvas.py.
...
MiRCART{Canvas,{,General}Frame}.py: updated.
2018-01-10 03:24:25 +01:00