X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fstatusbar.h;h=726a08c24a6ba1e5e693257a8c4392ce3415dd1c;hb=4b6c39e6cf4a3fd9c1b347db6de686ab55d6cac8;hp=d20a93001241adadf6a94766a0c54e8682704cbf;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/statusbar.h b/cinelerra-5.1/cinelerra/statusbar.h index d20a9300..726a08c2 100644 --- a/cinelerra-5.1/cinelerra/statusbar.h +++ b/cinelerra-5.1/cinelerra/statusbar.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 STATUSBAR_H @@ -33,17 +33,21 @@ class StatusBar : public BC_SubWindow public: StatusBar(MWindow *mwindow, MWindowGUI *gui); ~StatusBar(); - - void set_message(char *text); + + void set_message(const char *text, int color=-1); + void set_default_message(const char *text); + void reset_default_message(); void default_message(); + void create_objects(); void resize_event(); - + MWindow *mwindow; MWindowGUI *gui; BC_ProgressBar *main_progress; StatusBarCancel *main_progress_cancel; BC_Title *status_text; + char default_msg[BCTEXTLEN]; }; class StatusBarCancel : public BC_Button