Lines Matching refs:size

197     CRect size;  in OnSize()  local
207 size.top = (client.Height() - bmp.bmHeight) >> 1; in OnSize()
208 size.bottom = size.top + bmp.bmHeight; in OnSize()
209 size.left = client.left + 10; in OnSize()
210 size.right = size.left + bmp.bmWidth; in OnSize()
212 mBtnBold.MoveWindow(size); in OnSize()
215 size.OffsetRect(CPoint(bmp.bmWidth + 10, 0)); in OnSize()
216 mBtnItalic.MoveWindow(size); in OnSize()
219 size.OffsetRect(CPoint(bmp.bmWidth + 10, 0)); in OnSize()
220 mBtnUnderline.MoveWindow(size); in OnSize()
223 size.OffsetRect(CPoint(bmp.bmWidth + 10, 0)); in OnSize()
224 mBtnLeftAlign.MoveWindow(size); in OnSize()
227 size.OffsetRect(CPoint(bmp.bmWidth + 10, 0)); in OnSize()
228 mBtnCenterAlign.MoveWindow(size); in OnSize()
231 size.OffsetRect(CPoint(bmp.bmWidth + 10, 0)); in OnSize()
232 mBtnRightAlign.MoveWindow(size); in OnSize()
234 int width = (client.right - size.left - 10) / 3 - mLableWidth - mColorButtonWidth; in OnSize()
236 size.right = size.left + mLableWidth; in OnSize()
237 mFontLable.MoveWindow(&size); in OnSize()
240 size.left = size.right + 5; in OnSize()
241 size.right = size.left + width; in OnSize()
242 mFontBox.MoveWindow(&size); in OnSize()
244 size.left = size.right + 5; in OnSize()
245 size.right = size.left + mLableWidth; in OnSize()
246 mHighlightColorLable.MoveWindow(&size); in OnSize()
249 size.left = size.right + 5; in OnSize()
250 size.right = size.left + width; in OnSize()
251 mHighlightColorBox.MoveWindow(&size); in OnSize()
253 size.left = size.right + 5; in OnSize()
254 size.right = size.left + mColorButtonWidth; in OnSize()
255 mHighlightColorButton.MoveWindow(&size); in OnSize()
257 size.left = size.right + 5; in OnSize()
258 size.right = size.left + mLableWidth; in OnSize()
259 mTextColorLable.MoveWindow(&size); in OnSize()
262 size.left = size.right + 5; in OnSize()
263 size.right = size.left + width; in OnSize()
264 mTextColorBox.MoveWindow(&size); in OnSize()
266 size.left = size.right + 5; in OnSize()
267 size.right = size.left + mColorButtonWidth; in OnSize()
268 mTextColorButton.MoveWindow(&size); in OnSize()
399 CRect size; in OnEraseBkgnd() local
404 GetClientRect(&size); in OnEraseBkgnd()
405 pDC->Rectangle(size); in OnEraseBkgnd()
625 int widget_width = mpInfo->size.gx_rectangle_right - mpInfo->size.gx_rectangle_left + 1; in MakeWidgetPreview()
626 int widget_height = mpInfo->size.gx_rectangle_bottom - mpInfo->size.gx_rectangle_top + 1; in MakeWidgetPreview()
660 int xpos = mpInfo->size.gx_rectangle_left; in MakeWidgetPreview()
661 int ypos = mpInfo->size.gx_rectangle_top; in MakeWidgetPreview()
854 CRect size; in PositionChildren() local
858 size = client; in PositionChildren()
859 size.left = client.left + 10; in PositionChildren()
860 size.top = client.top + m_title_bar_height + 10; in PositionChildren()
861 size.right = size.right - 10; in PositionChildren()
862 size.bottom = size.top + mMenubarHeight; in PositionChildren()
865 mpButtonFrame->MoveWindow(&size); in PositionChildren()
868 width = (client.right - size.left - 20) / 2; in PositionChildren()
869 size.right = size.left + width; in PositionChildren()
870 size.top = client.top + m_title_bar_height + mMenubarHeight + 20; in PositionChildren()
871 size.bottom = client.bottom - m_status_bar_height - 20; in PositionChildren()
872 mRichEdit.MoveWindow(&size); in PositionChildren()
875 size.OffsetRect(CPoint(width + 10, 0)); in PositionChildren()
876 mpPreview->MoveWindow(&size); in PositionChildren()