GUIRScrollHoriz
From Doors CS
Revision as of 12:36, 16 February 2007 by KermMartian (Talk | contribs)
Horizontal Scrollbar
Description
This item places a clickable horizontal scrollbar on the screen and handles all movement clicking with associated handlers.
Note for onClick: (bc) and (bc+1) are the little-endian current values of the scrollbar position for OnScrollLeft and OnScrollRight.
Type ID: $14
Format
Datalength: 16 bytes
0: x-coordinate [1 byte] 1: y-coordinate [1 byte] 2: height in pixels [1 byte] 3: ID number [1 byte] 4: Increment/decrement per click [2 bytes] 6: Minimum value on scrollbar [2 bytes] 8: Maximum value on scrollbar [2 bytes] 10: Current value on scrollbar [2 bytes] 12: Onclick pointer for leftward scrolling [2 bytes] 14: Onclick pointer for rightward scrolling [2 bytes]