/* ** Command & Conquer Generals(tm) ** Copyright 2025 Electronic Arts Inc. ** ** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program. If not, see . */ //////////////////////////////////////////////////////////////////////////////// // // // (c) 2001-2003 Electronic Arts Inc. // // // //////////////////////////////////////////////////////////////////////////////// // FILE: W3DMouse.h ///////////////////////////////////////////////////////// //----------------------------------------------------------------------------- // // Westwood Studios Pacific. // // Confidential Information // Copyright (C) 2001 - All Rights Reserved // //----------------------------------------------------------------------------- // // Project: RTS3 // // File name: Win32Mouse.h // // Created: Mark Wilczynski, Jan 2002 // // Desc: Interface for the mouse using W3D methods to display cursor. // //----------------------------------------------------------------------------- /////////////////////////////////////////////////////////////////////////////// #pragma once #ifndef __W3DMOUSE_H_ #define __W3DMOUSE_H_ // SYSTEM INCLUDES //////////////////////////////////////////////////////////// // USER INCLUDES ////////////////////////////////////////////////////////////// #include "Win32Device/GameClient/Win32Mouse.h" // FORWARD REFERENCES ///////////////////////////////////////////////////////// class CameraClass; class SurfaceClass; // TYPE DEFINES /////////////////////////////////////////////////////////////// // W3DMouse ----------------------------------------------------------------- /** Mouse interface for when using only the Win32 messages and W3D for cursor */ //----------------------------------------------------------------------------- class W3DMouse : public Win32Mouse { public: W3DMouse( void ); virtual ~W3DMouse( void ); virtual void init( void ); ///< init mouse, extend this functionality, do not replace virtual void reset( void ); ///< reset the system virtual void setCursor( MouseCursor cursor ); ///< set mouse cursor virtual void draw( void ); ///< draw the cursor or refresh the image virtual void setRedrawMode(RedrawMode mode); ///