PawsScrollBar: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| mNo edit summary | mNo edit summary | ||
| Line 7: | Line 7: | ||
|     '''tick''' = ''float''   |     '''tick''' = ''float''   | ||
|     ''widget-attributes''> |     ''widget-attributes''> | ||
|    <!-- Content: (up? down? thumb? ''widget-elements'') --> | |||
| </widget> | |||
| ''up'' ::= | |||
|    <up ''scrollbar-button-settings'' /> | |||
| ''down'' ::= | |||
|    <down ''scrollbar-button-settings'' /> | |||
| ’'thumb'’ ::= | |||
|    <thumb  | |||
|       '''stopped''' = "ScrollBar Thumb"  | |||
|       '''moving''' = "ScrollBar Thumb Moving" /> | |||
| ''scrollbar-button-settings'' ::= | |||
|    '''grey''' = ''qname'' | |||
|    '''unpressed''' = ''qname'' | |||
|    '''pressed''' = ''qname'' | |||
|    '''offsetx''' = ''int'' | |||
|    '''offsety''' = ''int'' | |||
|    '''width''' = ''int'' | |||
|    '''height''' = ''int'' | |||
| 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]] | ||
Revision as of 16:57, 9 May 2014
<widget
  name = qname
  factory = "pawsScrollBar"
  direction = { "horizontal" | "vertical" }
  minValue = float
  maxValue = float
  tick = float 
  widget-attributes>
</widget>
up ::=
<up scrollbar-button-settings />
down ::=
<down scrollbar-button-settings />
’'thumb'’ ::=
  <thumb 
     stopped = "ScrollBar Thumb" 
     moving = "ScrollBar Thumb Moving" />
scrollbar-button-settings ::=
grey = qname unpressed = qname pressed = qname offsetx = int offsety = int width = int height = int
The pawsScrollBar factory is used to create a horizontal of vertical scrollbar. This is part of the common PAWS library.