From: Good Guy Date: Tue, 27 Nov 2018 17:29:54 +0000 (-0700) Subject: add asset select used to proxy list menu X-Git-Tag: 2019-08~173 X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=5d3f23cd5b5e987c4ef926d776a08c3aae1fd9bc;p=goodguy%2Fcinelerra.git add asset select used to proxy list menu --- diff --git a/cinelerra-5.1/cinelerra/proxypopup.C b/cinelerra-5.1/cinelerra/proxypopup.C index 04a1bdae..db42404e 100644 --- a/cinelerra-5.1/cinelerra/proxypopup.C +++ b/cinelerra-5.1/cinelerra/proxypopup.C @@ -308,6 +308,13 @@ ProxyListMenu::~ProxyListMenu() void ProxyListMenu::create_objects() { add_item(format = new AWindowListFormat(mwindow, gui)); + add_item(select_used = new AssetSelectUsed(mwindow, gui)); + BC_SubMenu *submenu; + select_used->add_submenu(submenu = new BC_SubMenu()); + submenu->add_submenuitem(new AssetSelectUsedItem(select_used, _("All"), SELECT_ALL)); + submenu->add_submenuitem(new AssetSelectUsedItem(select_used, _("Used"), SELECT_USED)); + submenu->add_submenuitem(new AssetSelectUsedItem(select_used, _("Unused"), SELECT_UNUSED)); + submenu->add_submenuitem(new AssetSelectUsedItem(select_used, _("None"), SELECT_NONE)); add_item(new AWindowListSort(mwindow, gui)); update(); } diff --git a/cinelerra-5.1/cinelerra/proxypopup.h b/cinelerra-5.1/cinelerra/proxypopup.h index 5f03a793..49907e93 100644 --- a/cinelerra-5.1/cinelerra/proxypopup.h +++ b/cinelerra-5.1/cinelerra/proxypopup.h @@ -159,6 +159,7 @@ public: void create_objects(); void update(); AWindowListFormat *format; + AssetSelectUsed *select_used; MWindow *mwindow; AWindowGUI *gui; };