Lines Matching refs:maControlRect
429 maControlRect = Rectangle( Point(), maBackgroundLeft.GetSizePixel() ); in initControls()
430 maControlRect.Left() += nShadowLeft; in initControls()
431 maControlRect.Right() -= nShadowRight; in initControls()
432 maControlRect.Top() += nShadowTop; in initControls()
433 maControlRect.Bottom() -= nShadowBottom; in initControls()
453 if( maControlRect.GetWidth() < mnBtnPos + maWelcomeSize.Width() + 20 ) in initControls()
454 maControlRect.Right() = maControlRect.Left() + maWelcomeSize.Width() + mnBtnPos + 20; in initControls()
472 if( maControlRect.GetWidth() < maProductSize.Width() + mnBtnPos + 10 ) in initControls()
473 maControlRect.Right() = maControlRect.Left() + maProductSize.Width() + mnBtnPos + 10; in initControls()
557 DBG_ASSERT( nYPos < maControlRect.GetHeight(), "misformatting !" ); in initControls()
558 if( mnColumnWidth[0] + mnColumnWidth[1] + mnBtnPos + 20 > maControlRect.GetWidth() ) in initControls()
559 …maControlRect.Right() = maControlRect.Left() + mnColumnWidth[0] + mnColumnWidth[1] + mnBtnPos + 20; in initControls()
574 if( maControlRect.GetWidth() < maControlRect.GetHeight() * 3 / 2 ) in initControls()
576 maControlRect.Right() = maControlRect.Left() + maControlRect.GetHeight() * 3 / 2; in initControls()
577 … long nDelta = (maControlRect.GetWidth() - mnBtnPos - mnColumnWidth[1] - mnColumnWidth[0] - 20); in initControls()
587 Size aMiddleSegmentSize( maControlRect.GetSize().Width() + nShadowLeft + nShadowRight, in initControls()
662 Rectangle aBmpRect(maControlRect); in Paint()
787 Size aControlSize = maControlRect.GetSize(); in Resize()
788 maControlRect = Rectangle( Point( (aWindowSize.Width() - aControlSize.Width()) / 2, in Resize()
794 Point aTBPos( maControlRect.Left() + mnBtnPos, in Resize()
795 maControlRect.Bottom() - aTBSize.Height() - 10 ); in Resize()
797 aTBPos.X() = maControlRect.Right() - aTBSize.Width() - mnBtnPos; in Resize()
810 while( ( maControlRect.Top() + in Resize()
822 long nYPos = maControlRect.Top(); in Resize()
824 maWelcome.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), in Resize()
825 … Size( maControlRect.GetWidth() - mnBtnPos - 5, (maWelcomeSize.Height()*20)/19 ) ); in Resize()
827 …maProduct.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( maControlRect.Ge… in Resize()
833 nYPos = maControlRect.Top() + mnBtnTop; in Resize()
835 …maWriterButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColum… in Resize()
836 …maDrawButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos ), … in Resize()
838 …maCalcButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColumnW… in Resize()
839 …maDBButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos ), Si… in Resize()
841 …maImpressButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColu… in Resize()
842 …maMathButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos ), … in Resize()
845 …maOpenButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColumnW… in Resize()
846 …maTemplateButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos… in Resize()