Bug 409 - Add setCursor() (like AWT) to disable/modifiy cursor for a NEWT window
Summary: Add setCursor() (like AWT) to disable/modifiy cursor for a NEWT window
Status: VERIFIED FIXED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P5 enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2010-09-07 05:50 CEST by Demoscene Passivist
Modified: 2011-12-02 07:57 CET (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
24e0591b6be036d5389cc1eb986ed5e86043ba65 600ebcac40ee2d13947701fffc51ea93887db89c
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Demoscene Passivist 2010-09-07 05:50:54 CEST
Theres currently no way to disable/modify the cursor in a NEWT window. This is especially disturbing in NEWTs fullscreen mode, as theres always the mouse cursor visible. 

So my request for NEWT enhancemnt is: Either implement a method to completely disable the cursor (at least in fullscreen mode) or add a setCursor() method similar to AWTs Component.setCursor() method.
Comment 1 Sven Gothel 2011-10-10 08:50:59 CEST
Implemented via 3 features:

    NEWT: Add pointer features: visibility, confined and warp (move)
    
    visibility:
      - set pointer visible or invisible
    
    confined:
      - confine pointer to window, or not
    
    warp:
      - set mouse position within the window


24e0591b6be036d5389cc1eb986ed5e86043ba65
600ebcac40ee2d13947701fffc51ea93887db89c

TODO: OSX, Android (limited)
Comment 2 Sven Gothel 2011-11-18 09:11:10 CET
android: NOP