started working on state indicators...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-01-28 08:46:37 +03:00
parent e8b88fee74
commit 4a2de4e094

View File

@ -2502,6 +2502,32 @@ var makeStateIndicatorItem = function(container, type, text){
}
// XXX
// XXX an alternative approach:
// - global status area
// - status bar for local status
// - as in gen3
// - add image status
// Format:
// full:
// [ 12/123 DSC_1234.jpg GID:a1b2c3 T:2016-01-28 08:37:50 B M C ]
//
// minimal (no background):
// [ 12/123 B M C ]
//
// hidden:
// [ ]
//
// General item format:
// - minimal state - only short version / icon is shown
// - when not active a disabled state/icon is shown
//
// - expanded state - status bar sows expanded state (only?)
// - title/help shown above
// - floating text, transparent bg
// - same align as item
//
// XXX Q: can title bar be used instead of global state indication???
// ...especially if we are indicating only crop...
var ImageStateIndicator =
module.ImageStateIndicator = core.ImageGridFeatures.Feature({
title: '',