X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcpopupmenu.h;h=db79d20211d82aab797d50bd18c1e15eb052c292;hp=1d683835c0d2f0020ae5e2904b0e79d22f6942ee;hb=a64e7d16c44bba0d137936227fc55871bb26c903;hpb=ab958f323d68316c450ef81ba296536580620163 diff --git a/cinelerra-5.1/guicast/bcpopupmenu.h b/cinelerra-5.1/guicast/bcpopupmenu.h index 1d683835..db79d202 100644 --- a/cinelerra-5.1/guicast/bcpopupmenu.h +++ b/cinelerra-5.1/guicast/bcpopupmenu.h @@ -64,11 +64,11 @@ public: int total_items(); BC_MenuItem* get_item(int i); // Set title of menu - void set_text(const char *text); + void set_text(const char *text, int color=-1); // Set icon of menu. Disables text. void set_icon(BC_Pixmap *pixmap); // Draw title of menu - int draw_title(int flush); + int draw_title(int flush, int color=-1); int reposition_window(int x, int y); int deactivate(); int activate_menu();