Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
pixbuf-displayer.hpp
Go to the documentation of this file.
1/*
2 PIXBUF-DISPLAYER.hpp - displaying video via bitmap image
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 2025, Hermann Vosseler <Ichthyostega@web.de>
9
10  **Lumiera** is free software; you can redistribute it and/or modify it
11  under the terms of the GNU General Public License as published by the
12  Free Software Foundation; either version 2 of the License, or (at your
13  option) any later version. See the file COPYING for further details.
14
15*/
16
17
25#ifndef STAGE_OUTPUT_PIXBUF_DISPLAYER_H
26#define STAGE_OUTPUT_PIXBUF_DISPLAYER_H
27
28#include "stage/gtk-base.hpp"
30
31namespace Gtk {
32 class Widget;
33}
34
35namespace stage {
36namespace output {
37
45 : public Displayer
46 {
47 Gtk::Image& drawingArea_;
48
49 public:
50
60 PixbufDisplayer (Gtk::Image& drawing_area, uint width, uint height );
61
62 private:
68 void put (void* const image);
69
70 bool usable() override;
71
72 DisplayerInput format() override
73 {
75 }
76 };
77
78
79
80}} // namespace stage::output
81#endif /*STAGE_OUTPUT_PIXBUF_DISPLAYER_H*/
A Displayer is a class which is responsible for rendering an image in some way (ie: Xvideo,...
Definition displayer.hpp:62
PixbufDisplayer is a class which is responsible for rendering a video image via GDK.
bool usable() override
Indicates if this object can be used to render images on the running system.
DisplayerInput format() override
Indicates the format required by the abstract put method.
void put(void *const image)
Put an image of a given width and height with the expected input format (as indicated by the format m...
The Displayer serves as base of all video display implementations.
A set of basic GTK includes for the UI.
unsigned int uint
Definition integral.hpp:29
Lumiera GTK UI implementation root.
Definition guifacade.cpp:37