Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / bitspopup.h
blobddfd902ad23ffefbe0608fd6da642a2eaddd9bd3
1 #ifndef BITSPOPUP_H
2 #define BITSPOPUP_H
4 #include "guicast.h"
6 class BitsPopupMenu;
7 class BitsPopupText;
9 class BitsPopup : public BC_RelocatableWidget
11 public:
12 BitsPopup(BC_WindowBase *parent_window,
13 int x,
14 int y,
15 int *output,
16 int use_ima4,
17 int use_ulaw,
18 int use_adpcm,
19 int use_float,
20 int use_32linear);
21 ~BitsPopup();
22 int create_objects();
23 int get_w();
24 int get_h();
26 int reposition_widget(int x, int y, int w = -1, int h = -1);
28 BitsPopupMenu *menu;
29 ArrayList<BC_ListBoxItem*> bits_items;
30 BitsPopupText *textbox;
31 int x, y, use_ima4, use_ulaw, use_float, use_adpcm, *output;
32 int use_32linear;
33 BC_WindowBase *parent_window;
36 class BitsPopupMenu : public BC_ListBox
38 public:
39 BitsPopupMenu(BitsPopup *popup, int x, int y);
40 int handle_event();
41 BitsPopup *popup;
44 class BitsPopupText : public BC_TextBox
46 public:
47 BitsPopupText(BitsPopup *popup, int x, int y);
48 int handle_event();
49 BitsPopup *popup;
56 #endif
58 // Local Variables:
59 // mode: C++
60 // c-file-style: "linux"
61 // End: