.. index:: pair: class; EE::Window::Cursor .. _doxid-class_e_e_1_1_window_1_1_cursor: class EE::Window::Cursor ======================== .. toctree:: :hidden: enum_EE_Window_Cursor_SysType.rst enum_EE_Window_Cursor_Type.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class Cursor { public: // enums enum :ref:`SysType`; enum :ref:`Type`; // construction virtual :target:`~Cursor`(); // methods static :ref:`Cursor::Type` :target:`fromName`(std::string name); const :ref:`String::HashType`& :ref:`getId`() const; const std::string& :ref:`getName`() const; const :ref:`Vector2i`& :ref:`getHotSpot`() const; :ref:`Graphics::Image`* :ref:`getImage`() const; }; .. _details-class_e_e_1_1_window_1_1_cursor: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; getId .. _doxid-class_e_e_1_1_window_1_1_cursor_1a8903d4b2e56dbbad5240c0b7a4259106: .. ref-code-block:: cpp :class: doxyrest-title-code-block const :ref:`String::HashType`& getId() const .. rubric:: Returns: The cursor id .. index:: pair: function; getName .. _doxid-class_e_e_1_1_window_1_1_cursor_1a1b8b81293fcce68974554a02addf93bd: .. ref-code-block:: cpp :class: doxyrest-title-code-block const std::string& getName() const .. rubric:: Returns: The cursor name .. index:: pair: function; getHotSpot .. _doxid-class_e_e_1_1_window_1_1_cursor_1ac8d5c20abd59e0aef3db23049a1c16d9: .. ref-code-block:: cpp :class: doxyrest-title-code-block const :ref:`Vector2i`& getHotSpot() const .. rubric:: Returns: The cursor hotspot, this means, the position inside the cursor image, where the click is taken .. index:: pair: function; getImage .. _doxid-class_e_e_1_1_window_1_1_cursor_1a840863f656c5a93e4f0f041305a8fd64: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`Graphics::Image`* getImage() const .. rubric:: Returns: The pointer to the image that represents the cursor