rendering took msg, bg render active test, crikey show window
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mwindowgui.h
index f3c1dfea9f0a116e5b8c91ab370279fc0ca61f40..5b8d6bfee937f592c84c3ef983a4e889df35ec2a 100644 (file)
@@ -2,21 +2,21 @@
 /*
  * CINELERRA
  * Copyright (C) 1997-2014 Adam Williams <broadcast at earthling dot net>
- * 
+ *
  * 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);
@@ -129,10 +129,12 @@ public:
        void set_meter_format(int mode, int min, int max);
 
        int translation_event();
+       int cursor_enter_event();
        int resize_event(int w, int h);          // handle a resize event
+       int button_release_event();
        int keypress_event();
        int keyboard_listener(BC_WindowBase *wp);
-       int keyboard_listener(int key);
+       int key_listener(int key);
        void use_android_remote(int on);
        int close_event();
        int quit();
@@ -141,7 +143,10 @@ public:
        int menu_w();
        int menu_h();
 // Draw on the status bar only.
-       int show_message(char *message, int color = -1);
+       void show_message(const char *message, int color = -1);
+       void set_default_message(const char *message);
+       void reset_default_message();
+       void default_message();
 // Pop up a box if the statusbar is taken and show an error.
        void show_error(char *message, int color = BLACK);
        int repeat_event(int64_t duration);
@@ -155,7 +160,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();
@@ -192,6 +197,7 @@ public:
        PluginPopup *plugin_menu;
        KeyframePopup *keyframe_menu;
        KeyframeHidePopup *keyframe_hide;
+       BC_SubWindow *keyvalue_popup;
        TransitionPopup *transition_menu;
 
        MainClock *mainclock;
@@ -222,7 +228,6 @@ public:
 
        BC_DragWindow *drag_popup;
 
-
 //     PatchBay *patchbay;
 //     MTimeBar *timebar;
 //     SampleScroll *samplescroll;