]> git.sesse.net Git - vlc/blob - plugins/beos/window.h
-Fixed bugs in title/chapter handling once more, especially for size
[vlc] / plugins / beos / window.h
1 /*****************************************************************************
2  * window.h: BeOS window class prototype
3  *****************************************************************************
4  * Copyright (C) 1999, 2000 VideoLAN
5  *
6  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  * 
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
21  *****************************************************************************/
22
23 class VideoWindow : public BWindow
24 {
25 public:
26     // standard constructor and destructor
27     VideoWindow( BRect frame, const char *name,
28                  struct vout_thread_s *p_video_output); 
29     ~VideoWindow();
30
31     // standard window member
32     virtual bool    QuitRequested();
33     virtual void    FrameResized(float width, float height);
34     virtual void    MessageReceived(BMessage *message);
35  
36     struct vout_thread_s   *p_vout;
37     BView * p_view;
38      
39     // additional events
40     bool            b_resized;
41 };
42
43 class InterfaceWindow : public BWindow
44 {
45 public:
46     InterfaceWindow( BRect frame, const char *name, intf_thread_t  *p_intf );
47     ~InterfaceWindow();
48
49     // standard window member
50     virtual bool    QuitRequested();
51     virtual void    MessageReceived(BMessage *message);
52     
53     intf_thread_t  *p_intf;
54 };
55
56 class InterfaceView : public BView
57 {
58 public:
59     InterfaceView();
60     ~InterfaceView();
61
62     virtual void    MessageReceived(BMessage *message);
63    
64 };