32 , drawingArea_{drawing_area}
36 cout <<
"NullDisplayer("<<&drawing_area<<
"): "<<width<<
" x "<<height<<endl;
50 video_x, video_y, video_width, video_height);
53 REQUIRE (window !=
NULL);
54 cout <<
"put("<<
util::showAdr(image)<<
")\t x="<<video_x<<
" y="<<video_y<<
" w:"<<video_width<<
" h:"<<video_height<<endl;
A Displayer is a class which is responsible for rendering an image in some way (ie: Xvideo,...
void calculateVideoLayout(int widgetWidth, int widgetHeight, int &imgOrg_x, int &imgOrg_y, int &imgWidth, int &imgHeight)
Calculates the coordinates for placing a video image inside a widget.
Gtk::Widget & drawingArea_
void put(void *const image) override
NULL-implementation: accept anything, do nothing.
NullDisplayer(Gtk::Widget &drawing_area, uint width, uint height)
A set of basic GTK includes for the UI.
Lumiera GTK UI implementation root.
ostream & showAdr(ostream &stream, void const *addr)
preconfigured format for pretty-printing of addresses
Passive deactivated video displayer.