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'') --> |     <!-- Content: (up?, down?, thumb?, ''widget-elements'') --> | ||
|   </widget> |   </widget> | ||
| Optional '''up''' and '''down''' sections describe scrollbar buttons. | |||
|   ''up'' ::= |   ''up'' ::= | ||
| Line 15: | Line 17: | ||
|   ''down'' ::= |   ''down'' ::= | ||
|     <down ''scrollbar-button-settings'' /> |     <down ''scrollbar-button-settings'' /> | ||
|   ''scrollbar-button-settings'' ::= |   ''scrollbar-button-settings'' ::= | ||
| Line 29: | Line 26: | ||
|     '''width''' = ''int'' |     '''width''' = ''int'' | ||
|     '''height''' = ''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.