Difference between revisions of "Scrollbar"

From WikiPrizm
Jump to navigationJump to search
(Change to match the syscalls template more)
m (libfxcg API)
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
| name = Scrollbar
 
| name = Scrollbar
 
| index = 0x1A0A
 
| index = 0x1A0A
| signature = void Scrollbar( TScrollbar* scrollbar)
+
| signature = void Scrollbar(struct scrollbar* scrollbar)
| header = display_syscalls.h
+
| header = fxcg/display.h
| comments = Displays a vertical scrollbar that cannot reach the statusbar area at the top.
+
| synopsis = 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).
 
| parameters = * ''TScrollbar*'' '''scrollbar''' - settings for the scrollbar (indicator and bar position and size).
  
Line 19: Line 19:
 
} TScrollbar;</nowiki>
 
} TScrollbar;</nowiki>
 
}}
 
}}
 +
[[Category:Syscalls:UI elements]]

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;