X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcmenuitem.h;h=5b40a05cbedb696935940be7f2d62861f76a4447;hb=b402ed7f93de4c98e6651483eb8561cf1c37ec9a;hp=5a2faf2139ecf761432b39b40f7c5473092e0344;hpb=93d60cc0fdf746cc03b4d7a9e45744c2c424439b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bcmenuitem.h b/cinelerra-5.1/guicast/bcmenuitem.h index 5a2faf21..5b40a05c 100644 --- a/cinelerra-5.1/guicast/bcmenuitem.h +++ b/cinelerra-5.1/guicast/bcmenuitem.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #ifndef BCMENUITEM_H @@ -50,7 +50,7 @@ public: void set_hotkey_text(const char *text); int set_shift(int value = 1); int set_alt(int value = 1); - void set_ctrl(int value); + void set_ctrl(int value = 1); int deactivate_submenus(BC_MenuPopup *exclude); int activate_submenu(); @@ -73,7 +73,7 @@ private: BC_MenuBar *menu_bar; BC_MenuPopup *menu_popup; // Submenu if this item owns one. - BC_SubMenu *submenu; + BC_SubMenu *submenu; // whether the cursor is over or not int highlighted; // whether the cursor is over and the button is down