#include <DirectWindow.h>
Inheritance diagram for BDirectWindow:

BDirectWindow class gives your code direct access to the graphics frame buffer on the video card.
BWindowScreen, BDirectWindow can be used in both full-screen and window modes - you can create a BDirectWindow that looks just like a normal window, but lets your code draw into it by directly accessing the frame buffer.DirectConnected() hook function is called when the connection to the screen has been made, a change has occurred to the size or format of the frame buffer, a change has occurred to the position, size, or shape of the visible part of the content area of the window, or the connection to the screen is terminated.
Public Member Functions | |
| BDirectWindow (BRect frame, const char *title, window_type type, uint32 flags, uint32 workspace=B_CURRENT_WORKSPACE) | |
| BDirectWindow (BRect frame, const char *title, window_look look, window_feel feel, uint32 flags, uint32 workspace=B_CURRENT_WORKSPACE) | |
| virtual | ~BDirectWindow () |
| virtual status_t | Archive (BMessage *data, bool deep=true) const |
| virtual void | Quit (void) |
| virtual void | DispatchMessage (BMessage *message, BHandler *handler) |
| virtual void | MessageReceived (BMessage *message) |
| virtual void | FrameMoved (BPoint new_position) |
| virtual void | WorkspacesChanged (uint32 old_ws, uint32 new_ws) |
| virtual void | WorkspaceActivated (int32 ws, bool state) |
| virtual void | FrameResized (float new_width, float new_height) |
| virtual void | Minimize (bool minimize) |
| virtual void | Zoom (BPoint rec_position, float rec_width, float rec_height) |
| virtual void | ScreenChanged (BRect screen_size, color_space depth) |
| virtual void | MenusBeginning () |
| virtual void | MenusEnded () |
| virtual void | WindowActivated (bool state) |
| virtual void | Show () |
| virtual void | Hide () |
| virtual BHandler * | ResolveSpecifier (BMessage *msg, int32 index, BMessage *specifier, int32 form, const char *property) |
| virtual status_t | GetSupportedSuites (BMessage *data) |
| virtual status_t | Perform (perform_code d, void *arg) |
| virtual void | DirectConnected (direct_buffer_info *info) |
| status_t | GetClippingRegion (BRegion *region, BPoint *origin=NULL) const |
| status_t | SetFullScreen (bool enable) |
| bool | IsFullScreen () const |
Static Public Member Functions | |
| static BArchivable * | Instantiate (BMessage *data) |
| static bool | SupportsWindowMode (screen_id=B_MAIN_SCREEN_ID) |
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
Reimplemented from BWindow. |
|
|
Reimplemented in BDirectGLWindow. |
|
||||||||||||
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
||||||||||||
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
||||||||||||
|
|
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
Reimplemented from BWindow. |
|
|
|
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
||||||||||||
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
||||||||||||||||||||||||
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
||||||||||||
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
|
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
|
|
|
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
||||||||||||
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
||||||||||||
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |
|
||||||||||||||||
|
Reimplemented from BWindow. Reimplemented in BDirectGLWindow. |