Index: xfa/fwl/core/cfwl_event.h |
diff --git a/xfa/fwl/core/cfwl_event.h b/xfa/fwl/core/cfwl_event.h |
index f43ebb7cc9cd7e984e28b8863f1cd7e8220108e4..ba8a4d683fbb0d841916de45c7d415ceff1da470 100644 |
--- a/xfa/fwl/core/cfwl_event.h |
+++ b/xfa/fwl/core/cfwl_event.h |
@@ -13,6 +13,19 @@ |
#include "xfa/fwl/core/cfwl_message.h" |
#include "xfa/fwl/core/fwl_error.h" |
+enum class FWL_SCBCODE { |
+ None = 1, |
+ Min, |
+ Max, |
+ PageBackward, |
+ PageForward, |
+ StepBackward, |
+ StepForward, |
+ Pos, |
+ TrackPos, |
+ EndScroll, |
+}; |
+ |
enum class CFWL_EventType { |
None = 0, |
@@ -137,7 +150,7 @@ FWL_EVENT_DEF(CFWL_EvtDraw, CFWL_EventType::Draw, CFX_Graphics* m_pGraphics; |
FWL_EVENT_DEF(CFWL_EvtClick, CFWL_EventType::Click) |
-FWL_EVENT_DEF(CFWL_EvtScroll, CFWL_EventType::Scroll, uint32_t m_iScrollCode; |
+FWL_EVENT_DEF(CFWL_EvtScroll, CFWL_EventType::Scroll, FWL_SCBCODE m_iScrollCode; |
FX_FLOAT m_fPos; |
bool* m_pRet;) |