X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcmenu.h;h=0cd50b9d6197080bd16e80f01eadcbb032de564b;hb=a94468d6de897136e77c70662177f4b8b4454b6b;hp=788f68983b380532510c5ab9095ecebd84db588f;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bcmenu.h b/cinelerra-5.1/guicast/bcmenu.h index 788f6898..0cd50b9d 100644 --- a/cinelerra-5.1/guicast/bcmenu.h +++ b/cinelerra-5.1/guicast/bcmenu.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 BCMENU_H @@ -50,8 +50,8 @@ public: // Called by user to add items int add_item(BC_MenuItem* menuitem); // Remove the item ptr and the object - int remove_item(BC_MenuItem* item = 0); - int total_menuitems(); + int del_item(BC_MenuItem* item=0); + int total_items(); int set_text(char *text); // Called by BC_Menubar @@ -79,7 +79,7 @@ private: BC_MenuPopup *menu_popup; int highlighted; // Dimensions relative to menubar. - int x, y, w, h; + int x, y, w, h; };