set_mouse_sprite_focus(3alleg4)

set_mouse_sprite_focus3alleg4

Sets the mouse sprite focus. allegro game programming library.

Usage

#include <allegro.h>

void set_mouse_sprite_focus(int x, int y);

Overview

The mouse focus is the bit of the pointer that represents the actual mouse position, ie. the (mouse_x, mouse_y) position. By default this is the top left corner of the arrow, but if you are using a different mouse pointer you might need to alter it.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.