[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] mouse stuff (you guys are gonna kill me for this one)
From: |
fist_187 |
Subject: |
Re: [RP] mouse stuff (you guys are gonna kill me for this one) |
Date: |
Mon Sep 22 18:56:07 2003 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210 |
John Meacham wrote:
I have a much less ambitious request for mouse functionality. namely, I
would like mouse clicks to cancel command mode.
i guess what it boils down to is i'd like to be able to bind the mouse
buttons like i bind the keys in .ratposionrc
bind C-g abort
bind mouseleft abort
then, the only other addition to the code would be determining what
frame corresponds to the mouse x and y at the time of the click.
probably not too tough. the code might flow something like this:
1. user does C-t + mousebutton
2. determine frame from mouse x and y
3. make that the current frame
and if you decide to implement commands that act on the frame under the
mouse, (for example ":next"/":prev:"/":select -"/":other"), do these too:
4. execute the specified ":command"
5. do a ":focuslast"
thats all!
maybe --enable-mousebinds as a build option to keep everyone happy?
-ian
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), (continued)
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), Justis Peters, 2003/09/22
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), fist_187, 2003/09/22
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), Chris Beggy, 2003/09/22
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), Shawn Betts, 2003/09/24
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), Chris Beggy, 2003/09/24
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), Joe Corneli, 2003/09/22
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), Justis Peters, 2003/09/23
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), twb, 2003/09/23
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), Rupert Levene, 2003/09/24
- Re: [RP] mouse stuff (you guys are gonna kill me for this one), John Meacham, 2003/09/22
- Re: [RP] mouse stuff (you guys are gonna kill me for this one),
fist_187 <=