X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fstatusbar.h;h=eac565949f8f38b61b06e8a36503f8e43bb0f068;hb=0513350234a8dcd08e5a0117d5121724ef7b76b6;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..eac56594 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,22 @@ class StatusBar : public BC_SubWindow public: StatusBar(MWindow *mwindow, MWindowGUI *gui); ~StatusBar(); - - void set_message(char *text); + + void show_message(const char *text, int color=-1); + void update_default_message(); + 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; + int status_color; + char default_msg[BCTEXTLEN]; }; class StatusBarCancel : public BC_Button