Difference between revisions of "SCI/FreeSCI/Header files/Graphics subsystem headers"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Merging of the FreeSCI documentation. Page done.)
 
(No difference)

Latest revision as of 14:47, 20 January 2009

Graphics subsystem headers

The gfx subsystem's functionality is described in The graphics subsystem section. Most of the header files it uses are prefixed with "gfx_".


gfx_system.h
Provides debug functionality, the core data types (points, rectangles, pixmaps, etc), rectangle and point operations (inlined) and enums and definitions for more complex functions.
uinput.h
Describes input events (type, modifiers, etc).
gfx_driver.h
Documents the gfx_driver_t structure, and the functions and capability flags it can/must provide.
gfx_options.h
This file covers configuration options that can be provided to the gfx subsystem's operational layer. It defines a structure that is also used by sci_conf.h.
gfx_widgets.h
Describes graphical widgets and the functionality they provide, including constructors for each widget.
gfx_state_internal.h
This file covers the "hidden" (non-public) part of graphical widgets and includes many gory details regarding their implementation.
sci_widgets.h
Provides more complex widgets that are specific to the needs of SCI.
gfx_tools.h
Provides utility functions, primarily for gfx driver writers, but also some functions used in the operational layer.
gfx_resmgr.h
Describes the gfx subsystem's resource manager's functions, as used by the operational layer, and prototypes for functions implemented by the interpreter specific part.
gfx_resource.h
Functions for operating on gfx resources in general, and also functions for loading/drawing particular resources.
gfx_operations.h
Describes the operational layer of the gfx subsystem. Provides an extensive set of 2D graphics functionality.