Fixing ui.gadgets.slate docs
parent
cbdcadc45d
commit
84a2ad091e
|
@ -0,0 +1,13 @@
|
||||||
|
! Copyright (C) 2009 Eduardo Cavazos
|
||||||
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
|
USING: help.markup help.syntax multiline ;
|
||||||
|
IN: ui.gadgets.slate
|
||||||
|
|
||||||
|
ARTICLE: "ui.gadgets.slate" "Slate gadget"
|
||||||
|
{ $description "A gadget with an 'action' slot which should be set to a callable."}
|
||||||
|
{ $heading "Example" }
|
||||||
|
{ $code <" USING: processing.shapes ui.gadgets.slate ui.gadgets.panes ;
|
||||||
|
[ { { 10 10 } { 50 30 } { 10 50 } } polygon fill-mode ] <slate>
|
||||||
|
gadget."> } ;
|
||||||
|
|
||||||
|
ABOUT: "ui.gadgets.slate"
|
|
@ -1,32 +1,11 @@
|
||||||
|
! Copyright (C) 2009 Eduardo Cavazos
|
||||||
USING: kernel namespaces opengl ui.render ui.gadgets accessors
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
help.syntax
|
USING: kernel namespaces opengl ui.render ui.gadgets accessors ;
|
||||||
easy-help ;
|
|
||||||
|
|
||||||
IN: ui.gadgets.slate
|
IN: ui.gadgets.slate
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
ARTICLE: "slate" "Slate Gadget"
|
|
||||||
|
|
||||||
Summary:
|
|
||||||
|
|
||||||
A gadget with an 'action' slot which should be set to a callable. ..
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
! Load the right vocabs for the examples
|
|
||||||
|
|
||||||
USING: processing.shapes ui.gadgets.slate ; ..
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
[ { { 10 10 } { 50 30 } { 10 50 } } polygon fill-mode ] <slate>
|
|
||||||
gadget. ..
|
|
||||||
|
|
||||||
;
|
|
||||||
|
|
||||||
ABOUT: "slate"
|
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue