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 ced45fa0d4
commit 35498eca38
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 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, ...) 14) Sprites & scripted (Python?) animation on the basis of asset traits and {composable,parametrised} patterns (metric flow, particle system, rigging, ...)
15) GUI TODO list: 15) GUI TODO list:
a) replace logo w/ canvas panel in About dialogue a) {load,store} LRU {open,save} directory
b) purge MRU list menu item, remove files from MRU list if inaccessible b) replace logo w/ canvas panel in About dialogue
c) Settings/Settings window (e.g. autosave, hide cursor on leaving window, ...) c) purge MRU list menu item, remove files from MRU list if inaccessible
d) replace resize buttons w/ {-,edit box,+} buttons & lock button re: ratio (ty lol3) d) Settings/Settings window (e.g. autosave, hide cursor on leaving window, ...)
e) {copy,cut,delete,insert from,paste}, {edit asset in new canvas,import from {canvas,object}} 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: 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 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 "pathName" in self.lastPanelState:
if self.lastPanelState["pathName"] != None: if self.lastPanelState["pathName"] != None:
basePathName = os.path.basename(self.lastPanelState["pathName"]) basePathName = os.path.basename(self.lastPanelState["pathName"])
textItems.append("Current file: {}".format(basePathName)) textItems.append("File: {}".format(basePathName))
self.parentFrame.SetTitle("{} - roar".format(basePathName)) self.parentFrame.SetTitle("{} - roar".format(basePathName))
else: else:
self.parentFrame.SetTitle("roar") self.parentFrame.SetTitle("roar")
if "toolName" in self.lastPanelState: 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) \ if ("operator" in self.lastPanelState) \
and (self.lastPanelState["operator"] != None): 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 \ if "dirty" in self.lastPanelState \
and self.lastPanelState["dirty"]: and self.lastPanelState["dirty"]:
textItems.append("*") textItems.append("*")