added move_overlay() for virtualscreens

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7376 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2004-05-03 17:34:01 +00:00
parent ac83e70ce5
commit fb0e0c889e
2 changed files with 11 additions and 3 deletions
@@ -5,7 +5,7 @@
Other authors:
Mark Watson;
Apsed;
Rudolf Cornelissen 10/2002-4/2004.
Rudolf Cornelissen 10/2002-5/2004.
*/
#ifndef DRIVERINTERFACE_H
@@ -280,6 +280,13 @@ typedef struct {
overlay_token myToken; /* scaler is free/in use */
benaphore lock; /* for creating buffers and aquiring overlay unit routines */
bool crtc; /* location of overlay unit */
/* variables needed for virtualscreens (move_overlay()): */
bool active; /* true is overlay currently in use */
overlay_window ow; /* current position of overlay output window */
overlay_buffer ob; /* current inputbuffer in use */
overlay_view my_ov; /* current corrected view in inputbuffer */
uint32 h_ifactor; /* current 'unclipped' horizontal inverse scaling factor */
uint32 v_ifactor; /* current 'unclipped' vertical inverse scaling factor */
} overlay;
} shared_info;