Handbook
Glossary
check-world-pixel-format ( world pixel-format -- )
Pixel formats
Prev:
world-pixel-format-attributes ( world -- attributes )
Vocabulary
ui
.
pixel-formats
Inputs
world
a
world
pixel-format
a
pixel-format
Outputs
None
Word description
Verifies that
pixel-format
fulfills the requirements of
world
. The default method does nothing. Subclasses can override this generic to perform their own checks on the pixel format.
See also
world-pixel-format-attributes
,
pixel-format
,
<pixel-format>
,
pixel-format-attribute
Definition
IN:
ui.pixel-formats
GENERIC#:
check-world-pixel-format
1
( world pixel-format -- )
Methods
USING:
kernel
ui.gadgets.worlds
ui.pixel-formats
;
M:
world
check-world-pixel-format
2drop
;