Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
viewer-panel.cpp
Go to the documentation of this file.
1/*
2 ViewerPanel - Dockable panel to hold the video display widgets and controls
3
4 Copyright (C)
5 2008, Joel Holdsworth <joel@airwebreathe.org.uk>
6 2025, Hermann Vosseler <Ichthyostega@web.de>
7
8  **Lumiera** is free software; you can redistribute it and/or modify it
9  under the terms of the GNU General Public License as published by the
10  Free Software Foundation; either version 2 of the License, or (at your
11  option) any later version. See the file COPYING for further details.
12
13* *****************************************************************/
14
15
20#include "stage/gtk-base.hpp"
22
24#include "stage/ui-bus.hpp"
25
26
27namespace stage {
28namespace panel {
29
31 ,Gdl::DockItem& dockItem)
32 : Panel{panelManager, dockItem, getTitle(), getStockID()}
33 , display_{}
34 , demoPlayback_{}
35 {
36 // wire control and frame-output signals...
39 demoPlayback_.output_.connect(
41
42 pack_start(display_, Gtk::PACK_EXPAND_WIDGET);
43 }
44
45 const char*
47 {
48 return _("Viewer");
49 }
50
51 const gchar*
53 {
54 return "panel_viewer";
55 }
56
57
58}}// namespace stage::panel
void activate(lumiera::DisplayerInput)
Signal slot to be called after the output window was created and the actually usable video display te...
sigc::signal< void(void *const)> output_
The base class for all dockable panels.
Definition panel.hpp:42
ctrl::DemoController demoPlayback_
static const char * getTitle()
ViewerPanel(workspace::PanelManager &, Gdl::DockItem &)
static const gchar * getStockID()
widget::VideoDisplayWidget display_
sigc::signal< void(DisplayerInput)> signal_activate
signal to configure the image generation format
void pushFrame(void *const)
signal slot to display the next frame
A class to manage DockItem objects for WorkspaceWindow.
A set of basic GTK includes for the UI.
#define _(String)
Definition gtk-base.hpp:68
Lumiera GTK UI implementation root.
Definition guifacade.cpp:37
Under construction: the top level UI controller.
Definition of a dockable panel to hold a video viewer.
This file contains the definition of the main workspace window parent, which is the toplevel parent o...