Index Index for
Section 9
Index Alphabetical
listing for W
Bottom of page Bottom of
page

ws_screens(9s)

NAME

ws_screens - Graphics: Used by the display driver to describe the characteristics of a display screen

SYNOPSIS

typedef struct { ws_screen_descriptor *sp; ws_visual_descriptor *vp; ws_depth_descriptor *dp; ws_screen_functions *f; ws_color_map_functions *cmf; ws_cursor_functions *cf; ws_screen_box adj_screens; struct controller *ctlr; } ws_screens;

MEMBERS

adj_screens Is of type ws_screen_box, which is defined as: typedef struct { short bottom; short right; short left; short top; } w_screen_box; sp Specifies the address of a ws_screen_descriptor structure, which describes characteristics of the screen, such as its height and width. vp Specifies a pointer to an array of ws_visual_descriptor structures, which describe the visual classes that the screen supports. dp Specifies a pointer to an array of ws_depth_descriptor structures, which describe the depths that the screen supports. f Specifies the address of a ws_screen_functions structure, which defines the routines that perform screen functions for this graphics display. cmf Specifies the address of a ws_color_map_functions structure, which defines the routines that perform colormap functions for this graphics display. cf Specifies the address of a ws_cursor_functions structure, which defines the routines that perform cursor functions for this graphics display. ctlr Specifies the address of the controller structure associated with this graphics display device driver.

DESCRIPTION

The ws_screens structure includes several data structures to completely describe the characteristics of a screen, including hardware characteristics and the routines that the device driver calls to perform graphics operations.

FILES

<sys/wsdevice.h>

SEE ALSO

Data Structures: ws_color_map_functions(9s), ws_cursor_functions(9s), ws_depth_descriptor(9s), ws_screen_descriptor(9s), ws_screen_functions(9s), ws_visual_descriptor(9s)

Index Index for
Section 9
Index Alphabetical
listing for W
Top of page Top of
page