Difference between revisions of "StandardScrollbar"

From WikiPrizm
Jump to navigationJump to search
(Created page with "{{syscall | name = StandardScrollbar | index = 0x0C5A | signature = void StandardScrollbar(TStandardScrollbar* scrollbar) | header = fxcg/display.h | parameters = * ''TStandar...")
 
 
Line 11: Line 11:
 
| comments = [[Scrollbar]] is a more flexible variant of this syscall.
 
| comments = [[Scrollbar]] is a more flexible variant of this syscall.
 
}}
 
}}
 +
[[Category:Syscalls:UI elements]]

Latest revision as of 18:10, 18 November 2014


Synopsis

Header: fxcg/display.h
Syscall index: 0x0C5A
Function signature: void StandardScrollbar(TStandardScrollbar* scrollbar)

Displays the standard scrollbar.

Parameters

  • TStandardScrollbar* scrollbar - settings for the standard scrollbar:
typedef unsigned short TStandardScrollbar[0x12]

TStandardScrollbar[0x10] should be set to the maximum indicator range, and TStandardScrollbar[0x09] to the current indicator position. The indicator height is fixed - always six units of the maximum range, presumably because on scrollbar screens, only six items are shown at a time.

Comments

Scrollbar is a more flexible variant of this syscall.