From 35498eca38ceb81fb9f89b2f901296ceb504ec27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Mon, 23 Sep 2019 18:59:18 +0200 Subject: [PATCH] libroar/RoarCanvasCommands.py:update(): shorten {file,operator,tool} status bar items. assets/text/TODO: updated. --- assets/text/TODO | 11 ++++++----- libroar/RoarCanvasCommands.py | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/assets/text/TODO b/assets/text/TODO index 6ae013f..8887710 100644 --- a/assets/text/TODO +++ b/assets/text/TODO @@ -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 diff --git a/libroar/RoarCanvasCommands.py b/libroar/RoarCanvasCommands.py index b840ff5..ef8772f 100644 --- a/libroar/RoarCanvasCommands.py +++ b/libroar/RoarCanvasCommands.py @@ -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("*")