uiacceltk/hitchcock/coretoolkit/src/HuiFxParameterManager.cpp
branchRCL_3
changeset 7 433cbbb6a04b
parent 0 15bf7259bb7c
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiFxParameterManager.cpp	Mon Feb 22 17:57:49 2010 +0200
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiFxParameterManager.cpp	Fri Mar 12 15:47:04 2010 +0200
@@ -216,6 +216,13 @@
             // the bottom right corner of a rect is actually outside the rect
             aDefaultValue = aVisualRect.iBr.iX;
             break;
+        case EReferencePointDisplayHeightMinusVisualTop:
+            {
+            TReal32 height = aEngine.GetReferenceValue( aRef ); // this will be display.height
+            height -= aVisualRect.iTl.iY;
+            aDefaultValue = height;
+            break;
+            }
         default:
             // This will return reference points that depend on display size
             aDefaultValue = aEngine.GetReferenceValue( aRef );