Index: xfa/fwl/cfwl_comboboxproxy.cpp |
diff --git a/xfa/fwl/core/cfwl_comboboxproxy.cpp b/xfa/fwl/cfwl_comboboxproxy.cpp |
similarity index 84% |
rename from xfa/fwl/core/cfwl_comboboxproxy.cpp |
rename to xfa/fwl/cfwl_comboboxproxy.cpp |
index b7c56378cf2760b18ac217b075bea48a23819ba1..7bf311d198f446ecc4a151bcc0bd959581f90032 100644 |
--- a/xfa/fwl/core/cfwl_comboboxproxy.cpp |
+++ b/xfa/fwl/cfwl_comboboxproxy.cpp |
@@ -4,16 +4,16 @@ |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
-#include "xfa/fwl/core/cfwl_comboboxproxy.h" |
+#include "xfa/fwl/cfwl_comboboxproxy.h" |
#include <memory> |
#include <utility> |
-#include "xfa/fwl/core/cfwl_app.h" |
-#include "xfa/fwl/core/cfwl_combobox.h" |
-#include "xfa/fwl/core/cfwl_msgkillfocus.h" |
-#include "xfa/fwl/core/cfwl_msgmouse.h" |
-#include "xfa/fwl/core/cfwl_notedriver.h" |
+#include "xfa/fwl/cfwl_app.h" |
+#include "xfa/fwl/cfwl_combobox.h" |
+#include "xfa/fwl/cfwl_messagekillfocus.h" |
+#include "xfa/fwl/cfwl_messagemouse.h" |
+#include "xfa/fwl/cfwl_notedriver.h" |
CFWL_ComboBoxProxy::CFWL_ComboBoxProxy( |
CFWL_ComboBox* pComboBox, |
@@ -33,7 +33,7 @@ void CFWL_ComboBoxProxy::OnProcessMessage(CFWL_Message* pMessage) { |
switch (pMessage->GetType()) { |
case CFWL_Message::Type::Mouse: { |
- CFWL_MsgMouse* pMsg = static_cast<CFWL_MsgMouse*>(pMessage); |
+ CFWL_MessageMouse* pMsg = static_cast<CFWL_MessageMouse*>(pMessage); |
switch (pMsg->m_dwCmd) { |
case FWL_MouseCommand::LeftButtonDown: |
OnLButtonDown(pMsg); |
@@ -73,7 +73,7 @@ void CFWL_ComboBoxProxy::OnLButtonDown(CFWL_Message* pMessage) { |
CFX_RectF rtWidget = GetWidgetRect(); |
rtWidget.left = rtWidget.top = 0; |
- CFWL_MsgMouse* pMsg = static_cast<CFWL_MsgMouse*>(pMessage); |
+ CFWL_MessageMouse* pMsg = static_cast<CFWL_MessageMouse*>(pMessage); |
if (rtWidget.Contains(pMsg->m_fx, pMsg->m_fy)) { |
m_bLButtonDown = true; |
pDriver->SetGrab(this, true); |
@@ -98,7 +98,7 @@ void CFWL_ComboBoxProxy::OnLButtonUp(CFWL_Message* pMessage) { |
return; |
} |
- CFWL_MsgMouse* pMsg = static_cast<CFWL_MsgMouse*>(pMessage); |
+ CFWL_MessageMouse* pMsg = static_cast<CFWL_MessageMouse*>(pMessage); |
CFX_RectF rect = GetWidgetRect(); |
rect.left = rect.top = 0; |
if (!rect.Contains(pMsg->m_fx, pMsg->m_fy) && |
@@ -111,7 +111,7 @@ void CFWL_ComboBoxProxy::OnFocusChanged(CFWL_Message* pMessage, bool bSet) { |
if (bSet) |
return; |
- CFWL_MsgKillFocus* pMsg = static_cast<CFWL_MsgKillFocus*>(pMessage); |
+ CFWL_MessageKillFocus* pMsg = static_cast<CFWL_MessageKillFocus*>(pMessage); |
if (!pMsg->m_pSetFocus) |
m_pComboBox->ShowDropList(false); |
} |