1 USING: help.syntax help.markup ui.pixel-formats ;
5 { $values { "class" "an subclass of " { $snippet "NSOpenGLView" } } { "dim" "a pair of real numbers" } { "pixel-format" pixel-format } { "view" "a new " { $snippet "NSOpenGLView" } } }
6 { $description "Creates a new instance of the specified class, giving it the specified pixel format and size." } ;
9 { $values { "view" "an " { $snippet "NSView" } } { "dim" "a pair of real numbers" } }
10 { $description "Outputs the dimensions of the given view." } ;
13 { $values { "view" "an " { $snippet "NSView" } } { "event" "an " { $snippet "NSEvent" } } { "loc" "a pair of real numbers" } }
14 { $description "Outputs the current mouse location." } ;
16 ARTICLE: "cocoa-view-utils" "Cocoa view utilities"
17 { $subsection <GLView> }
18 { $subsection view-dim }
19 { $subsection mouse-location } ;
22 ABOUT: "cocoa-view-utils"