[ANN] Win32::Screenshot 0.0.5

Hello!

I’ve release version 0.0.5 of Win32::Screenshot - Capture Screenshots on
Windows with Ruby!

= 0.0.5 2010-07-07

  • Added method window_area for capturing specified area of the window
    instead of full window (Jarmo P.)
    Usage: Win32::Screenshot.window_area(title, x1, y1, x2, y2) {|width,
    height, bmp|}
  • Added method foreground_area for capturing area of the foreground
    (Jarmo P.)
    Usage: Win32::Screenshot.foreground_area(x1, y1, x2, y2) {|width,
    height, bmp|}
  • Added method desktop_area for capturing area of the visible view
    (Jarmo P.)
    Usage: Win32::Screenshot.desktop_area(x1, y1, x2, y2) {|width, height,
    bmp|}
  • Added method hwnd_area for capturing area of the window with specified
    handle (Jarmo P.)
    Usage: Win32::Screenshot.hwnd_area(hwnd, x1, y1, x2, y2) {|width,
    height, bmp|}

== Internal changes

  • Removed usage of ShowWindow with parameter SW_SHOW when trying to
    bring window to front due it’s behaviour of resizing window if it was
    maximized (Jarmo P.)
  • Using FFI::Struct when searching window handle (Roger P.)

Jarmo