stardot / MatrixBrandy

Matrix Brandy BASIC VI for Linux, Windows, MacOSX
http://brandy.matrixnetwork.co.uk/
43 stars 8 forks source link

Pointer vanishes over window #20

Closed jgharston closed 5 years ago

jgharston commented 5 years ago

The pointer vanishes when you move it over the output window. Rather disconcerting!

soruk42 commented 5 years ago

As on RISC OS, when you select a screen mode the mouse is off by default. Type MOUSE ON to display the pointer.

soruk42 commented 5 years ago

While not enabled by default as this contradicts RISC OS behaviour, I've added a compile time option (add -DSHOWMOUSE to makefile) that causes the mouse pointer to be displayed on startup and mode change.

Edit: This is DELETED. See below for updated implementation

jgharston commented 5 years ago

Michael McConnell wrote:

As on RISC OS, when you select a screen mode the mouse is off by default. Type MOUSE ON to display the pointer.

But I haven't selected a screen mode, I've started a windowed multi-tasking instance of Basic, in a multitasking windowed environment, and the pointer should be visible, see: http://mdfs.net/temp/pointer.gif

If in a full-screen mode, then yes, the pointer should by default be invisible, but it is not in a full-screen mode.

Plus, it's damn confusing not knowing where the pointer is.

-- J.G.Harston - jgh@mdfs.net - mdfs.net/jgh

soruk42 commented 5 years ago

While I disagree with the premise of not having selected a screen mode - it selects a mode on startup (specifically, mode 0), akin to an Archimedes or RPC starting when configured to boot ito BASIC rather than the desktop, it selects the mode set in *CONFIGURE MODE - I get that it is confusing to lose the pointer over the window.

(Task Window isn't an accurate comparison, you can't change mode or do graphics in it)

I've pushed a change to mainline that defaults the mouse to ON upon startup or mode change when windowed, and OFF when fullscreen.

jgharston commented 5 years ago

Thanks for that, I'll grab the updates. (Bit fiddly ATM as Git won't let me up/download anything from my programming PC, I have to do everything from my laptop.)

jgharston commented 5 years ago

Works nicely now, issue can be closed.