Lucio Andrés Illanes Albornoz
19b29d1714
IrcMiRCARTBot.py, MiRCARTCanvasInterface.py: remove Imgur API key from repository (via aaa, alghazi, amomp, anji, arab, astra, astra`, biobag, biobag__, bj0rn, blomp, boomp, bromp, brr, butts, buttvomit, c003y, Caku, chomp, chrono_, cooey, CosbyX, darkmage_, dboard, dehuman, dOm3r, eddb, efukt, ep^, er, era, eraser, erratic, erratic_, gnomp, gromp, interdom3, JEWS, kobach, l1tup, Lions, lul, lulz, lulzee, lulzy, Matthew, MercyX, moomp, mr_vile, muff, munki, n0v, nk9k, ooomp, OVH, pcap, pinchy, plop, pngbot, poccri, poomp, promp, pump-, pumpbull, pyrex, rain, rObOtNiK, rondito, scd, SEEEEN, Shapes, snadge, spidy, spinsane, spoke, spomp, stomp, TACO, tetedupet, toohighto, tromp, twomp, vap0r, vapor, venus, virtuald, vixen, whomp, wreathman, wromp, yoomp, z0z0, zen_, and zoomp.)
2018-05-24 08:52:20 +02:00
Lucio Andrés Illanes Albornoz
b4a71505ff
Reduce memory usage by folding nested patch {coordinate,colour} list(s).
2018-01-30 11:31:28 +01:00
Lucio Andrés Illanes Albornoz
85cbffbadb
Fixes memory leaks on {re,un}do state mutation & resize-related operations.
...
MiRCARTCanvas.py:__del__(): delete canvasMap w/ clear().
MiRCARTCanvasBackend.py:resize(): delete old canvasBitmap w/ Destroy().
MiRCARTCanvasJournal.py:reset{Cursor,Undo}(): delete patches{Cursor,Undo} w/ clear().
MiRCARTCanvasJournal.py:__del__(): provided explicitly to call reset{Cursor,Undo}().
MiRCARTFrame.py:__del__(): provided explicitly to delete panelCanvas.
2018-01-26 17:45:04 +01:00
Lucio Andrés Illanes Albornoz
55b88412c9
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
fe5e453187
MiRCARTCanvas.py:MiRCARTCanvas.onPanelInput(): clip mapPoint to canvasSize.
2018-01-11 02:10:33 +01:00
Lucio Andrés Illanes Albornoz
4ce163d906
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
cd9a81dbf4
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
f20174037c
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
62ff843d03
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
08fcfa3290
MiRCART{Canvas,Frame}.py: include canvas width and height in status bar.
2018-01-10 04:36:39 +01:00
Lucio Andrés Illanes Albornoz
1b00bb3b2f
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
7abd7679d2
MiRCARTCanvasInterface.py: split from MiRCARTCanvas.py.
...
MiRCART{Canvas,{,General}Frame}.py: updated.
2018-01-10 03:24:25 +01:00
Lucio Andrés Illanes Albornoz
36b9a5eb82
MiRCARTCanvas{Export,Import}Store.py: split from MiRCARTCanvasStore.py.
...
IrcMiRCARTBot.py, MiRCART{Canvas,Frame,ToPngFile}.py: updated.
2018-01-10 00:48:13 +01:00
Lucio Andrés Illanes Albornoz
bbec7d1eb1
MiRCARTCanvas{,Journal,Store}.py: dispatch patches from tool event handlers directly.
...
MiRCARTTool{,Circle,Line,Rect,Text}.py: updated to new interface.
2018-01-10 00:35:08 +01:00
Lucio Andrés Illanes Albornoz
d3e67a7c18
MiRCART{Canvas{,Backend},Frame}.py: replace MemoryDC() w/ BufferedDC(canvasBitmap).
2018-01-09 22:23:27 +01:00
Lucio Andrés Illanes Albornoz
674afe9bfa
MiRCARTCanvas.py: enable double buffering to eliminate brush flickering.
2018-01-09 05:07:04 +01:00
Lucio Andrés Illanes Albornoz
cc64e955e9
MiRCART.png: updates screenshot.
...
MiRCARTCanvas.py:onPanelKeyboardInput(): only handle {no,shift}-modifier keyboard events.
MiRCARTFrame.py: fix {de,in}crease canvas size accelerators (hotkeys.)
2018-01-09 04:17:24 +01:00
Lucio Andrés Illanes Albornoz
14a4192442
Initial release w/ circle, line, rectangle, and text tools.
2018-01-09 03:56:40 +01:00
Lucio Andrés Illanes Albornoz
1edb7cc626
MiRCART{Canvas,Frame}.py: adds circle & line tools.
...
MiRCARTTool{Circle,Line}.py: initial implementation.
2018-01-08 17:44:54 +01:00
Lucio Andrés Illanes Albornoz
330d4c78fe
MiRCARTCanvas{,Journal}.py: fix {un,re}do regarding brush sizes >(1,1).
2018-01-08 02:45:03 +01:00
Lucio Andrés Illanes Albornoz
dddce0757b
MiRCARTCanvas.py: disable double buffering.
2018-01-08 01:11:00 +01:00
Lucio Andrés Illanes Albornoz
26937149fb
MiRCART{CanvasJournal,Frame,ToolRect}.py: implements variable brush size.
2018-01-08 00:33:47 +01:00
Lucio Andrés Illanes Albornoz
74e3f41000
Initial release sans tools.
2018-01-08 00:05:03 +01:00
Lucio Andrés Illanes Albornoz
a58781ed7a
MiRCARTCanvasStore.py: split & merge MiRCART{FromTextFile,ToPastebin,ToTextFile}.py.
2018-01-07 15:07:22 +01:00
Lucio Andrés Illanes Albornoz
4abf68e168
MiRCART.py: hand off to MiRCARTFrame().
...
MiRCARTCanvas.py: split from MiRCART.py.
MiRCARTCanvasJournal.py: split from MiRCART.py.
MiRCARTColours.py: split from MiRCART.py.
MiRCARTFrame.py: split from MiRCART.py.
MiRCARTFromTextFile.py: initial implementation.
MiRCARTToPastebin.py: initial implementation.
MiRCARTToPngFile.py, IrcMiRCARTBot.py: renamed MiRC2png to MiRCARTToPngFile.
MiRCARTToTextFile.py: split from MiRCART.py.
MiRCARTTool.py: split from MiRCART.py.
MiRCARTToolRect.py: split from MiRCART.py.
README.md: updated.
2018-01-07 03:45:18 +01:00