From 96a227a785648875a2a3c6bf70895f1492235fbc Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 2 Feb 2016 05:26:54 +0300 Subject: [PATCH] added basic status bar... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui.js | 58 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index 2e1ff58f..52034bcd 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -2544,9 +2544,14 @@ module.ImageStateIndicator = core.ImageGridFeatures.Feature({ 'ui-single-image-view', ], + config: { + }, + actions: actions.Actions({ updateStateIndicators: ['- Interface/', - function(){ + function(gid){ + gid = gid || this.current + // make/get indicator containers... var image = this.ribbons.viewer.find('.state-indicator-container.image-info') if(image.length == 0){ @@ -2556,13 +2561,60 @@ module.ImageStateIndicator = core.ImageGridFeatures.Feature({ var global = this.ribbons.viewer.find('.state-indicator-container.global-info') if(global.length == 0){ - global = makeStateIndicator('global-info') + //global = makeStateIndicator('global-info') + global = makeStateIndicator('global-info overlay-info') + // XXX do this based on config... + .append($('') + .addClass('path expanding-text') + .append($('')) + .append($('