X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindowgui.h;h=2d5fd10cbe97d419e89532b59668b7943e79338a;hb=38cb4182e11e57fc426bede3825e825e9d61433b;hp=066ef452aa4bfdfd5d8d560104c3cab8cbdce185;hpb=2ba7e9962ea989863e152373e96a09b00a0b4eb8;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/mwindowgui.h b/cinelerra-5.1/cinelerra/mwindowgui.h index 066ef452..2d5fd10c 100644 --- a/cinelerra-5.1/cinelerra/mwindowgui.h +++ b/cinelerra-5.1/cinelerra/mwindowgui.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 1997-2014 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 MAINWINDOWGUI_H @@ -99,10 +99,10 @@ public: // FORCE_REDRAW for delete and redraw of resources // IGNORE_THREAD to ignore picon thread void update(int scrollbars, - int do_canvas, + int do_canvas, int timebar, int zoombar, - int patchbay, + int patchbay, int clock, int buttonbar); void draw_overlays(int flash_it); @@ -142,8 +142,10 @@ public: int menu_w(); int menu_h(); // Draw on the status bar only. - int show_message(char *message, int color = -1); -// Pop up a box if the statusbar is taken and show an error. + void show_message(const char *message, int color=-1); + void update_default_message(); + void reset_default_message(); + void default_message(); void show_error(char *message, int color = BLACK); int repeat_event(int64_t duration); // Entry point for drag events in all windows @@ -156,7 +158,7 @@ public: // 1 if there are 2 panes horizontally int horizontal_panes(); -// get pane number where cursor updates should be drawn in, +// get pane number where cursor updates should be drawn in, // whether active or not TimelinePane* get_focused_pane(); void start_x_pane_drag();