----- Original Message -----<br>From: Micah Francis Galizia <mfgalizi @uwo.ca=""><br>Date: Monday, March 13, 2006 3:57 pm<br>Subject: Re: [mythtv] Question regarding the mouse support<br>To: Development of mythtv <mythtv-dev @mythtv.org=""><br><br>> <br>> <br>> ----- Original Message -----<br>> From: florin baiduc <br>> Date: Monday, March 13, 2006 9:45 am<br>> Subject: Re: [mythtv] Question regarding the mouse support<br>> To: Development of mythtv <br>> <br>> > I beg to differ!<br>> > The gestures can be very easily assigned to any Myth action <br>> (one or<br>> > more keypresses). That is not my intention for the moment.<br>> > I intend to use the simple click on the buttons or menuitems for<br>> > activating those item. The only gesture I would need for that <br>> > would be<br>> > the click, but, on the other hand, I need to find out how to <br>> > focus the<br>> > element under the mouse - that's why I was looking into the<br>> > myththemendmenu files.<br>> > My question was how to do that?. The existing mainmenu API doesn't<br>> > have a lot of support for the this (or does it?)<br><br>
I should clarify that I'm talking about the new UI. This doesn't apply to the current release.<br>
<br>> As for easy assignment, yes, it would be easy to assigned clicks <br>> and gestures statically to actions, but that wouldn't be very <br>> flexible, would it? As for determining which element UI element <br>> is focused, the code already does that, see <br>> MythMainWindow::eventFilter method.<br>> <br>> So, as I was saying, all you need to do is translate the gesture <br>> (which includes single mouse clicks) into an appropriate action, <br>> and pass it off to the appropriate receiver.<br>> <br>> > On 3/13/06, Micah F. Galizia wrote:<br>> > <br>> > > Right now, the new UI can recognize mouse gestures. Last I <br>> > checked, all<br>> > > that was needed was to convert those into events that Myth <br>> can <br>> > translate> into actions.<br>> > ><br>> > <br>> > > Cheers<br>> > > - --<br>> > > Micah F. Galizia<br>> > > mfgalizi@uwo.ca<br>> > ><br>> > > "The mark of an immature man is that he wants to die nobly <br>> for <br>> > a cause,<br>> > > while the mark of the mature man is that he wants to live <br>> > humbly for<br>> > > one." --W. Stekel<br>> > > -----BEGIN PGP SIGNATURE-----<br>> > > Version: GnuPG v1.4.2.2 (GNU/Linux)<br>> > > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org<br>> > ><br>> > > iD8DBQFEFXEMfZqZRvBjAbwRArdLAJ9dgW3TRFwIL1mRbLYBPNUdYfIXugCcDXpJ<br>> > > b4GI1WOXwXMs1421tjCYmqI=<br>> > > =YKiU<br>> > > -----END PGP SIGNATURE-----<br>> > > _______________________________________________<br>> > > mythtv-dev mailing list<br>> > > mythtv-dev@mythtv.org<br>> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev<br>> > ><br>> > _______________________________________________<br>> > mythtv-dev mailing list<br>> > mythtv-dev@mythtv.org<br>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev<br>> > <br>> </mythtv-dev></mfgalizi>