Lines Matching refs:maControlRect
431 maControlRect = Rectangle( Point(), maBackgroundLeft.GetSizePixel() ); in initControls()
432 maControlRect.Left() += nShadowLeft; in initControls()
433 maControlRect.Right() -= nShadowRight; in initControls()
434 maControlRect.Top() += nShadowTop; in initControls()
435 maControlRect.Bottom() -= nShadowBottom; in initControls()
455 if( maControlRect.GetWidth() < mnBtnPos + maWelcomeSize.Width() + 20 ) in initControls()
456 maControlRect.Right() = maControlRect.Left() + maWelcomeSize.Width() + mnBtnPos + 20; in initControls()
474 if( maControlRect.GetWidth() < maProductSize.Width() + mnBtnPos + 10 ) in initControls()
475 maControlRect.Right() = maControlRect.Left() + maProductSize.Width() + mnBtnPos + 10; in initControls()
559 DBG_ASSERT( nYPos < maControlRect.GetHeight(), "misformatting !" ); in initControls()
560 if( mnColumnWidth[0] + mnColumnWidth[1] + mnBtnPos + 20 > maControlRect.GetWidth() ) in initControls()
561 …maControlRect.Right() = maControlRect.Left() + mnColumnWidth[0] + mnColumnWidth[1] + mnBtnPos + 20; in initControls()
576 if( maControlRect.GetWidth() < maControlRect.GetHeight() * 3 / 2 ) in initControls()
578 maControlRect.Right() = maControlRect.Left() + maControlRect.GetHeight() * 3 / 2; in initControls()
579 … long nDelta = (maControlRect.GetWidth() - mnBtnPos - mnColumnWidth[1] - mnColumnWidth[0] - 20); in initControls()
589 Size aMiddleSegmentSize( maControlRect.GetSize().Width() + nShadowLeft + nShadowRight, in initControls()
664 Rectangle aBmpRect(maControlRect); in Paint()
789 Size aControlSize = maControlRect.GetSize(); in Resize()
790 maControlRect = Rectangle( Point( (aWindowSize.Width() - aControlSize.Width()) / 2, in Resize()
796 Point aTBPos( maControlRect.Left() + mnBtnPos, in Resize()
797 maControlRect.Bottom() - aTBSize.Height() - 10 ); in Resize()
799 aTBPos.X() = maControlRect.Right() - aTBSize.Width() - mnBtnPos; in Resize()
812 while( ( maControlRect.Top() + in Resize()
824 long nYPos = maControlRect.Top(); in Resize()
826 maWelcome.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), in Resize()
827 … Size( maControlRect.GetWidth() - mnBtnPos - 5, (maWelcomeSize.Height()*20)/19 ) ); in Resize()
829 …maProduct.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( maControlRect.Ge… in Resize()
835 nYPos = maControlRect.Top() + mnBtnTop; in Resize()
837 …maWriterButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColum… in Resize()
838 …maDrawButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos ), … in Resize()
840 …maCalcButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColumnW… in Resize()
841 …maDBButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos ), Si… in Resize()
843 …maImpressButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColu… in Resize()
844 …maMathButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos ), … in Resize()
847 …maOpenButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColumnW… in Resize()
848 …maTemplateButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos… in Resize()