Home
last modified time | relevance | path

Searched refs:m_dwStates (Results 1 – 25 of 30) sorted by relevance

12

/external/pdfium/xfa/fwl/
Dcfwl_checkbox.cpp82 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 …]
Dcfwl_pushbutton.cpp35 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 …]
Dcfwl_comboedit.cpp36 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()
Dcfwl_combobox.cpp63 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 …]
Dcfwl_listitem.h21 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
Dcfwl_monthcalendar.cpp188 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 …]
Dcfwl_edit.cpp87 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 …]
Dcfwl_listbox.cpp363 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 …]
Dcfwl_datetimepicker.cpp39 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()
Dcfwl_datetimeedit.cpp47 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) in DisForm_OnProcessMessage()
48 m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; in DisForm_OnProcessMessage()
Dcfwl_scrollbar.cpp114 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()
Dcfwl_caret.cpp78 if (!(m_pProperties->m_dwStates & kStateHighlight)) in DrawCaretBK()
86 param.m_dwStates = CFWL_PartState_HightLight; in DrawCaretBK()
Dcfwl_widget.cpp112 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()
Dcfwl_listitem.cpp10 : m_dwStates(0), m_wsText(text) { in CFWL_ListItem()
Dcfwl_widgetproperties.cpp12 m_dwStates(0), in CFWL_WidgetProperties()
Dcfwl_themepart.cpp12 m_dwStates(CFWL_PartState_Normal), in CFWL_ThemePart()
Dcfwl_widgetproperties.h26 uint32_t m_dwStates; variable
/external/pdfium/xfa/fwl/theme/
Dcfwl_monthcalendartp.cpp52 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()
Dcfwl_listboxtp.cpp38 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()
Dcfwl_carettp.cpp24 if (!(pParams->m_dwStates & CFWL_PartState_HightLight)) in DrawBackground()
27 DrawCaretBK(pParams->m_pGraphics, pParams->m_dwStates, in DrawBackground()
Dcfwl_comboboxtp.cpp34 switch (pParams->m_dwStates) { in DrawBackground()
51 DrawDropDownButton(pParams, pParams->m_dwStates, &pParams->m_matrix); in DrawBackground()
Dcfwl_edittp.cpp61 if (pParams->m_dwStates & CFWL_PartState_Disabled) in DrawBackground()
63 else if (pParams->m_dwStates & CFWL_PartState_ReadOnly) in DrawBackground()
Dcfwl_checkboxtp.cpp60 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()
Dcfwl_pushbuttontp.cpp63 int32_t iColor = GetColorID(pParams->m_dwStates); in DrawBackground()
79 if (pParams->m_dwStates & CFWL_PartState_Focused) { in DrawBackground()
Dcfwl_scrollbartp.cpp34 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()

12