Lines Matching refs:m_pProperties
83 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) in ~CFWL_Edit()
93 CFX_RectF rect = m_pProperties->m_rtWidget; in GetWidgetRect()
94 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_OuterScrollbar) { in GetWidgetRect()
113 m_EdtEngine.GetText(0, -1), m_pProperties->m_pThemeProvider, in GetAutosizedWidgetRect()
114 !!(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_MultiLine)); in GetAutosizedWidgetRect()
122 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Invisible) || in SetStates()
123 (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled)) { in SetStates()
132 if (!m_pProperties->m_pThemeProvider) in Update()
133 m_pProperties->m_pThemeProvider = GetAvailableTheme(); in Update()
146 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_OuterScrollbar) { in HitTest()
246 if (!m_pProperties->m_pThemeProvider) in DrawWidget()
251 IFWL_ThemeProvider* pTheme = m_pProperties->m_pThemeProvider; in DrawWidget()
256 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) && in DrawWidget()
257 !(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ReadOnly)) { in DrawWidget()
273 m_pProperties->m_pThemeProvider = pThemeProvider; in SetThemeProvider()
400 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) in OnCaretChanged()
407 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_MultiLine) { in OnCaretChanged()
422 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_VAlignMask) in OnTextChanged()
482 param.m_dwStates = m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ReadOnly in DrawTextBk()
485 uint32_t dwStates = (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled); in DrawTextBk()
515 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_CombText) in DrawContent()
527 bool bShowSel = !!(m_pProperties->m_dwStates & FWL_WGTSTATE_Focused); in DrawContent()
576 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_CombText) { in DrawContent()
611 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_CombText) in UpdateEditParams()
613 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_LastLineHeight) in UpdateEditParams()
615 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_Validate) in UpdateEditParams()
617 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_Password) in UpdateEditParams()
620 switch (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_HAlignMask) { in UpdateEditParams()
636 switch (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_HAlignModeMask) { in UpdateEditParams()
646 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_MultiLine) { in UpdateEditParams()
648 if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_AutoHScroll) == 0) { in UpdateEditParams()
652 if ((m_pProperties->m_dwStyles & FWL_WGTSTYLE_VScroll) == 0 && in UpdateEditParams()
653 (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_AutoVScroll) == 0) { in UpdateEditParams()
658 } else if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_AutoHScroll) == in UpdateEditParams()
662 if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ReadOnly) || in UpdateEditParams()
663 (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled)) { in UpdateEditParams()
784 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_VCenter) { in UpdateVAlignment()
791 } else if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_VFar) { in UpdateVAlignment()
816 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused && !rtCaret.IsEmpty()) in UpdateCaret()
895 (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ShowScrollbarFocus) in IsShowScrollBar()
896 ? (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == in IsShowScrollBar()
900 return bShow && (m_pProperties->m_dwStyles & FWL_WGTSTYLE_VScroll) && in IsShowScrollBar()
901 (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_MultiLine) && in IsShowScrollBar()
958 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_OuterScrollbar) { in Layout()
980 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_OuterScrollbar) { in Layout()
999 if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ShowScrollbarFocus) == in LayoutScrollBar()
1013 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_OuterScrollbar) { in LayoutScrollBar()
1034 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_OuterScrollbar) { in LayoutScrollBar()
1068 prop->m_pThemeProvider = m_pProperties->m_pThemeProvider; in InitVerticalScrollBar()
1081 prop->m_pThemeProvider = m_pProperties->m_pThemeProvider; in InitHorizontalScrollBar()
1096 pRect->Offset(m_pProperties->m_rtWidget.left, m_pProperties->m_rtWidget.top); in ShowCaret()
1259 if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) in DoButtonDown()
1277 m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; in OnFocusChanged()
1282 } else if (m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) { in OnFocusChanged()
1283 m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; in OnFocusChanged()
1301 CFX_RectF rtInvalidate(0, 0, m_pProperties->m_rtWidget.width, in OnFocusChanged()
1302 m_pProperties->m_rtWidget.height); in OnFocusChanged()
1307 if (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) in OnLButtonDown()
1410 if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ReadOnly) || in OnKeyDown()
1411 (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled)) { in OnKeyDown()
1432 if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ReadOnly) || in OnChar()
1433 (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled)) { in OnChar()
1452 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_WantReturn) { in OnChar()
1459 if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_Number) { in OnChar()