w_DefPullWidnow.h 622 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * w_DefPullWidnow.h
  3. *
  4. * Created on: 2021年8月10日
  5. * Author: Admin
  6. */
  7. #ifndef JNI_CPULLWINDOW_W_DEFPULLWIDNOW_H_
  8. #define JNI_CPULLWINDOW_W_DEFPULLWIDNOW_H_
  9. #include "control/ZKBase.h"
  10. #include "system/Thread.h"
  11. #include "utils/Log.h"
  12. #include "utils/VelocityTracker.h"
  13. #define CPullWindow_Pull_Top 0 /// 窗口拉取有效区域
  14. #define CPullWindow_Pull_High 50 /// 窗口拉取有效区域
  15. #define CPullWindow_ROLL_SPEED 30 /// 窗口滚动速度
  16. #define WBETWEEN_PullWindow(i,sMin,sMax) (i >= sMin && i <= sMax)
  17. struct PWPOINT{
  18. int x;
  19. int y;
  20. };
  21. #endif /* JNI_CPULLWINDOW_W_DEFPULLWIDNOW_H_ */