Lines Matching refs:boxrect
588 CRect boxrect; in PaintThemeHeader() local
632 boxrect = m_size; in PaintThemeHeader()
633 boxrect.bottom = boxrect.top + m_header_height; in PaintThemeHeader()
634 boxrect.left += 8; in PaintThemeHeader()
638 vspace = boxrect.bottom - boxrect.top; in PaintThemeHeader()
641 PaintIcon(dc, icon_id, boxrect.left, boxrect.top + vspace); in PaintThemeHeader()
642 boxrect.left += m_icon_width + ICON_HORZ_SPACE; in PaintThemeHeader()
653 dc->DrawText(title, boxrect, DT_LEFT | DT_VCENTER | DT_SINGLELINE); in PaintThemeHeader()
703 CRect boxrect; in PaintGroupHeader() local
747 boxrect = m_size; in PaintGroupHeader()
748 boxrect.bottom = boxrect.top + m_header_height; in PaintGroupHeader()
749 boxrect.left += 8; in PaintGroupHeader()
753 vspace = boxrect.bottom - boxrect.top; in PaintGroupHeader()
756 PaintIcon(dc, icon_id, boxrect.left, boxrect.top + vspace); in PaintGroupHeader()
757 boxrect.left += m_icon_width + ICON_HORZ_SPACE; in PaintGroupHeader()
774 vspace = boxrect.bottom - boxrect.top; in PaintGroupHeader()
779 dc->StretchBlt(boxrect.right - width - 8, boxrect.top + vspace, width, height, in PaintGroupHeader()
787 dc->DrawText(mpRes->name, boxrect, DT_LEFT|DT_VCENTER|DT_SINGLELINE); in PaintGroupHeader()
793 boxrect = m_size; in PaintGroupHeader()
794 boxrect.top += m_header_height; in PaintGroupHeader()
798 dc->FillRect(&boxrect, &fillbrush); in PaintGroupHeader()
805 CRect boxrect; in PaintFolderHeader() local
810 boxrect = m_size; in PaintFolderHeader()
811 boxrect.bottom = boxrect.top + m_header_height; in PaintFolderHeader()
812 boxrect.left += 8; in PaintFolderHeader()
814 vspace = boxrect.bottom - boxrect.top; in PaintFolderHeader()
820 PaintIcon(dc, IDB_FOLDER_OPEN, boxrect.left, boxrect.top + vspace); in PaintFolderHeader()
824 PaintIcon(dc, IDB_FOLDER_CLOSE, boxrect.left, boxrect.top + vspace); in PaintFolderHeader()
827 boxrect.left += m_icon_width + ICON_HORZ_SPACE; in PaintFolderHeader()
837 rect.left = boxrect.left - 3; in PaintFolderHeader()
851 dc->DrawText(mpRes->name, boxrect, DT_LEFT | DT_VCENTER | DT_SINGLELINE); in PaintFolderHeader()
913 CRect boxrect = m_size; in PaintColorItem() local
914 boxrect.left += COLOR_BOX_SPACE; in PaintColorItem()
915 boxrect.right = boxrect.left + m_item_height - 1; in PaintColorItem()
916 boxrect.DeflateRect(2, 3); in PaintColorItem()
922 dc->Rectangle(boxrect); in PaintColorItem()
924 boxrect.left = m_size.left + m_item_height + (COLOR_BOX_SPACE << 1) + COLOR_TEXT_SPACE; in PaintColorItem()
925 boxrect.right = m_size.left + GetWidth(dc); in PaintColorItem()
948 dc->DrawText(mpRes->name, boxrect, nDrawFormat); in PaintColorItem()
1017 CRect boxrect; in PaintFontItem() local
1022 boxrect = m_size; in PaintFontItem()
1023 boxrect.left += 4; in PaintFontItem()
1024 boxrect.right = m_size.left + m_font_preview_width - 4; in PaintFontItem()
1028 int offset = (boxrect.Height() - m_bitmap.gx_bmp_header.biHeight) / 2; in PaintFontItem()
1029 guix_bitmap_flush(dc->GetSafeHdc(), boxrect.left, boxrect.top + offset, in PaintFontItem()
1030 boxrect.right - boxrect.left + 1, m_preview_mem, &m_bitmap); in PaintFontItem()
1036 dc->DrawText(mpRes->name, boxrect, DT_LEFT | DT_TOP | DT_SINGLELINE | DT_VCENTER); in PaintFontItem()
1061 boxrect.left = boxrect.right + 8; in PaintFontItem()
1062 boxrect.right = boxrect.left + m_font_pixel_width - 8; in PaintFontItem()
1064 dc->DrawText(pix_size, boxrect, DT_RIGHT | DT_TOP | DT_SINGLELINE | DT_VCENTER); in PaintFontItem()
1067 boxrect.left = boxrect.right + 8; in PaintFontItem()
1068 boxrect.right = m_size.right - m_font_storage_width - 4; in PaintFontItem()
1069 dc->DrawText(mpRes->name, boxrect, DT_LEFT | DT_TOP | DT_SINGLELINE | DT_VCENTER); in PaintFontItem()
1072 boxrect.left = boxrect.right + 8; in PaintFontItem()
1073 boxrect.right = m_size.right - 4; in PaintFontItem()
1077 dc->DrawText(str, &boxrect, DT_RIGHT | DT_SINGLELINE | DT_VCENTER); in PaintFontItem()
1145 CRect boxrect = m_size; in PaintPixelmapItem() local
1146 boxrect.left += 4; in PaintPixelmapItem()
1148 boxrect.right = boxrect.left + m_thumbnail_size + (ITEM_VERT_SPACE * 2) - 8; in PaintPixelmapItem()
1153 int vspace = boxrect.bottom - boxrect.top + 1; in PaintPixelmapItem()
1167 boxrect.left + hspace, in PaintPixelmapItem()
1168 boxrect.top + vspace, in PaintPixelmapItem()
1169 boxrect.right - boxrect.left + 1, in PaintPixelmapItem()
1199 boxrect.left = boxrect.right + 8; in PaintPixelmapItem()
1200 boxrect.right = boxrect.left + m_pixelmap_dimension_width - 8; in PaintPixelmapItem()
1205 dc->DrawText(str, &boxrect, DT_LEFT | DT_SINGLELINE | DT_VCENTER); in PaintPixelmapItem()
1209 boxrect.left = boxrect.right + 8; in PaintPixelmapItem()
1210 boxrect.right = m_size.right - m_pixelmap_storage_width - 4; in PaintPixelmapItem()
1211 dc->DrawText(mpRes->name, &boxrect, DT_LEFT | DT_SINGLELINE | DT_VCENTER); in PaintPixelmapItem()
1214 boxrect.left = boxrect.right + 8; in PaintPixelmapItem()
1215 boxrect.right = m_size.right - 8; in PaintPixelmapItem()
1219 dc->DrawText(str, &boxrect, DT_RIGHT | DT_SINGLELINE | DT_VCENTER); in PaintPixelmapItem()
1380 CRect boxrect = m_size; in PaintAddNewItem() local
1381 boxrect.left += m_icon_width + 16; in PaintAddNewItem()
1384 dc->DrawText(mpRes->name, &boxrect, DT_LEFT | DT_SINGLELINE | DT_VCENTER); in PaintAddNewItem()