Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_WindowCocoa.h
| Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | public: | ||||
| * \param inX: The x-coordinate on the screen. | * \param inX: The x-coordinate on the screen. | ||||
| * \param inY: The y-coordinate on the screen. | * \param inY: The y-coordinate on the screen. | ||||
| * \param outX: The x-coordinate in the client rectangle. | * \param outX: The x-coordinate in the client rectangle. | ||||
| * \param outY: The y-coordinate in the client rectangle. | * \param outY: The y-coordinate in the client rectangle. | ||||
| */ | */ | ||||
| void screenToClient(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const; | void screenToClient(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const; | ||||
| /** | /** | ||||
| * Converts a point in screen coordinates to client rectangle coordinates | * Converts a point in client rectangle coordinates to screen coordinates. | ||||
| * \param inX: The x-coordinate in the client rectangle. | * \param inX: The x-coordinate in the client rectangle. | ||||
| * \param inY: The y-coordinate in the client rectangle. | * \param inY: The y-coordinate in the client rectangle. | ||||
| * \param outX: The x-coordinate on the screen. | * \param outX: The x-coordinate on the screen. | ||||
| * \param outY: The y-coordinate on the screen. | * \param outY: The y-coordinate on the screen. | ||||
| */ | */ | ||||
| void clientToScreen(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const; | void clientToScreen(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const; | ||||
| /** | /** | ||||
| * Converts a point in screen coordinates to client rectangle coordinates | * Converts a point in client rectangle coordinates to screen coordinates. | ||||
| * but without the y coordinate conversion needed for ghost compatibility. | * but without the y coordinate conversion needed for ghost compatibility. | ||||
| * \param inX: The x-coordinate in the client rectangle. | * \param inX: The x-coordinate in the client rectangle. | ||||
| * \param inY: The y-coordinate in the client rectangle. | * \param inY: The y-coordinate in the client rectangle. | ||||
| * \param outX: The x-coordinate on the screen. | * \param outX: The x-coordinate on the screen. | ||||
| * \param outY: The y-coordinate on the screen. | * \param outY: The y-coordinate on the screen. | ||||
| */ | */ | ||||
| void clientToScreenIntern(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const; | void clientToScreenIntern(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const; | ||||
| /** | /** | ||||
| * Converts a point in screen coordinates to client rectangle coordinates, | * Converts a point in screen coordinates to client rectangle coordinates, | ||||
| * but without the y coordinate conversion needed for ghost compatibility. | * but without the y coordinate conversion needed for ghost compatibility. | ||||
| * \param inX: The x-coordinate in the client rectangle. | * \param inX: The x-coordinate on the screen. | ||||
| * \param inY: The y-coordinate in the client rectangle. | * \param inY: The y-coordinate on the screen. | ||||
| * \param outX: The x-coordinate on the screen. | * \param outX: The x-coordinate in the client rectangle. | ||||
| * \param outY: The y-coordinate on the screen. | * \param outY: The y-coordinate in the client rectangle. | ||||
| */ | */ | ||||
| void screenToClientIntern(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const; | void screenToClientIntern(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const; | ||||
| /** | /** | ||||
| * Gets the screen the window is displayed in | * Gets the screen the window is displayed in | ||||
| * \return The NSScreen object | * \return The NSScreen object | ||||
| */ | */ | ||||
| NSScreen *getScreen(); | NSScreen *getScreen(); | ||||
| ▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines | |||||