BWindowScreen Class Reference

#include <WindowScreen.h>

Inheritance diagram for BWindowScreen:

BWindow BLooper BHandler BArchivable List of all members.

Detailed Description

A BWindowScreen object provides exclusive access to the entire screen, bypassing the Application Server's window system.

The object has direct access to the graphics card driver: It can set up the graphics environment on the graphics card, call driver-implemented drawing functions, and directly manipulate the frame buffer.
See also:
Using BWindowScreen

Hook Functions

ScreenConnected()
Can be implemented to do whatever is necessary when the BWindowScreen object obtains direct access to the frame buffer for the screen, and when it loses that access.


Public Member Functions

 BWindowScreen (const char *title, uint32 space, status_t *error, bool debug_enable=false)
 BWindowScreen (const char *title, uint32 space, uint32 attributes, status_t *error)
virtual ~BWindowScreen ()
virtual void Quit (void)
virtual void ScreenConnected (bool active)
void Disconnect ()
virtual void WindowActivated (bool active)
virtual void WorkspaceActivated (int32 ws, bool state)
virtual void ScreenChanged (BRect screen_size, color_space depth)
virtual void Hide ()
virtual void Show ()
void SetColorList (rgb_color *list, int32 first_index=0, int32 last_index=255)
status_t SetSpace (uint32 space)
bool CanControlFrameBuffer ()
status_t SetFrameBuffer (int32 width, int32 height)
status_t MoveDisplayArea (int32 x, int32 y)
void * IOBase ()
rgb_colorColorList ()
frame_buffer_infoFrameBufferInfo ()
graphics_card_hook CardHookAt (int32 index)
graphics_card_infoCardInfo ()
void RegisterThread (thread_id id)
virtual void SuspensionHook (bool active)
void Suspend (char *label)
virtual status_t Perform (perform_code d, void *arg)


Constructor & Destructor Documentation

BWindowScreen const char *  title,
uint32  space,
status_t *  error,
bool  debug_enable = false
 

BWindowScreen const char *  title,
uint32  space,
uint32  attributes,
status_t *  error
 

virtual ~BWindowScreen  )  [virtual]
 


Member Function Documentation

bool CanControlFrameBuffer  ) 
 

graphics_card_hook CardHookAt int32  index  ) 
 

graphics_card_info* CardInfo  ) 
 

rgb_color* ColorList  ) 
 

void Disconnect  ) 
 

frame_buffer_info* FrameBufferInfo  ) 
 

virtual void Hide  )  [virtual]
 

Reimplemented from BWindow.

void* IOBase  ) 
 

status_t MoveDisplayArea int32  x,
int32  y
 

virtual status_t Perform perform_code  d,
void *  arg
[virtual]
 

Reimplemented from BWindow.

virtual void Quit void   )  [virtual]
 

Reimplemented from BWindow.

void RegisterThread thread_id  id  ) 
 

virtual void ScreenChanged BRect  screen_size,
color_space  depth
[virtual]
 

Reimplemented from BWindow.

virtual void ScreenConnected bool  active  )  [virtual]
 

void SetColorList rgb_color list,
int32  first_index = 0,
int32  last_index = 255
 

status_t SetFrameBuffer int32  width,
int32  height
 

status_t SetSpace uint32  space  ) 
 

virtual void Show  )  [virtual]
 

Reimplemented from BWindow.

void Suspend char *  label  ) 
 

virtual void SuspensionHook bool  active  )  [virtual]
 

virtual void WindowActivated bool  active  )  [virtual]
 

Reimplemented from BWindow.

virtual void WorkspaceActivated int32  ws,
bool  state
[virtual]
 

Reimplemented from BWindow.


Copyright 2005 by yellowTAB GmbH, Be Inc., Palm Source Inc. and their respective legal successors
All rights reserved.