Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
870 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef TOOLMAGNIFY_H
  8. #define TOOLMAGNIFY_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "ToolInterface.h"
  13. class CToolMagnify : public CBaseTool
  14. {
  15. public:
  16. CToolMagnify(void);
  17. ~CToolMagnify(void) {}
  18. //
  19. // CBaseTool implementation.
  20. //
  21. virtual ToolID_t GetToolID(void) { return TOOL_MAGNIFY; }
  22. virtual bool OnContextMenu2D(CMapView2D *pView, UINT nFlags, const Vector2D &vPoint);
  23. virtual bool OnLMouseDown2D(CMapView2D *pView, UINT nFlags, const Vector2D &vPoint);
  24. virtual bool OnRMouseDown2D(CMapView2D *pView, UINT nFlags, const Vector2D &vPoint);
  25. virtual bool OnMouseMove2D(CMapView2D *pView, UINT nFlags, const Vector2D &vPoint);
  26. };
  27. #endif // TOOLMAGNIFY_H