Lumiera  0.pre.03
»edit your freedom«
video-display-widget.hpp
Go to the documentation of this file.
1 /*
2  VIDEO-DISPLAY-WIDGET.hpp - GUI widget for displaying video
3 
4  Copyright (C)
5  2008, Joel Holdsworth <joel@airwebreathe.org.uk>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 */
13 
14 
23 #ifndef STAGE_WIDGET_VIDEO_DISPLAY_WIDGET_H
24 #define STAGE_WIDGET_VIDEO_DISPLAY_WIDGET_H
25 
26 #include "stage/gtk-base.hpp"
28 
29 
30 using namespace stage::output;
31 
32 namespace stage {
33 namespace widget {
34 
42  : public Gtk::DrawingArea
43  {
44  Displayer* displayer_;
45 
46  public:
49 
50  Displayer* getDisplayer() const;
51 
52 
53  private: /* ===== Overrides ===== */
54  virtual void on_realize() override;
55 
56 
57  private: /* ===== Internals ===== */
58  static Displayer*
59  createDisplayer (Gtk::Widget* drawingArea, int width, int height);
60  };
61 
62 
63 }}// stage::widget
64 #endif /*STAGE_WIDGET_VIDEO_DISPLAY_WIDGET_H*/
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37
Video output implementation.
Definition: gtk-base.hpp:137
The Displayer serves as base of all video display implementations.
A set of basic GTK includes for the UI.
A Displayer is a class which is responsible for rendering an image in some way (ie: Xvideo...
Definition: displayer.hpp:65