libroar/RoarCanvasCommands.py:update(): shorten {file,operator,tool} status bar items.

assets/text/TODO: updated.
This commit is contained in:
Lucio Andrés Illanes Albornoz 2019-09-23 18:59:18 +02:00
parent f504fa2b76
commit 6fcac2b3b9
2 changed files with 9 additions and 8 deletions

View File

@ -13,11 +13,12 @@
13) Composition, parametrisation & keying of tools from higher-order operators (brushes, functions, filters, outlines, patterns & shaders) and unit tools
14) Sprites & scripted (Python?) animation on the basis of asset traits and {composable,parametrised} patterns (metric flow, particle system, rigging, ...)
15) GUI TODO list:
a) replace logo w/ canvas panel in About dialogue
b) purge MRU list menu item, remove files from MRU list if inaccessible
c) Settings/Settings window (e.g. autosave, hide cursor on leaving window, ...)
d) replace resize buttons w/ {-,edit box,+} buttons & lock button re: ratio (ty lol3)
e) {copy,cut,delete,insert from,paste}, {edit asset in new canvas,import from {canvas,object}}
a) {load,store} LRU {open,save} directory
b) replace logo w/ canvas panel in About dialogue
c) purge MRU list menu item, remove files from MRU list if inaccessible
d) Settings/Settings window (e.g. autosave, hide cursor on leaving window, ...)
e) replace resize buttons w/ {-,edit box,+} buttons & lock button re: ratio (ty lol3)
f) {copy,cut,delete,insert from,paste}, {edit asset in new canvas,import from {canvas,object}}
High-priority list:
1) a) select line tool b) set origin point c) move mouse about d) incr brush size e) set target point d) undo

View File

@ -71,15 +71,15 @@ class RoarCanvasCommands(RoarCanvasCommandsFile, RoarCanvasCommandsEdit, RoarCan
if "pathName" in self.lastPanelState:
if self.lastPanelState["pathName"] != None:
basePathName = os.path.basename(self.lastPanelState["pathName"])
textItems.append("Current file: {}".format(basePathName))
textItems.append("File: {}".format(basePathName))
self.parentFrame.SetTitle("{} - roar".format(basePathName))
else:
self.parentFrame.SetTitle("roar")
if "toolName" in self.lastPanelState:
textItems.append("Current tool: {}".format(self.lastPanelState["toolName"]))
textItems.append("Tool: {}".format(self.lastPanelState["toolName"]))
if ("operator" in self.lastPanelState) \
and (self.lastPanelState["operator"] != None):
textItems.append("Current operator: {}".format(self.lastPanelState["operator"]))
textItems.append("Operator: {}".format(self.lastPanelState["operator"]))
if "dirty" in self.lastPanelState \
and self.lastPanelState["dirty"]:
textItems.append("*")