Themed menus: Implement the cutlist editor menus. Refs #11533

Multimedia / MythTV - Jim Stichnoth [mythtv.org] - 16 May 2013 18:01 UTC

Provides an implementation of the main cutlist editor menu (menu_cutlist.xml), and the exit dialog menu (menu_cutlist_exit.xml).

There is a slight change in behavior - pressing SELECT within a cut region brings up the entire cutlist menu, rather than a subset. The original code suppresses the submenu entry at the end on the SELECT action. The original behavior could be restored by adding a third cutlist menu, or by designing a way to pass extra state to the menu builder.

To make this work seamlessly with existing action handlers, clumsy action names like DIALOG_CUTPOINT_NEWCUT_0 are preserved. This will need some cleanup.

There is one remaining cutlist-related menu that could be implemented
- the "already editing" dialog.

d0966af Themed menus: Implement the cutlist editor menus. Refs #11533
mythtv/libs/libmythtv/tv_play.cpp | 366 +++++++++++++++++----------
mythtv/libs/libmythtv/tv_play.h | 10 +-
mythtv/themes/default/menu_cutlist.xml | 35 +++
mythtv/themes/default/menu_cutlist_exit.xml | 8 +
4 files changed, 281 insertions(+), 138 deletions(-)

Upstream: github.com


  • Share