uiacceltk/hitchcock/coretoolkit/src/HuiFxParameterManager.cpp
branchRCL_3
changeset 5 433cbbb6a04b
parent 0 15bf7259bb7c
equal deleted inserted replaced
3:d8a3531bc6b8 5:433cbbb6a04b
   214             break;
   214             break;
   215         case EReferencePointVisualRight:
   215         case EReferencePointVisualRight:
   216             // the bottom right corner of a rect is actually outside the rect
   216             // the bottom right corner of a rect is actually outside the rect
   217             aDefaultValue = aVisualRect.iBr.iX;
   217             aDefaultValue = aVisualRect.iBr.iX;
   218             break;
   218             break;
       
   219         case EReferencePointDisplayHeightMinusVisualTop:
       
   220             {
       
   221             TReal32 height = aEngine.GetReferenceValue( aRef ); // this will be display.height
       
   222             height -= aVisualRect.iTl.iY;
       
   223             aDefaultValue = height;
       
   224             break;
       
   225             }
   219         default:
   226         default:
   220             // This will return reference points that depend on display size
   227             // This will return reference points that depend on display size
   221             aDefaultValue = aEngine.GetReferenceValue( aRef );
   228             aDefaultValue = aEngine.GetReferenceValue( aRef );
   222             break;
   229             break;
   223         }
   230         }