Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
null-displayer.hpp
Go to the documentation of this file.
1/*
2 NULL-DISPLAYER.hpp - fallback video displayer to not display video at all
3
4 Copyright (C)
5 2025, Hermann Vosseler <Ichthyostega@web.de>
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_OUTPUT_NULL_DISPLAYER_H
24#define STAGE_OUTPUT_NULL_DISPLAYER_H
25
26#include "stage/gtk-base.hpp"
28
29namespace Gtk {
30 class Widget;
31}
32
33namespace stage {
34namespace output {
35
41 : public Displayer
42 {
43 public:
44
45 NullDisplayer (Gtk::Widget& drawing_area, uint width, uint height );
46
48 void put (void* const image) override;
49
50 protected:
51
53 bool usable() override { return true; }
54
55 private:
56
57 Gtk::Widget& drawingArea_;
58 };
59
60
61
62}} // namespace stage::output
63#endif /*STAGE_OUTPUT_NULL_DISPLAYER_H*/
A Displayer is a class which is responsible for rendering an image in some way (ie: Xvideo,...
Definition displayer.hpp:62
NullDisplayer implements the Displayer interface without any actual display.
void put(void *const image) override
NULL-implementation: accept anything, do nothing.
bool usable() override
NullDisplayer is always „usable“.
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