35 #ifndef STAGE_OUTPUT_DISPLAYER_H 36 #define STAGE_OUTPUT_DISPLAYER_H 100 virtual void put (
void*
const) =0;
119 int widget_width,
int widget_height,
120 int image_width,
int image_height,
121 int &video_x,
int &video_y,
int &video_width,
int &video_height );
virtual void put(void *const)=0
Put an image of a given width and height with the expected input format (as indicated by the format m...
static void calculateVideoLayout(int widget_width, int widget_height, int image_width, int image_height, int &video_x, int &video_y, int &video_width, int &video_height)
Calculates the coordinates for placing a video image inside a widget.
virtual int preferredHeight()
Expected height of input to put.
virtual DisplayerInput format()
Indicates the format required by the abstract put method.
virtual int preferredWidth()
Expected width of input to put.
Lumiera GTK UI implementation root.
virtual bool usable()
Indicates if this object can be used to render images on the running system.
DisplayerInput
Supported Displayer formats.
A Displayer is a class which is responsible for rendering an image in some way (ie: Xvideo...