Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / guicast / bcpopup.C
blob8153397be75476a60fb62d31515c5cd7d0935643
1 #include "bcpopup.h"
4 BC_FullScreen::BC_FullScreen(BC_WindowBase *parent_window, int w, int h, 
5                            int bg_color,
6                            int vm_scale,
7                            int hide,
8                            BC_Pixmap *bg_pixmap)
9  : BC_WindowBase()
11 #ifdef HAVE_LIBXXF86VM
12    if (vm_scale) 
13            create_window(parent_window,
14                            "Fullscreen", 
15                            0,
16                            0,
17                            w, 
18                            h, 
19                            w, 
20                            h, 
21                            0,
22                            parent_window->top_level->private_color,
23                            hide,
24                            bg_color,
25                            NULL,
26                            VIDMODE_SCALED_WINDOW,
27                            bg_pixmap,
28                            0);
29    else
30 #endif
31    create_window(parent_window,
32                            "Fullscreen", 
33                            0,
34                            0,
35                            w, 
36                            h, 
37                            w, 
38                            h, 
39                            0,
40                            parent_window->top_level->private_color, 
41                            hide,
42                            bg_color,
43                            NULL,
44                            POPUP_WINDOW,
45                            bg_pixmap,
46                            0);
50 BC_FullScreen::~BC_FullScreen()
55 BC_Popup::BC_Popup(BC_WindowBase *parent_window, 
56                                 int x,
57                                 int y,
58                                 int w, 
59                                 int h, 
60                                 int bg_color,
61                                 int hide,
62                                 BC_Pixmap *bg_pixmap)
63  : BC_WindowBase()
65         create_window(parent_window,
66                                 "Popup", 
67                                 x,
68                                 y,
69                                 w, 
70                                 h, 
71                                 w, 
72                                 h, 
73                                 0,
74                                 parent_window->top_level->private_color, 
75                                 hide,
76                                 bg_color,
77                                 NULL,
78                                 POPUP_WINDOW,
79                                 bg_pixmap,
80                                 0);
84 BC_Popup::~BC_Popup()
89 //      Local Variables:
90 //      mode: C++
91 //      c-file-style: "linux"
92 //      End: