Difference between revisions of "Scrollbar"

From WikiPrizm
Jump to navigationJump to search
m (libfxcg API)
 
Line 2: Line 2:
 
| name = Scrollbar
 
| name = Scrollbar
 
| index = 0x1A0A
 
| index = 0x1A0A
| signature = void Scrollbar(TScrollbar* scrollbar)
+
| signature = void Scrollbar(struct scrollbar* scrollbar)
 
| header = fxcg/display.h
 
| header = fxcg/display.h
 
| synopsis = Displays a vertical scrollbar that cannot reach the status area at the top.
 
| synopsis = Displays a vertical scrollbar that cannot reach the status area at the top.

Latest revision as of 20:28, 22 November 2014


Synopsis

Header: fxcg/display.h
Syscall index: 0x1A0A
Function signature: void Scrollbar(struct scrollbar* scrollbar)

Displays a vertical scrollbar that cannot reach the status area at the top.

Parameters

  • TScrollbar* scrollbar - settings for the scrollbar (indicator and bar position and size).
typedef struct{
  unsigned int i1; // unknown, set to zero
  unsigned int indicatormaximum; // maximum logical indicator range
  unsigned int indicatorheight; // height of the indicator in units of indicatormaximum
  unsigned int indicatorpos; // indicator position in units of indicatormaxiumum
  unsigned int i5; // unknown, set to zero
  unsigned short barleft; // left position of the bar in pixels
  unsigned short bartop; // top position of the bar in pixels
  unsigned short barheight; // height of the bar in pixels
  unsigned short barwidth; // width of the bar in pixels
} TScrollbar;