/external/pdfium/xfa/fwl/ |
D | cfwl_checkbox.cpp | 82 param.m_dwStates = dwStates; in DrawWidget() 86 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) in DrawWidget() 97 textParam.m_dwStates = dwStates; in DrawWidget() 108 m_pProperties->m_dwStates &= ~FWL_STATE_CKB_CheckMask; in SetCheckState() 111 m_pProperties->m_dwStates |= FWL_STATE_CKB_Checked; in SetCheckState() 115 m_pProperties->m_dwStates |= FWL_STATE_CKB_Neutral; in SetCheckState() 150 if ((m_pProperties->m_dwStates & FWL_STATE_CKB_CheckMask) == in GetPartStates() 153 } else if ((m_pProperties->m_dwStates & FWL_STATE_CKB_CheckMask) == in GetPartStates() 157 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) in GetPartStates() 159 else if (m_pProperties->m_dwStates & FWL_STATE_CKB_Hovered) in GetPartStates() [all …]
|
D | cfwl_pushbutton.cpp | 35 m_pProperties->m_dwStates = FWL_WGTSTATE_Disabled; in SetStates() 71 param.m_dwStates = GetPartStates(); in DrawBkground() 76 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) in DrawBkground() 83 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) in GetPartStates() 85 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) in GetPartStates() 87 else if (m_pProperties->m_dwStates & FWL_STATE_PSB_Pressed) in GetPartStates() 89 else if (m_pProperties->m_dwStates & FWL_STATE_PSB_Hovered) in GetPartStates() 146 m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; in OnFocusChanged() 148 m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; in OnFocusChanged() 154 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) in OnLButtonDown() [all …]
|
D | cfwl_comboedit.cpp | 36 m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; in FlagFocus() 40 m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; in FlagFocus() 51 m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; in OnProcessMessage() 56 m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; in OnProcessMessage() 63 ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0)) { in OnProcessMessage()
|
D | cfwl_combobox.cpp | 63 SetStates(m_pProperties->m_dwStates); in CFWL_ComboBox() 155 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) { in DrawWidget() 156 param.m_dwStates = CFWL_PartState_Disabled; in DrawWidget() 157 } else if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) && in DrawWidget() 159 param.m_dwStates = CFWL_PartState_Selected; in DrawWidget() 161 param.m_dwStates = CFWL_PartState_Normal; in DrawWidget() 174 theme_text.m_dwStates = m_iBtnState; in DrawWidget() 178 theme_text.m_dwStates = (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) in DrawWidget() 191 param.m_dwStates = (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) in DrawWidget() 295 param.m_dwStates = CFWL_PartState_Normal; in DrawStretchHandler() [all …]
|
D | cfwl_listitem.h | 21 uint32_t GetStates() const { return m_dwStates; } in GetStates() 22 void SetStates(uint32_t dwStates) { m_dwStates = dwStates; } in SetStates() 28 uint32_t m_dwStates; variable
|
D | cfwl_monthcalendar.cpp | 188 params.m_dwStates = CFWL_PartState_Normal; in DrawBackground() 202 params.m_dwStates = CFWL_PartState_Normal; in DrawHeadBK() 216 params.m_dwStates = m_iLBtnPartStates; in DrawLButton() 230 params.m_dwStates = m_iRBtnPartStates; in DrawRButton() 243 textParam.m_dwStates = CFWL_PartState_Normal; in DrawCaption() 264 params.m_dwStates = CFWL_PartState_Normal; in DrawSeperator() 285 params.m_dwStates |= CFWL_PartState_Selected; in DrawDatesInBK() 287 params.m_dwStates |= CFWL_PartState_Flagged; in DrawDatesInBK() 290 params.m_dwStates |= CFWL_PartState_Hovered; in DrawDatesInBK() 292 params.m_dwStates = CFWL_PartState_Flagged; in DrawDatesInBK() [all …]
|
D | cfwl_edit.cpp | 87 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) in ~CFWL_Edit() 127 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Invisible) || in SetStates() 128 (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled)) { in SetStates() 253 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) && in DrawWidget() 376 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) in OnCaretChanged() 436 param.m_dwStates = m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ReadOnly in DrawTextBk() 439 uint32_t dwStates = (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled); in DrawTextBk() 441 param.m_dwStates = CFWL_PartState_Disabled; in DrawTextBk() 479 bool bShowSel = !!(m_pProperties->m_dwStates & FWL_WGTSTATE_Focused); in DrawContent() 747 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused && !rtCaret.IsEmpty()) in UpdateCaret() [all …]
|
D | cfwl_listbox.cpp | 363 param.m_dwStates = 0; in DrawBkground() 370 param.m_dwStates = CFWL_PartState_Disabled; in DrawBkground() 416 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) in DrawItem() 421 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused && in DrawItem() 429 bg_param.m_dwStates = dwPartStates; in DrawItem() 457 textParam.m_dwStates = dwPartStates; in DrawItem() 532 (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused)) { in CalcSize() 564 (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused)) { in CalcSize() 627 prop->m_dwStates = FWL_WGTSTATE_Invisible; in InitVerticalScrollBar() 640 prop->m_dwStates = FWL_WGTSTATE_Invisible; in InitHorizontalScrollBar() [all …]
|
D | cfwl_datetimepicker.cpp | 39 monthProp->m_dwStates = FWL_WGTSTATE_Invisible; in CFWL_DateTimePicker() 203 param.m_dwStates = m_iBtnState; in DrawDropDownButton() 333 prop->m_dwStates = FWL_WGTSTATE_Invisible; in InitProxyForm() 402 return m_pProperties->m_dwStates & FWL_WGTSTATE_Focused || in DisForm_IsNeedShowButton() 526 m_pProperties->m_dwStates |= (FWL_WGTSTATE_Focused); in OnFocusChanged() 529 m_pProperties->m_dwStates &= ~(FWL_WGTSTATE_Focused); in OnFocusChanged() 541 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) in OnLButtonDown() 585 m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; in DisForm_OnFocusChanged() 594 m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; in DisForm_OnFocusChanged()
|
D | cfwl_datetimeedit.cpp | 47 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) in DisForm_OnProcessMessage() 48 m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; in DisForm_OnProcessMessage()
|
D | cfwl_scrollbar.cpp | 114 param.m_dwStates = (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) in DrawTrack() 130 param.m_dwStates = (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) in DrawArrowBtn() 146 param.m_dwStates = (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) in DrawThumb()
|
D | cfwl_caret.cpp | 78 if (!(m_pProperties->m_dwStates & kStateHighlight)) in DrawCaretBK() 86 param.m_dwStates = CFWL_PartState_HightLight; in DrawCaretBK()
|
D | cfwl_widget.cpp | 112 return m_pProperties->m_dwStates; in GetStates() 133 m_pProperties->m_dwStates |= dwStates; in SetStates() 151 m_pProperties->m_dwStates &= ~dwStates; in RemoveStates() 243 return (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) == 0; in IsEnabled() 251 return (m_pProperties->m_dwStates & FWL_WGTSTATE_Invisible) == 0; in IsVisible()
|
D | cfwl_listitem.cpp | 10 : m_dwStates(0), m_wsText(text) { in CFWL_ListItem()
|
D | cfwl_widgetproperties.cpp | 12 m_dwStates(0), in CFWL_WidgetProperties()
|
D | cfwl_themepart.cpp | 12 m_dwStates(CFWL_PartState_Normal), in CFWL_ThemePart()
|
D | cfwl_widgetproperties.h | 26 uint32_t m_dwStates; variable
|
/external/pdfium/xfa/fwl/theme/ |
D | cfwl_monthcalendartp.cpp | 52 FWLTHEME_STATE eState = GetState(pParams->m_dwStates); in DrawBackground() 58 FWLTHEME_STATE eState = GetState(pParams->m_dwStates); in DrawBackground() 93 !(pParams->m_dwStates & FWL_ITEMSTATE_MCD_Flag) && in DrawText() 94 (pParams->m_dwStates & in DrawText() 136 if (pParams->m_dwStates & CFWL_PartState_Pressed) { in DrawLButton() 169 if (pParams->m_dwStates & CFWL_PartState_Pressed) { in DrawRButton() 222 if (pParams->m_dwStates & CFWL_PartState_Selected) { in DrawDatesInBK() 230 } else if (pParams->m_dwStates & CFWL_PartState_Hovered) { in DrawDatesInBK()
|
D | cfwl_listboxtp.cpp | 38 DrawListBoxItem(pParams->m_pGraphics, pParams->m_dwStates, in DrawBackground() 44 if (pParams->m_dwStates == CFWL_PartState_Checked) { in DrawBackground() 46 } else if (pParams->m_dwStates == CFWL_PartState_Normal) { in DrawBackground()
|
D | cfwl_carettp.cpp | 24 if (!(pParams->m_dwStates & CFWL_PartState_HightLight)) in DrawBackground() 27 DrawCaretBK(pParams->m_pGraphics, pParams->m_dwStates, in DrawBackground()
|
D | cfwl_comboboxtp.cpp | 34 switch (pParams->m_dwStates) { in DrawBackground() 51 DrawDropDownButton(pParams, pParams->m_dwStates, &pParams->m_matrix); in DrawBackground()
|
D | cfwl_edittp.cpp | 61 if (pParams->m_dwStates & CFWL_PartState_Disabled) in DrawBackground() 63 else if (pParams->m_dwStates & CFWL_PartState_ReadOnly) in DrawBackground()
|
D | cfwl_checkboxtp.cpp | 60 m_pTextOut->SetTextColor(pParams->m_dwStates & CFWL_PartState_Disabled in DrawText() 276 if ((pParams->m_dwStates & CFWL_PartState_Checked) || in DrawBackground() 277 (pParams->m_dwStates & CFWL_PartState_Neutral)) { in DrawBackground() 279 pParams->m_dwStates, &pParams->m_matrix); in DrawBackground()
|
D | cfwl_pushbuttontp.cpp | 63 int32_t iColor = GetColorID(pParams->m_dwStates); in DrawBackground() 79 if (pParams->m_dwStates & CFWL_PartState_Focused) { in DrawBackground()
|
D | cfwl_scrollbartp.cpp | 34 if (pParams->m_dwStates & CFWL_PartState_Hovered) in DrawBackground() 36 else if (pParams->m_dwStates & CFWL_PartState_Pressed) in DrawBackground() 38 else if (pParams->m_dwStates & CFWL_PartState_Disabled) in DrawBackground()
|