Otclient  14/8/2020
Mouse Class Reference

#include <mouse.h>

Public Member Functions

void init ()
 
void terminate ()
 
void loadCursors (std::string filename)
 
void addCursor (const std::string &name, const std::string &file, const Point &hotSpot)
 
bool pushCursor (const std::string &name)
 
void popCursor (const std::string &name)
 
bool isCursorChanged ()
 
bool isPressed (Fw::MouseButton mouseButton)
 

Detailed Description

Definition at line 25 of file mouse.h.

Member Function Documentation

◆ addCursor()

void Mouse::addCursor ( const std::string &  name,
const std::string &  file,
const Point hotSpot 
)

Definition at line 55 of file mouse.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void Mouse::init ( )

Definition at line 30 of file mouse.cpp.

Here is the caller graph for this function:

◆ isCursorChanged()

bool Mouse::isCursorChanged ( )

Definition at line 102 of file mouse.cpp.

Here is the caller graph for this function:

◆ isPressed()

bool Mouse::isPressed ( Fw::MouseButton  mouseButton)

Definition at line 107 of file mouse.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadCursors()

void Mouse::loadCursors ( std::string  filename)

Definition at line 39 of file mouse.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popCursor()

void Mouse::popCursor ( const std::string &  name)

Definition at line 76 of file mouse.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushCursor()

bool Mouse::pushCursor ( const std::string &  name)

Definition at line 64 of file mouse.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminate()

void Mouse::terminate ( )

Definition at line 34 of file mouse.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: