/external/pdfium/xfa/fwl/ |
D | cfwl_scrollbar.cpp | 54 m_rtClient.Reset(); in CFWL_ScrollBar() 156 m_rtClient = GetClientRect(); in Layout() 167 m_fButtonLen = IsVertical() ? m_rtClient.width : m_rtClient.height; in CalcButtonLen() 168 float fLength = IsVertical() ? m_rtClient.height : m_rtClient.width; in CalcButtonLen() 179 return CFX_RectF(m_rtClient.TopLeft(), m_rtClient.width, m_fButtonLen); in CalcMinButtonRect() 180 return CFX_RectF(m_rtClient.TopLeft(), m_fButtonLen, m_rtClient.height); in CalcMinButtonRect() 185 return CFX_RectF(m_rtClient.left, m_rtClient.bottom() - m_fButtonLen, in CalcMaxButtonRect() 186 m_rtClient.width, m_fButtonLen); in CalcMaxButtonRect() 188 return CFX_RectF(m_rtClient.right() - m_fButtonLen, m_rtClient.top, in CalcMaxButtonRect() 189 m_fButtonLen, m_rtClient.height); in CalcMaxButtonRect() [all …]
|
D | cfwl_pushbutton.cpp | 47 m_rtClient = GetClientRect(); in Update() 48 m_rtCaption = m_rtClient; in Update() 75 param.m_rtPart = m_rtClient; in DrawBkground() 150 RepaintRect(m_rtClient); in OnFocusChanged() 160 RepaintRect(m_rtClient); in OnLButtonDown() 165 if (m_rtClient.Contains(pMsg->m_pos)) { in OnLButtonUp() 172 if (m_rtClient.Contains(pMsg->m_pos)) { in OnLButtonUp() 176 RepaintRect(m_rtClient); in OnLButtonUp() 182 if (m_rtClient.Contains(pMsg->m_pos)) { in OnMouseMove() 202 if (!m_rtClient.Contains(pMsg->m_pos)) in OnMouseMove() [all …]
|
D | cfwl_checkbox.cpp | 38 m_rtClient.Reset(); in CFWL_CheckBox() 85 param.m_rtPart = m_rtClient; in DrawWidget() 120 RepaintRect(m_rtClient); in SetCheckState() 128 m_rtClient = GetClientRect(); in Layout() 130 float fTextLeft = m_rtClient.left + m_fBoxHeight; in Layout() 131 m_rtBox = CFX_RectF(m_rtClient.TopLeft(), m_fBoxHeight, m_fBoxHeight); in Layout() 132 m_rtCaption = CFX_RectF(fTextLeft, m_rtClient.top, in Layout() 133 m_rtClient.right() - fTextLeft, m_rtClient.height); in Layout() 216 RepaintRect(m_rtClient); in NextStates() 279 RepaintRect(m_rtClient); in OnFocusChanged() [all …]
|
D | cfwl_datetimepicker.cpp | 77 m_rtClient = GetClientRect(); in Update() 84 m_rtBtn = CFX_RectF(m_rtClient.right() - fBtn, m_rtClient.top, fBtn - 1, in Update() 85 m_rtClient.height - 1); in Update() 87 CFX_RectF rtEdit(m_rtClient.left, m_rtClient.top, m_rtClient.width - fBtn, in Update() 88 m_rtClient.height); in Update() 106 if (m_rtClient.Contains(point)) in HitTest() 168 RepaintRect(m_rtClient); in SetEditText() 316 RepaintRect(m_rtClient); in ProcessSelChanged() 357 rtMonthCal.left = m_rtClient.left; in DisForm_ShowMonthCalendar() 414 m_rtClient = GetClientRect(); in DisForm_Update() [all …]
|
D | cfwl_monthcalendar.cpp | 111 m_rtClient.Reset(); in CFWL_MonthCalendar() 189 params.m_rtPart = m_rtClient; in DrawBackground() 476 float fHeadHMargin = (m_rtClient.width - m_szHead.width) / 2; in CalcHeadSize() 478 m_rtHeadText = CFX_RectF(m_rtClient.left + fHeadHMargin, in CalcHeadSize() 479 m_rtClient.top + MONTHCAL_HEADER_BTN_VMARGIN + in CalcHeadSize() 486 m_rtClient.left + MONTHCAL_HEADER_BTN_HMARGIN + MONTHCAL_HMARGIN, in CalcTodaySize() 490 m_rtClient.left + MONTHCAL_HEADER_BTN_HMARGIN + m_szCell.width + in CalcTodaySize() 497 m_rtClient = GetClientRect(); in Layout() 500 m_rtClient.left + MONTHCAL_HEADER_BTN_HMARGIN, m_rtClient.top, in Layout() 501 m_rtClient.width - MONTHCAL_HEADER_BTN_HMARGIN * 2, in Layout() [all …]
|
D | cfwl_combobox.cpp | 39 m_rtClient.Reset(); in CFWL_ComboBox() 145 CFX_RectF rtTextBk(m_rtClient); in DrawWidget() 332 m_rtList.width = std::max(m_rtList.width, m_rtClient.width); in ShowDropList() 374 m_rtClient = GetClientRect(); in Layout() 380 m_rtBtn = CFX_RectF(m_rtClient.right() - fBtn, m_rtClient.top, fBtn, in Layout() 381 m_rtClient.height); in Layout() 385 CFX_RectF rtEdit(m_rtClient.left, m_rtClient.top, m_rtClient.width - fBtn, in Layout() 386 m_rtClient.height); in Layout() 468 RepaintRect(m_rtClient); in ProcessSelChanged() 553 CFX_RectF rtList(m_rtClient.left, 0, m_pProperties->m_rtWidget.width, 0); in DisForm_ShowDropList() [all …]
|
D | cfwl_edit.cpp | 78 m_rtClient.Reset(); in CFWL_Edit() 141 if (m_rtClient.IsEmpty()) in Update() 161 if (m_rtClient.Contains(point)) in HitTest() 245 if (m_rtClient.IsEmpty()) in DrawWidget() 444 param.m_rtPart = m_rtClient; in DrawTextBk() 452 CFX_RectF rtStatic(m_rtClient.right() - rtScroll.height, in DrawTextBk() 453 m_rtClient.bottom() - rtScroll.height, rtScroll.height, in DrawTextBk() 519 path.AddLine(CFX_PointF(fLeft, m_rtClient.top), in DrawContent() 520 CFX_PointF(fLeft, m_rtClient.bottom())); in DrawContent() 839 m_rtClient = GetClientRect(); in Layout() [all …]
|
D | cfwl_listbox.cpp | 40 m_rtClient.Reset(); in CFWL_ListBox() 88 if (m_rtClient.Contains(point)) in HitTest() 348 RepaintRect(m_rtClient); in ScrollToVisible() 366 param.m_rtPart = m_rtClient; in DrawBkground() 472 m_rtClient = GetClientRect(); in CalcSize() 473 m_rtConent = m_rtClient; in CalcSize() 487 float fActualWidth = m_rtClient.width - rtUIMargin.left - rtUIMargin.width; in CalcSize() 501 float iHeight = m_rtClient.height; in CalcSize() 512 CFX_RectF rtScrollBar(m_rtClient.right() - m_fScorllBarWidth, in CalcSize() 513 m_rtClient.top, m_fScorllBarWidth, in CalcSize() [all …]
|
D | cfwl_picturebox.cpp | 15 m_rtClient.Reset(); in CFWL_PictureBox() 32 m_rtClient = GetClientRect(); in Update()
|
D | cfwl_listbox.h | 78 const CFX_RectF& GetRTClient() const { return m_rtClient; } in GetRTClient() 120 CFX_RectF m_rtClient; variable
|
D | cfwl_edit.h | 104 const CFX_RectF& GetRTClient() const { return m_rtClient; } in GetRTClient() 157 CFX_RectF m_rtClient; variable
|
D | cfwl_picturebox.h | 31 CFX_RectF m_rtClient;
|
D | cfwl_pushbutton.h | 49 CFX_RectF m_rtClient; variable
|
D | cfwl_checkbox.h | 65 CFX_RectF m_rtClient; variable
|
D | cfwl_datetimepicker.h | 94 CFX_RectF m_rtClient; variable
|
D | cfwl_scrollbar.h | 130 CFX_RectF m_rtClient; variable
|
D | cfwl_combobox.h | 145 CFX_RectF m_rtClient; variable
|
D | cfwl_monthcalendar.h | 182 CFX_RectF m_rtClient; variable
|