break code->code docs<-docs dependency
parent
644c42d4e3
commit
cc244cb672
|
@ -150,10 +150,6 @@ M: world handle-gesture ( gesture gadget -- ? )
|
|||
: close-global ( world global -- )
|
||||
[ get-global find-world eq? ] keep '[ f _ set-global ] when ;
|
||||
|
||||
GENERIC: world-pixel-format-attributes ( world -- attributes )
|
||||
|
||||
GENERIC# check-world-pixel-format 1 ( world pixel-format -- )
|
||||
|
||||
M: world world-pixel-format-attributes
|
||||
drop
|
||||
{ windowed double-buffered T{ depth-bits { value 16 } } } ;
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
USING: destructors help.markup help.syntax kernel math multiline sequences ui.gadgets.worlds ;
|
||||
USING: destructors help.markup help.syntax kernel math multiline sequences
|
||||
vocabs.parser words ;
|
||||
IN: ui.pixel-formats
|
||||
|
||||
! break circular dependency
|
||||
<<
|
||||
"world" "ui.gadgets.worlds" create drop
|
||||
"ui.gadgets.worlds" (use+)
|
||||
>>
|
||||
|
||||
ARTICLE: "ui.pixel-formats-attributes" "Pixel format attributes"
|
||||
"The following pixel format attributes can be requested and queried of " { $link pixel-format } "s. Binary attributes are represented by the presence of a symbol in an attribute sequence:"
|
||||
{ $subsection double-buffered }
|
||||
|
|
|
@ -87,3 +87,8 @@ SYNTAX: PIXEL-FORMAT-ATTRIBUTE-TABLE:
|
|||
scan scan-object scan-object define-pixel-format-attribute-table ;
|
||||
|
||||
PRIVATE>
|
||||
|
||||
GENERIC: world-pixel-format-attributes ( world -- attributes )
|
||||
|
||||
GENERIC# check-world-pixel-format 1 ( world pixel-format -- )
|
||||
|
||||
|
|
Loading…
Reference in New Issue