- VideoWindow(int v_width,
- int v_height,
- BRect frame,
- vout_thread_t *p_vout);
- virtual ~VideoWindow();
-
- // BWindow
- virtual void MessageReceived(BMessage* message);
- virtual void Zoom(BPoint origin,
- float width, float height);
- virtual void FrameResized(float width, float height);
- virtual void FrameMoved(BPoint origin);
- virtual void ScreenChanged(BRect frame,
- color_space mode);
- virtual void WindowActivated(bool active);
-
- // VideoWindow
- void drawBuffer(int bufferIndex);
-
- void ToggleInterfaceShowing();
- void SetInterfaceShowing(bool showIt);
-
- void SetCorrectAspectRatio(bool doIt);
- bool CorrectAspectRatio() const;
- void ToggleFullScreen();
- void SetFullScreen(bool doIt);
- bool IsFullScreen() const;
- void SetOnTop(bool doIt);
- bool IsOnTop() const;
- void SetSyncToRetrace(bool doIt);
- bool IsSyncedToRetrace() const;
- inline status_t InitCheck() const
- { return fInitStatus; }
+ VideoWindow(int v_width,
+ int v_height,
+ BRect frame,
+ vout_thread_t *p_vout);
+ virtual ~VideoWindow();
+
+ // BWindow
+ virtual void MessageReceived(BMessage* message);
+ virtual void Zoom(BPoint origin,
+ float width, float height);
+ virtual void FrameResized(float width, float height);
+ virtual void FrameMoved(BPoint origin);
+ virtual void ScreenChanged(BRect frame,
+ color_space mode);
+ virtual void WindowActivated(bool active);
+
+ // VideoWindow
+ void drawBuffer(int bufferIndex);
+
+ void ToggleInterfaceShowing();
+ void SetInterfaceShowing(bool showIt);
+
+ void SetCorrectAspectRatio(bool doIt);
+ bool CorrectAspectRatio() const;
+ void ToggleFullScreen();
+ void SetFullScreen(bool doIt);
+ bool IsFullScreen() const;
+ void SetOnTop(bool doIt);
+ bool IsOnTop() const;
+ void SetSyncToRetrace(bool doIt);
+ bool IsSyncedToRetrace() const;
+ inline status_t InitCheck() const
+ { return fInitStatus; }