-
Notifications
You must be signed in to change notification settings - Fork 10
/
BSCWindow.h
50 lines (40 loc) · 1.06 KB
/
BSCWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* Copyright 2013-2023, Stefano Ceccherini <[email protected]>
* All rights reserved. Distributed under the terms of the MIT license.
*/
#ifndef __BSCWINDOW_H
#define __BSCWINDOW_H
#include <DirectWindow.h>
#include <Locker.h>
#include <Messenger.h>
class BButton;
class BMenuBar;
class BStringView;
class BTabView;
class CamStatusView;
class BSCWindow : public BDirectWindow {
public:
BSCWindow();
~BSCWindow();
virtual void DispatchMessage(BMessage *, BHandler *);
virtual bool QuitRequested();
virtual void MessageReceived(BMessage *);
virtual void ScreenChanged(BRect screen_size, color_space depth);
virtual void DirectConnected(direct_buffer_info *info);
virtual void MenusBeginning();
private:
void _BuildMenu();
void _LayoutWindow();
status_t _CaptureStarted();
status_t _CaptureFinished();
BMenuBar* fMenuBar;
BTabView *fTabView;
BButton *fStartStopButton;
BButton *fPauseButton;
CamStatusView *fCamStatus;
BView* fOutputView;
BView* fAdvancedOptionsView;
BView* fInfoView;
BMessenger fAddonMessenger;
};
#endif // __BSCWINDOW_H