mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
@@ -1458,6 +1458,9 @@ typedef struct GLFWgammaramp
|
||||
} GLFWgammaramp;
|
||||
|
||||
/*! @brief Image data.
|
||||
*
|
||||
* This describes a single 2D image. See the documentation for each related
|
||||
* function what the expected pixel format is.
|
||||
*
|
||||
* @sa @ref cursor_custom
|
||||
* @sa @ref window_icon
|
||||
@@ -2323,6 +2326,10 @@ GLFWAPI void glfwSetWindowTitle(GLFWwindow* window, const char* title);
|
||||
* selected. If no images are specified, the window reverts to its default
|
||||
* icon.
|
||||
*
|
||||
* The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight
|
||||
* bits per channel with the red channel first. They are arranged canonically
|
||||
* as packed sequential rows, starting from the top-left corner.
|
||||
*
|
||||
* The desired image sizes varies depending on platform and system settings.
|
||||
* The selected images will be rescaled as needed. Good sizes include 16x16,
|
||||
* 32x32 and 48x48.
|
||||
@@ -3726,8 +3733,8 @@ GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos);
|
||||
* Any remaining cursors are destroyed by @ref glfwTerminate.
|
||||
*
|
||||
* The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight
|
||||
* bits per channel. They are arranged canonically as packed sequential rows,
|
||||
* starting from the top-left corner.
|
||||
* bits per channel with the red channel first. They are arranged canonically
|
||||
* as packed sequential rows, starting from the top-left corner.
|
||||
*
|
||||
* The cursor hotspot is specified in pixels, relative to the upper-left corner
|
||||
* of the cursor image. Like all other coordinate systems in GLFW, the X-axis
|
||||
|
||||
Reference in New Issue
Block a user