Lumiera  0.pre.03
»edityourfreedom«
ViewerPanel Class Reference

#include "gui/panel/viewer-panel.hpp"

Description

A panel to display the video output.

Definition at line 42 of file viewer-panel.hpp.

Public Member Functions

 ViewerPanel (workspace::PanelManager &, Gdl::DockItem &)
 
- Public Member Functions inherited from Panel
 ~Panel ()
 
Gdl::DockItem & getDockItem ()
 
workspace::PanelManagergetPanelManager ()
 
void iconify ()
 
bool is_iconified () const
 
bool is_locked () const
 
bool is_shown () const
 
void lock (bool show=true)
 Locks or unlocks the panel against modifications. More...
 
void show (bool show=true)
 Shows or hides the panel. More...
 
sigc::signal< void > & signal_hidePanel ()
 fires when the dock item gets hidden. More...
 

Static Public Member Functions

static const gchar * getStockID ()
 
static const char * getTitle ()
 

Protected Member Functions

void on_frame (void *buffer)
 
- Protected Member Functions inherited from Panel
 Panel (workspace::PanelManager &, Gdl::DockItem &, const gchar *longName, const gchar *stockID)
 
workspace::WorkspaceWindowgetWorkspaceWindow ()
 

Protected Attributes

widget::VideoDisplayWidget display_
 widget to display the video content More...
 
- Protected Attributes inherited from Panel
Gdl::DockItem & dockItem_
 owner dock item widget that will host the widgets in this panel. More...
 
sigc::signal< void > hidePanelSignal_
 signal that fires when the dock item is hidden. More...
 
widget::PanelBar panelBar_
 panel bar to attach to the panel grip. More...
 
workspace::PanelManagerpanelManager_
 The owner panel manager object. More...
 

Private Attributes

ctrl::PlaybackController playbackController_
 

Constructor & Destructor Documentation

◆ ViewerPanel()

ViewerPanel ( workspace::PanelManager panelManager,
Gdl::DockItem &  dockItem 
)

Definition at line 43 of file viewer-panel.cpp.

References ViewerPanel::display_, ViewerPanel::on_frame(), ViewerPanel::playbackController_, DisplayService::setUp(), and PlaybackController::useDisplay().

+ Here is the call graph for this function:

Member Function Documentation

◆ getTitle()

const char * getTitle ( )
static

Definition at line 56 of file viewer-panel.cpp.

References _.

◆ getStockID()

const gchar * getStockID ( )
static

Definition at line 62 of file viewer-panel.cpp.

◆ on_frame()

void on_frame ( void *  buffer)
protected

Definition at line 68 of file viewer-panel.cpp.

References ViewerPanel::display_, VideoDisplayWidget::getDisplayer(), and Displayer::put().

Referenced by ViewerPanel::ViewerPanel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ playbackController_

ctrl::PlaybackController playbackController_
private

Definition at line 45 of file viewer-panel.hpp.

Referenced by ViewerPanel::ViewerPanel().

◆ display_

widget::VideoDisplayWidget display_
protected

widget to display the video content

Definition at line 60 of file viewer-panel.hpp.

Referenced by ViewerPanel::on_frame(), and ViewerPanel::ViewerPanel().

+ Inheritance diagram for ViewerPanel:
+ Collaboration diagram for ViewerPanel:

The documentation for this class was generated from the following files: