PawsScrollBar: Difference between revisions
Jump to navigation
Jump to search
Add syntax for pawsScrollBar |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
'''name''' = ''qname'' | '''name''' = ''qname'' | ||
'''factory''' = "pawsScrollBar" | '''factory''' = "pawsScrollBar" | ||
'''direction''' = "horizontal" | "vertical" | '''direction''' = { "horizontal" | "vertical" } | ||
'''minValue''' = ''float'' | '''minValue''' = ''float'' | ||
'''maxValue''' = ''float'' | '''maxValue''' = ''float'' | ||
'''tick''' = ''float'' | '''tick''' = ''float'' | ||
''widget-attributes''> | ''widget-attributes''> | ||
<!-- Content: (up?, down?, thumb?, ''widget-elements'') --> | |||
</widget> | </widget> | ||
Optional '''up''' and '''down''' sections describe scrollbar buttons. | |||
''up'' ::= | |||
<up ''scrollbar-button-settings'' /> | |||
''down'' ::= | |||
<down ''scrollbar-button-settings'' /> | |||
''scrollbar-button-settings'' ::= | ''scrollbar-button-settings'' ::= | ||
'''grey''' = ''qname'' | |||
'''unpressed''' = ''qname'' | |||
'''pressed''' = ''qname'' | |||
'''offsetx''' = ''int'' | |||
'''offsety''' = ''int'' | |||
'''width''' = ''int'' | |||
'''height''' = ''int'' | |||
Optional '''thumb''' section describe scrollbar thumb / grip button styles. | |||
''thumb'' ::= | |||
<thumb | |||
'''stopped''' = ''qname'' <!-- "ScrollBar Thumb" --> | |||
'''moving''' = ''qname'' /> <!-- "ScrollBar Thumb Moving" --> | |||
The '''pawsScrollBar''' factory is used to create a horizontal of vertical scrollbar. This is part of the common '''PAWS''' library. | The '''pawsScrollBar''' factory is used to create a horizontal of vertical scrollbar. This is part of the common '''PAWS''' library. | ||
[[Category:Engine documents]] | [[Category:Engine documents]] |
Latest revision as of 17:15, 9 May 2014
<widget name = qname factory = "pawsScrollBar" direction = { "horizontal" | "vertical" } minValue = float maxValue = float tick = float widget-attributes> <!-- Content: (up?, down?, thumb?, widget-elements) --> </widget>
Optional up and down sections describe scrollbar buttons.
up ::= <up scrollbar-button-settings />
down ::= <down scrollbar-button-settings />
scrollbar-button-settings ::= grey = qname unpressed = qname pressed = qname offsetx = int offsety = int width = int height = int
Optional thumb section describe scrollbar thumb / grip button styles.
thumb ::= <thumb stopped = qname <!-- "ScrollBar Thumb" --> moving = qname /> <!-- "ScrollBar Thumb Moving" -->
The pawsScrollBar factory is used to create a horizontal of vertical scrollbar. This is part of the common PAWS library.