Lucio Andrés Illanes Albornoz
7226639977
Replace RMB w/ LMB outside of region as end selection UI.
...
libtools/ToolObject.py: cleanup.
assets/text/TODO: updated.
2019-09-15 11:55:59 +02:00
Lucio Andrés Illanes Albornoz
e2f413e4ba
Implements merged object tool & flip operators.
...
assets/images/toolObject.png: added.
liboperators/Operator{,Flip{Horizontal,Vertical}}.py: initial implementation.
libroar/RoarCanvasCommands.py: adds RoarCanvasCommandsOperators.
libroar/RoarCanvasCommandsOperators.py: initial implementation.
libroar/Roar{CanvasCommands{,Tools},Client}.py: replaces ToolSelect{Clone,Move} w/ ToolObject.
libroar/RoarCanvasWindow.py:RoarCanvasWindowDropTarget.OnDropText(): update ToolObject() invocation.
libroar/RoarCanvasWindow.py:{applyTool,onMouseInput}(): pass keyModifiers to Tool.onMouseEvent().
libroar/RoarCanvasWindow.py:applyTool(): only switch back to lastTool if current object tool contains an external object.
libroar/RoarCanvasWindow.py:onLeaveWindow(): disable hiding cursor for now.
libtools/Tool{,Circle,Fill,Line,Rect,Text}.py:onMouseEvent(): update type signature.
libtools/Tool{Object,Select{,Clone,Move}}.py: merged into libtools/ToolObject.py.
roar.py: add liboperators to sys.path[].
assets/text/TODO: updated.
2019-09-15 11:06:25 +02:00
Lucio Andrés Illanes Albornoz
25c9e88484
libgui/GuiCanvasWxBackend.py:resize(): set font size from cellSize[0] + 1 vs. hard-wired 8.
...
libroar/RoarCanvasWindow.py:{onMouseWheel,__init__}(): {de,in}crease cell size w/ <Ctrl> <Mouse Wheel>.
assets/text/TODO: updated.
2019-09-14 15:44:17 +02:00
Lucio Andrés Illanes Albornoz
bdc8bcd494
Implements recently used {directory,files} in {assets,application} windows & file dialogues.
...
libgui/GuiFrame.py:GuiSubMenuDecorator(): added.
libgui/GuiFrame.py:loadMenus(): process submenu menu items.
libroar/RoarCanvasCommandsFile.py:{_{load,push}Recent,canvasOpenRecent}(): initial implementation.
libroar/RoarCanvasCommandsFile.py:_import{,File}(): return pathname along w/ rc.
libroar/RoarCanvasCommandsFile.py:canvas{Open,SaveAs}(): call _pushRecent() post-{open,save}.
libroar/RoarCanvasCommandsFile.py:__init__(): updated.
librtl/RtlPlatform.py: added.
librtl/RtlPlatform.py:getLocalConfPathName(): initial implementation.
roar.py: manually call _loadRecent() & _pushRecent() post-import.
assets/text/TODO: updated.
2019-09-14 15:16:57 +02:00
Lucio Andrés Illanes Albornoz
2c8fa89eda
libgui/GuiCanvasWxBackend.py:{resize,__init__}(): restrict external font loading to Windows (via sym.)
...
assets/text/TODO: updated.
2019-09-13 10:03:39 +02:00
Lucio Andrés Illanes Albornoz
31b45d1076
libcanvas/CanvasJournal.py:end(): purge patchesUndo if at patchesUndoLevel > 0.
...
assets/text/TODO: updated.
2019-09-12 16:39:17 +02:00
Lucio Andrés Illanes Albornoz
6e05238efa
libcanvas/CanvasJournal.py:{begin,end,updateCurrentDeltas}(): {insert,delete,append} at patchesUndoLevel.
...
libgui/GuiWindow.py:{onEnterWindow,__init__}(): bind wx.EVT_ENTER_WINDOW.
libroar/RoarCanvasWindow.py:applyTool(): only call tool.onMouseEvent() if mouse has moved to another cell since the last dirtying call & update lastDirtyCell.
libroar/RoarCanvasWindow.py:{onEnterWindow,onLeaveWindow,__init__}(): reset lastDirtyCell.
libroar/RoarCanvasWindow.py:__init__():
assets/text/TODO: updated.
2019-09-12 16:24:53 +02:00
Lucio Andrés Illanes Albornoz
b6c063c5d3
Initial implementation of assets window & external object tool.
...
libgui/GuiFrame.py:GuiMiniFrame(): added as sub-class of wx.MiniFrame().
libgui/GuiWindow.py:RoarCanvasWindowDropTarget(): initial implementation.
libgui/GuiWindow.py:__init__(): receive & pass optional style parameter.
libgui/GuiWindow.py:__init__(): set drop target.
libroar/RoarAssetsWindow.py: initial implementation.
libroar/RoarClient.py:__init__(): add RoarAssetsWindow().
libtools/ToolObject.py: initial implementation.
assets/text/TODO: updated.
2019-09-12 12:49:53 +02:00
Lucio Andrés Illanes Albornoz
99e746f090
libgui/GuiCanvasWxBackend.py:_drawCharPatch(): fix underscore rendering.
...
libgui/GuiCanvasWxBackend.py:_get{Brush,Char}PatchColours(): fix {back,fore}ground colour {brush{,es},pen}.
assets/text/TODO: updated.
2019-09-12 11:26:17 +02:00
Lucio Andrés Illanes Albornoz
6109e9b38c
libgui/GuiCanvasWxBackend.py:GuiBufferedDC(): implement double-buffered wx.MemoryDC() honouring view{Rect,Size}.
...
libgui/GuiCanvasWxBackend.py:{getDeviceContext,onPaint}(): use GuiBufferedDC() if viewRect > (0, 0).
libroar/RoarCanvas{CommandsTools,Window}.py: updated.
assets/text/TODO: updated.
2019-09-11 09:39:36 +02:00
Lucio Andrés Illanes Albornoz
968e7d45c5
assets/images/logo[12].bmp: updated.
...
libroar/RoarWindowAbout.py: switch to wx.FlexGridSizer().
assets/text/TODO: updated.
2019-09-10 18:43:08 +02:00
Lucio Andrés Illanes Albornoz
c1ce141700
libcanvas/CanvasJournal.py:begin(): don't reset patchesUndo{[],Level}.
...
assets/text/TODO: updated.
2019-09-09 19:59:57 +02:00
Lucio Andrés Illanes Albornoz
5f00b60cdd
assets/text/TODO: updated.
2019-09-09 19:43:07 +02:00
Lucio Andrés Illanes Albornoz
c2f8fb272e
assets/text/TODO: updated.
2019-09-09 18:47:39 +02:00
Lucio Andrés Illanes Albornoz
88d69cb31e
Initial canvas panel scrollbar implementation.
...
assets/text/TODO: updated.
libgui/GuiCanvasPanel.py:__init__(): provide self.winSize & call SetScrollRate().
libgui/GuiCanvasPanel.py:{_drawPatch,dispatch{DeltaPatches,Patch},onPanel{Input,LeaveWindow},resize,update}(): receive and/or pass viewRect.
libgui/GuiCanvasPanel.py:onPanelPaint(): updated.
libgui/GuiCanvasPanel.py:resize(): call SetVirtualSize().
libgui/GuiCanvasWxBackend.py:_{draw{Brush,Char}Patch,_get{Brush,Char}PatchColours,xlatePoint}(): updated.
libgui/GuiCanvasWxBackend.py:{draw{CursorMaskWithJournal,Patch},getDeviceContext,xlateEventPoint}(): receive and/or pass viewRect.
libgui/GuiCanvasWxBackend.py:getDeviceContext(): return ClientDC() if viewRect > (0, 0)
libgui/GuiCanvasWxBackend.py:onPanelPaintEvent(): blit subset of canvasBitmap into BufferedPaintDC() if viewRect > (0, 0).
libtools/Tool{,Circle,Fill,Line,Rect,Select{,Clone,Move},Text}.py: receive & pass viewRect to dispatchFn().
2019-09-09 12:30:25 +02:00
Lucio Andrés Illanes Albornoz
e54429e29e
libgui/GuiCanvasInterface.py: soft-fail importing ImgurApiKey.
...
assets/text/TODO: updated.
2019-09-08 20:05:34 +02:00
Lucio Andrés Illanes Albornoz
ff05b829b8
assets/text/{LICENCE,README.md,TODO}: convert to DOS file format for convenience on Windows.
2019-09-08 19:14:24 +02:00
Lucio Andrés Illanes Albornoz
a628ed6471
Implements transparent colour.
...
libgui/Gui{CanvasInterface,{General,}Frame}.py: refactored.
{libcanvas/CanvasExportStore,libgui/GuiCanvas{Interface,WxBackend}}.py: implements transparent colour.
libgui/GuiCanvasPanel.py: updated.
libtools/ToolText.py: updated.
assets/text/TODO: updated.
2019-09-08 16:57:45 +02:00
Lucio Andrés Illanes Albornoz
8367c166f3
assets/tools/MiRCART{Reduce,ToAnsi}.py: fixed.
...
libcanvas/CanvasExportStore.py: fixed.
assets/text/TODO: updated.
2019-09-07 17:38:28 +02:00
Lucio Andrés Illanes Albornoz
f3140d4b3d
libcanvas/CanvasColours.py, libgui/GuiCanvasColours.py: split from libcanvas/CanvasColours.py.
...
libcanvas/Canvas.py, libgui/GuiCanvasPanel.py: split from libcanvas/Canvas.py.
libcanvas/CanvasImportStore.py:import{Ansi{Buffer,File},SauceFile}(): fixed (via spoke.)
{libgui/Gui{CanvasInterface,Frame},libtools/Tool{Fill,Select,Text},roar}.py: updated.
libgui/GuiCanvasWxBackend.py: merged from libcanvas/CanvasBackend.py.
2019-09-07 10:39:26 +02:00
Lucio Andrés Illanes Albornoz
045b7a24ed
Implements importing from {ANSI,SAUCE} and exporting to ANSI files.
...
assets/tools/{MiRCARTTo{Ansi,PngFile},SAUCETo{Ansi,MiRCART}}.py: reimplemented using Canvas{Ex,Im}portStore.
libcanvas/Canvas.py: minor cleanup.
libcanvas/CanvasExportStore.py:export{Ansi,Png}File(): merged from assets/tools/MiRCARTTo{Ansi,PngFile}.py.
libcanvas/CanvasImportStore.py:import{Ansi,Sauce}File(): merged from assets/tools/SAUCETo{Ansi,MiRCART}.py.
libcanvas/Colours.py:{AnsiBgToMiRCARTColours,AnsiFgToMiRCARTColours,AnsiFgBoldToMiRCARTColours}{}: merged from assets/tools/SAUCEToMiRCART.py.
libcanvas/Colours.py:{ColourMap{Bold,Normal}}[]: merged from assets/tools/MiRCARTToPngFile.py.
libcanvas/Colours.py: minor cleanup.
libgui/GuiCanvasInterface.py:canvas{ExportAsAnsi,Import{Ansi,Sauce}}(): implemented.
libgui/GuiFrame.py: adds CID_{EXPORT_AS_{ANSI,SAUCE},IMPORT_{ANSI,SAUCE}}.
assets/text/TODO: updated.
2019-09-05 16:55:07 +02:00
Lucio Andrés Illanes Albornoz
da8384f3bb
libgui/GuiCanvasInterface.py:canvasExportAsPng(): correctly pass self.parentFrame to wx.FileDialog().
...
libgui/GuiCanvasInterface.py: minor cleanup.
assets/text/TODO: updated.
2019-09-04 16:36:57 +02:00
Lucio Andrés Illanes Albornoz
b9f271297c
Show toolbar tooltips.
...
libgui/GuiGeneralFrame.py:_initToolBars(): pass label to wx.ToolBar.Add{,Radio}Tool().
libgui/GuiGeneralFrame.py: minor cleanup.
assets/text/TODO: updated.
2019-09-04 16:09:46 +02:00
Lucio Andrés Illanes Albornoz
e3d23200b3
Implements {un,re}doing resizing.
...
libcanvas/Canvas.py:_dispatchDeltaPatches(): handle `resize' delta patches.
libcanvas/Canvas.py:_dispatchPatch(): only commit to journal given commitUndo.
libcanvas/Canvas.py:resize(): commit `resize' & {deleted,added} cell deltas to journal.
libcanvas/Canvas.py: minor cleanup.
libcanvas/Canvas{Backend,{Export,Import}Store,Journal}.py: minor cleanup.
assets/text/arab-puke.txt: added from mircart/pack2/.
assets/text/TODO: updated.
2019-09-04 15:52:54 +02:00
Lucio Andrés Illanes Albornoz
e407ab2d81
Implements {ex,im}port {to,from} clipboard.
...
libcanvas/CanvasExportStore.py:exportTextBuffer(): cloned from exportTextFile().
libcanvas/CanvasExportStore.py:exportTextFile(): correctly fetch cell colours & text.
libcanvas/CanvasImportStore.py:importTextFile{,Buffer}(): split from importTextFile().
libcanvas/CanvasImportStore.py: minor cleanup.
libgui/GuiCanvasInterface.py:canvas{ExportTo,ImportFrom}Clipboard(): implemented.
libgui/GuiFrame.py: adds CID_{EX,IM}PORT_CLIPB.
libgui/GuiFrame.py: minor cleanup.
libgui/GuiGeneralFrame.py: minor cleanup.
assets/text/TODO: updated.
2019-09-04 12:50:21 +02:00
Lucio Andrés Illanes Albornoz
84126f5d4e
libgui/GuiCanvasInterface.py: merged from libcanvas/CanvasInterface.py.
...
libgui/GuiCanvasInterfaceAbout.py: split from libgui/GuiCanvasInterface.py.
libcanvas/Canvas.py, libgui/GuiFrame.py: updated.
assets/text/TODO: updated.
2019-09-04 11:47:09 +02:00
Lucio Andrés Illanes Albornoz
e03cf65028
assets/tools/SAUCEToMiRCART.py: added (for spoke.)
...
assets/text/TODO: updated.
2019-09-04 11:03:53 +02:00
Lucio Andrés Illanes Albornoz
74da2e43c9
ROAR!
2019-09-03 18:58:50 +02:00
Lucio Andrés Illanes Albornoz
f0cc23fcaa
assets/text/TODO: merged from roar/.
2019-09-03 15:49:53 +02:00
Lucio Andrés Illanes Albornoz
cf2c5a7042
Replaces & merges MiRCART-{nw,python,www} w/ original MiRCART as of Thu Jul 5 2018.
2019-09-01 16:34:00 +02:00
Lucio Andrés Illanes Albornoz
7d80e5331f
MiRCART-python/IrcMiRCARTBot.py: updated.
...
assets/text/TODO: updated.
2019-02-06 19:10:35 +01:00
Lucio Andrés Illanes Albornoz
8f65e1723e
Bump to v1.0.9.
2018-11-26 10:55:55 +01:00
Lucio Andrés Illanes Albornoz
2d4d14266e
Renames asciiblaster{,*} to MiRCART.
2018-11-26 10:45:12 +01:00
Lucio Andrés Illanes Albornoz
a39c103065
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
b031c994b5
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
61c40b59c3
assets/{css,html}/*, index.html: clean up & correct {CSS,HTML}, pt. XII.
...
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
f35850051c
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
fad1dab3c6
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
ad87bc8b2f
assets/{css,js,html}/*, index.html: clean up & correct {CSS,HTML}.
...
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
0ad72d7fb0
assets/css/{ak.css,html/help.html}, index.html: clean up & correct {CSS,HTML}.
...
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
f012c628f2
assets/html/help.html:Tips on using the keyboard: updated.
...
assets/html/help.html:Notate bene: added.
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
1d224b2bb4
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
85cad2879a
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
0f2a234ec4
assets/js/{app,ui/{canvas,controls,tool,util}}.js: remove is_{android,desktop,i{pad,phone},mobile}.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
9bacadcb70
assets/*, index.html: removes shader feature due to lack of interest on #MiRCart & maintenance cost.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
d7e7519592
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
233abaedef
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
9d4f1bf30a
assets/text/TODO: updated.
2018-11-26 10:23:26 +01:00
Lucio Andrés Illanes Albornoz
b853878b4b
Refactor & clean up repository tree.
2018-11-26 10:23:26 +01:00