mid-level output window abstraction. More...
Public Member Functions | |
Window (zbar_window_t *window=NULL) | |
constructor. More... | |
Window (void *x11_display_w32_hwnd, unsigned long x11_drawable) | |
constructor. More... | |
~Window () | |
void | attach (void *x11_display_w32_hwnd, unsigned long x11_drawable=0) |
associate reader with an existing platform window. More... | |
void | clear () |
clear the image from the output window. More... | |
void | draw (Image &image) |
retrieve current content level of reader overlay. More... | |
operator zbar_window_t * () const | |
cast to C window object. More... | |
void | redraw () |
redraw the last image. More... | |
void | resize (unsigned width, unsigned height) |
resize the image window. More... | |
void | set_overlay (int level) |
control content level of the reader overlay. More... | |
Private Attributes | |
zbar_window_t * | _window |
mid-level output window abstraction.
displays images to user-specified platform specific output window
|
inline |
constructor.
References _window, window, and zbar::zbar_window_create().
|
inline |
constructor.
References _window, attach(), and zbar::zbar_window_create().
|
inline |
associate reader with an existing platform window.
References _window, zbar::throw_exception(), and zbar::zbar_window_attach().
Referenced by zbar::QZBar::attach(), zbar::QZBar::changeEvent(), zbar::QZBar::QZBar(), and Window().
|
inline |
clear the image from the output window.
References _window, zbar::throw_exception(), and zbar::zbar_window_draw().
Referenced by zbar::QZBarThread::clear().
retrieve current content level of reader overlay.
see zbar_window_get_overlay() draw a new image into the output window. see zbar_window_draw()
References _window, zbar::throw_exception(), and zbar::zbar_window_draw().
Referenced by zbar::QZBarThread::processImage().
|
inline |
cast to C window object.
References _window.
|
inline |
redraw the last image.
References _window, zbar::throw_exception(), and zbar::zbar_window_redraw().
Referenced by zbar::QZBar::paintEvent().
|
inline |
resize the image window.
References _window, zbar::throw_exception(), and zbar::zbar_window_resize().
Referenced by zbar::QZBar::resizeEvent().
|
inline |
control content level of the reader overlay.
References _window, and zbar::zbar_window_set_overlay().
|
private |
Referenced by attach(), clear(), draw(), operator zbar_window_t *(), redraw(), resize(), set_overlay(), Window(), and ~Window().