INPUT - Add "Ctrl-F10 releases mouse" to titlebar (SDL1)

Here you can discuss the development of patches.

INPUT - Add "Ctrl-F10 releases mouse" to titlebar (SDL1)

Postby emendelson » 2013-9-13 @ 00:07

In another thread, I asked for help in adding a message to the DOSBox title bar when the mouse was locked inside the DOSBox window. Unless I'm missing something essential, it turns out to be ridiculously easy to do - at least it seems that way to me. Only three lines of code seem to be needed, and I'm not sure I really need all three.

Here's the diff file. In anyone thinks this is worth having, and can correct any errors or oversights, I'll be grateful.

Thanks again to ripsaw for pointing me in the right direction for this.
You do not have the required permissions to view the files attached to this post.
emendelson
Oldbie
 
Posts: 737
Joined: 2010-2-14 @ 02:00

Re: Add "Ctrl-F10 releases mouse" to titlebar

Postby Dominus » 2013-9-13 @ 05:59

Moved to patches ;)
User avatar
Dominus
DOSBox Moderator
 
Posts: 7540
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg

Re: Add "Ctrl-F10 releases mouse" to titlebar

Postby emendelson » 2013-9-13 @ 12:09

[quote="Dominus"]Moved to patches ;)[/quote]

Someday I'll figure out that I should have started here...!
emendelson
Oldbie
 
Posts: 737
Joined: 2010-2-14 @ 02:00

Re: Add "Ctrl-F10 releases mouse" to titlebar

Postby Dominus » 2013-9-13 @ 12:16

You can't ;)
It's blocked for topic creations to keep it somewhat clean ;)
User avatar
Dominus
DOSBox Moderator
 
Posts: 7540
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg

Re: Add "Ctrl-F10 releases mouse" to titlebar

Postby emendelson » 2013-9-13 @ 12:19

[quote="Dominus"]You can't ;)
It's blocked for topic creations to keep it somewhat clean ;)[/quote]

That makes me feel slightly less incompetent! ;)
emendelson
Oldbie
 
Posts: 737
Joined: 2010-2-14 @ 02:00


Return to DOSBox Patches

Who is online

Users browsing this forum: No registered users and 1 guest