Lines Matching full:pparams
18 FX_BOOL CFWL_ComboBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) {
19 if (!pParams)
21 switch (pParams->m_iPart) {
23 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix);
27 DrawEdge(pParams->m_pGraphics, pParams->m_pWidget->GetStyles(),
28 &pParams->m_rtPart, &pParams->m_matrix);
34 CFX_RectF& rect = pParams->m_rtPart;
37 switch (pParams->m_dwStates) {
47 pParams->m_pGraphics->SaveGraphState();
48 pParams->m_pGraphics->SetFillColor(&cr);
49 pParams->m_pGraphics->FillPath(&path, FXFILL_WINDING, &pParams->m_matrix);
50 pParams->m_pGraphics->RestoreGraphState();
54 DrawDropDownButton(pParams, pParams->m_dwStates, &pParams->m_matrix);
58 DrawStrethHandler(pParams, 0, &pParams->m_matrix);
65 void CFWL_ComboBoxTP::DrawStrethHandler(CFWL_ThemeBackground* pParams,
70 path.AddRectangle(pParams->m_rtPart.left, pParams->m_rtPart.top,
71 pParams->m_rtPart.width - 1, pParams->m_rtPart.height);
73 pParams->m_pGraphics->SetFillColor(&cr);
74 pParams->m_pGraphics->FillPath(&path, FXFILL_WINDING, &pParams->m_matrix);
85 void CFWL_ComboBoxTP::DrawDropDownButton(CFWL_ThemeBackground* pParams,
108 DrawArrowBtn(pParams->m_pGraphics, &pParams->m_rtPart,
109 FWLTHEME_DIRECTION_Down, eState, &pParams->m_matrix);
112 void CFWL_ComboBoxTP::DrawDropDownButton(CFWL_ThemeBackground* pParams,
115 FX_BOOL bPressed = ((pParams->m_dwStates & FWL_CMBPARTSTATE_Pressed) ==
119 Draw3DRect(pParams->m_pGraphics, eType, fWidth, &pParams->m_rtPart,
124 path.AddRectangle(pParams->m_rtPart.left + fWidth,
125 pParams->m_rtPart.top + fWidth,
126 pParams->m_rtPart.width - 2 * fWidth,
127 pParams->m_rtPart.height - 2 * fWidth);
128 pParams->m_pGraphics->SaveGraphState();
130 pParams->m_pGraphics->SetFillColor(&crFill);
131 pParams->m_pGraphics->FillPath(&path, FXFILL_WINDING, &pParams->m_matrix);
132 pParams->m_pGraphics->RestoreGraphState();
134 switch (pParams->m_dwStates & 0x03) {
148 DrawArrow(pParams->m_pGraphics, &pParams->m_rtPart, FWLTHEME_DIRECTION_Down,
149 argbFill, bPressed, &pParams->m_matrix);