[haiku-bugs] Re: [Haiku] #6562: [MediaPlayer] needs more shortcuts in playlist window

  • From: "gbonvehi" <trac@xxxxxxxxxxxx>
  • Date: Mon, 06 Jan 2014 10:55:57 -0000

#6562: [MediaPlayer] needs more shortcuts in playlist window
----------------------------------------+----------------------------
   Reporter:  diver                     |      Owner:  stippi
       Type:  enhancement               |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/MediaPlayer  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by gbonvehi):

 I'm attaching a patch with adds some simple shortcuts Space (toggle play),
 Enter (start playing selected item), Left/Right seek and Esc (stop).
 I had to duplicate some code since I couldn't follow all the logic in the
 program, I couldn't access ControllerView from PlaylistListView and the
 first contains some logic to skip/seek.
 It's working but if someone could refactor it better I'd be nicer.

--
Ticket URL: <http://dev.haiku-os.org/ticket/6562#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: