Home
last modified time | relevance | path

Searched refs:m_ClientRect (Results 1 – 18 of 18) sorted by relevance

/external/pdfium/xfa/fwl/
Dcfwl_scrollbar.cpp136 m_ClientRect = GetClientRect(); in Layout()
147 m_fButtonLen = IsVertical() ? m_ClientRect.width : m_ClientRect.height; in CalcButtonLen()
148 float fLength = IsVertical() ? m_ClientRect.height : m_ClientRect.width; in CalcButtonLen()
159 return CFX_RectF(m_ClientRect.TopLeft(), m_ClientRect.width, m_fButtonLen); in CalcMinButtonRect()
160 return CFX_RectF(m_ClientRect.TopLeft(), m_fButtonLen, m_ClientRect.height); in CalcMinButtonRect()
165 return CFX_RectF(m_ClientRect.left, m_ClientRect.bottom() - m_fButtonLen, in CalcMaxButtonRect()
166 m_ClientRect.width, m_fButtonLen); in CalcMaxButtonRect()
168 return CFX_RectF(m_ClientRect.right() - m_fButtonLen, m_ClientRect.top, in CalcMaxButtonRect()
169 m_fButtonLen, m_ClientRect.height); in CalcMaxButtonRect()
186 return CFX_RectF(m_ClientRect.left, m_MaxBtnRect.bottom(), in CalcThumbButtonRect()
[all …]
Dcfwl_pushbutton.cpp43 m_ClientRect = GetClientRect(); in Update()
44 m_CaptionRect = m_ClientRect; in Update()
64 param.m_PartRect = m_ClientRect; in DrawBkground()
135 RepaintRect(m_ClientRect); in OnFocusGained()
140 RepaintRect(m_ClientRect); in OnFocusLost()
147 RepaintRect(m_ClientRect); in OnLButtonDown()
152 if (m_ClientRect.Contains(pMsg->m_pos)) { in OnLButtonUp()
159 if (m_ClientRect.Contains(pMsg->m_pos)) { in OnLButtonUp()
163 RepaintRect(m_ClientRect); in OnLButtonUp()
169 if (m_ClientRect.Contains(pMsg->m_pos)) { in OnMouseMove()
[all …]
Dcfwl_checkbox.cpp69 param.m_PartRect = m_ClientRect; in DrawWidget()
106 RepaintRect(m_ClientRect); in SetCheckState()
112 m_ClientRect = GetClientRect(); in Layout()
114 float fTextLeft = m_ClientRect.left + m_fBoxHeight; in Layout()
115 m_BoxRect = CFX_RectF(m_ClientRect.TopLeft(), m_fBoxHeight, m_fBoxHeight); in Layout()
117 CFX_RectF(fTextLeft, m_ClientRect.top, m_ClientRect.right() - fTextLeft, in Layout()
118 m_ClientRect.height); in Layout()
182 RepaintRect(m_ClientRect); in NextStates()
239 RepaintRect(m_ClientRect); in OnFocusGained()
244 RepaintRect(m_ClientRect); in OnFocusLost()
[all …]
Dcfwl_monthcalendar.cpp156 params.m_PartRect = m_ClientRect; in DrawBackground()
367 float fHeadHMargin = (m_ClientRect.width - m_HeadSize.width) / 2; in CalcHeadSize()
369 m_HeadTextRect = CFX_RectF(m_ClientRect.left + fHeadHMargin, in CalcHeadSize()
370 m_ClientRect.top + kMonthCalHeaderBtnVMargin + in CalcHeadSize()
377 m_ClientRect.left + kMonthCalHeaderBtnHMargin + kMonthCalHMargin, in CalcTodaySize()
381 m_ClientRect.left + kMonthCalHeaderBtnHMargin + m_CellSize.width + in CalcTodaySize()
388 m_ClientRect = GetClientRect(); in Layout()
391 m_ClientRect.left + kMonthCalHeaderBtnHMargin, m_ClientRect.top, in Layout()
392 m_ClientRect.width - kMonthCalHeaderBtnHMargin * 2, in Layout()
394 m_WeekRect = CFX_RectF(m_ClientRect.left + kMonthCalHeaderBtnHMargin, in Layout()
[all …]
Dcfwl_listbox.cpp85 if (m_ClientRect.Contains(point)) in HitTest()
312 RepaintRect(m_ClientRect); in ScrollToVisible()
324 param.m_PartRect = m_ClientRect; in DrawBkground()
419 m_ClientRect = GetClientRect(); in CalcSize()
420 m_ContentRect = m_ClientRect; in CalcSize()
432 float fActualWidth = m_ClientRect.width - rtUIMargin.left - rtUIMargin.width; in CalcSize()
443 float iHeight = m_ClientRect.height; in CalcSize()
454 CFX_RectF rtScrollBar(m_ClientRect.right() - m_fScorllBarWidth, in CalcSize()
455 m_ClientRect.top, m_fScorllBarWidth, in CalcSize()
456 m_ClientRect.height - 1); in CalcSize()
[all …]
Dcfwl_edit.cpp116 if (m_ClientRect.IsEmpty()) in Update()
132 if (m_ClientRect.Contains(point)) in HitTest()
142 if (m_ClientRect.IsEmpty()) in DrawWidget()
324 path.AddLine(CFX_PointF(fLeft, m_ClientRect.top), in DrawContent()
325 CFX_PointF(fLeft, m_ClientRect.bottom())); in DrawContent()
617 m_ClientRect = GetClientRect(); in Layout()
618 m_EngineRect = m_ClientRect; in Layout()
640 rtVertScr = CFX_RectF(m_ClientRect.right() + kEditMargin, in Layout()
641 m_ClientRect.top, fWidth, m_ClientRect.height); in Layout()
643 rtVertScr = CFX_RectF(m_ClientRect.right() - fWidth, m_ClientRect.top, in Layout()
[all …]
Dcfwl_combobox.cpp226 CFX_RectF rtList(m_ClientRect.left, 0, m_WidgetRect.width, 0); in ShowDropDownList()
272 m_ClientRect = GetClientRect(); in Layout()
273 m_ContentRect = m_ClientRect; in Layout()
280 CFX_RectF(m_ClientRect.right() - fBtn, m_ClientRect.top + borderWidth, in Layout()
281 fBtn - borderWidth, m_ClientRect.height - 2 * borderWidth); in Layout()
362 RepaintRect(m_ClientRect); in ProcessSelChanged()
464 if (!m_ClientRect.Contains(pMsg->m_pos)) in OnLButtonDown()
Dcfwl_datetimepicker.cpp71 m_ClientRect = GetClientRect(); in Update()
72 m_pEdit->SetWidgetRect(m_ClientRect); in Update()
154 RepaintRect(m_ClientRect); in SetEditText()
214 rtMonthCal.left = m_ClientRect.left; in ShowMonthCalendar()
297 RepaintRect(m_ClientRect); in ProcessSelChanged()
393 RepaintRect(m_ClientRect); in OnLButtonDown()
Dcfwl_edit.h108 const CFX_RectF& GetRTClient() const { return m_ClientRect; } in GetRTClient()
151 CFX_RectF m_ClientRect; variable
Dcfwl_listbox.h97 const CFX_RectF& GetRTClient() const { return m_ClientRect; } in GetRTClient()
132 CFX_RectF m_ClientRect; variable
Dcfwl_picturebox.cpp24 m_ClientRect = GetClientRect(); in Update()
Dcfwl_picturebox.h30 CFX_RectF m_ClientRect; variable
Dcfwl_pushbutton.h51 CFX_RectF m_ClientRect; variable
Dcfwl_checkbox.h67 CFX_RectF m_ClientRect; variable
Dcfwl_datetimepicker.h110 CFX_RectF m_ClientRect; variable
Dcfwl_combobox.h118 CFX_RectF m_ClientRect; variable
Dcfwl_scrollbar.h123 CFX_RectF m_ClientRect; variable
Dcfwl_monthcalendar.h159 CFX_RectF m_ClientRect; variable