Class Xiron::VideoPort
In: ext/audioport.c
lib/xiron/videoport.rb
Parent: Object

Methods

cursor_age   cursor_visible   cursor_visible=   dispose   fullscreen   fullscreen=   h   new   none   reset_saver   title   title=   w   x   y  

Public Class methods

Opens a new video port with given parameters. If no plugin identifier (driver) is given, it is autodetected. if only particular parameters should be given, use a hash (e.g. "w" => 640, :h => 480). See also Xine#video_out_plugins, Stream#new.

Opens and returns the none-video-output. Short for VideoPort.new("none")

Public Instance methods

Returns the amount of seconds the mouse cursor was not moved.

Returns the current mouse cursor visibility state.

Makes the mouse cursor visible or hides it. The cursor will automatically get visible, if mouse is moved.

Closes the video driver. Be sure no stream uses this driver when call this method.

Returns the current fullscreen state.

Set the fullscreen mode of the drawable, if it supports it.

Returns the current height of the window

Resets the screen saver timer. Returns true, if driver supports this.

Returns the current title of the window

Set the title of the window

Returns the current width of the window

Returns the current horizontal position of the window

Returns the current vertical position of the window

[Validate]