zbar::Window Class Reference

mid-level output window abstraction. More...

List of all members.

Public Member Functions

 Window (zbar_window_t *window=NULL)
 constructor.
 Window (void *x11_display_w32_hwnd, unsigned long x11_drawable)
 constructor.
 operator zbar_window_t * () const
 cast to C window object.
void attach (void *x11_display_w32_hwnd, unsigned long x11_drawable=0)
 associate reader with an existing platform window.
void set_overlay (int level)
 control content level of the reader overlay.
void draw (Image &image)
 retrieve current content level of reader overlay.
void clear ()
 clear the image from the output window.
void redraw ()
 redraw the last image.
void resize (unsigned width, unsigned height)
 resize the image window.


Detailed Description

mid-level output window abstraction.

displays images to user-specified platform specific output window


Member Function Documentation

void zbar::Window::attach ( void *  x11_display_w32_hwnd,
unsigned long  x11_drawable = 0 
) [inline]

associate reader with an existing platform window.

see zbar_window_attach()

void zbar::Window::set_overlay ( int  level  )  [inline]

control content level of the reader overlay.

see zbar_window_set_overlay()

void zbar::Window::draw ( Image image  )  [inline]

retrieve current content level of reader overlay.

see zbar_window_get_overlay() draw a new image into the output window. see zbar_window_draw()

void zbar::Window::clear (  )  [inline]

clear the image from the output window.

see zbar_window_draw()

void zbar::Window::redraw (  )  [inline]

redraw the last image.

zbar_window_redraw()

void zbar::Window::resize ( unsigned  width,
unsigned  height 
) [inline]

resize the image window.

zbar_window_resize()


The documentation for this class was generated from the following file:

SourceForge.net Logo
spadix@users.sourceforge.net

Copyright 2008-2010 (c) Jeff Brown

This documentation is part of the ZBar Barcode Reader; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.