Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.cpp @ 1209:f7bb22999d2e 3.0-integration
Provisionally add labels for normalisation menu (sigh)
author | Chris Cannam |
---|---|
date | Tue, 03 Jan 2017 16:23:11 +0000 |
parents | 69ff93e0c624 |
children | a1ee3108d1d3 |
comparison
equal
deleted
inserted
replaced
1208:0a13a1de1d7e | 1209:f7bb22999d2e |
---|---|
386 case 2: return tr("+/-1"); | 386 case 2: return tr("+/-1"); |
387 case 3: return tr("Absolute"); | 387 case 3: return tr("Absolute"); |
388 } | 388 } |
389 } | 389 } |
390 if (name == "Normalization") { | 390 if (name == "Normalization") { |
391 return ""; // icon only | 391 switch(value) { |
392 default: | |
393 case 0: return tr("None"); | |
394 case 1: return tr("Col"); | |
395 case 2: return tr("View"); | |
396 case 3: return tr("Hybrid"); | |
397 } | |
398 // return ""; // icon only | |
392 } | 399 } |
393 if (name == "Bin Scale") { | 400 if (name == "Bin Scale") { |
394 switch (value) { | 401 switch (value) { |
395 default: | 402 default: |
396 case 0: return tr("Linear"); | 403 case 0: return tr("Linear"); |