Lumiera  0.pre.03
»edit your freedom«
gdkdisplayer.hpp
Go to the documentation of this file.
1 /*
2  GDKDISPLAYER.hpp - displaying video via GDK
3 
4  Copyright (C)
5  2000, Arne Schirmacher <arne@schirmacher.de>
6  2001-2007, Dan Dennedy <dan@dennedy.org>
7  2008, Joel Holdsworth <joel@airwebreathe.org.uk>
8 
9   **Lumiera** is free software; you can redistribute it and/or modify it
10   under the terms of the GNU General Public License as published by the
11   Free Software Foundation; either version 2 of the License, or (at your
12   option) any later version. See the file COPYING for further details.
13 
14 */
15 
16 
24 #ifndef STAGE_OUTPUT_GDKDISPLAYER_H
25 #define STAGE_OUTPUT_GDKDISPLAYER_H
26 
27 #include "stage/gtk-base.hpp"
29 
30 namespace Gtk {
31  class Widget;
32 }
33 
34 namespace stage {
35 namespace output {
36 
46  : public Displayer
47  {
48  public:
49 
59  GdkDisplayer (Gtk::Widget* drawing_area, int width, int height );
60 
66  void put (void* const image);
67 
68  protected:
69 
74  bool usable();
75 
76  private:
77 
82  Gtk::Widget* drawingArea;
83  };
84 
85 
86 
87 }} // namespace stage::output
88 #endif /*STAGE_OUTPUT_GDKDISPLAYER_H*/
Gtk::Widget * drawingArea
The widget that video will be drawn into.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37
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
GdkDisplayer is a class which is responsible for rendering a video image via GDK. ...