Atrinik Client  4.0
Data Fields
scrollbar_struct Struct Reference

#include <scrollbar.h>

Data Fields

uint32_t * scroll_offset
 
uint32_t * num_lines
 
uint32_t max_lines
 
int arrow_adjust
 
uint8_t * redraw
 
int x
 
int y
 
int px
 
int py
 
int old_slider_pos
 
uint8_t dragging
 
uint32_t click_ticks
 
uint32_t click_repeat_ticks
 
int scroll_direction
 
scrollbar_element background
 
scrollbar_element arrow_up
 
scrollbar_element arrow_down
 
scrollbar_element slider
 

Detailed Description

Holds scrollbar information.

Definition at line 69 of file scrollbar.h.

Field Documentation

int scrollbar_struct::arrow_adjust

How much the arrows will adjust scroll offset.

Definition at line 80 of file scrollbar.h.

scrollbar_element scrollbar_struct::arrow_down

Down arrow.

Definition at line 123 of file scrollbar.h.

scrollbar_element scrollbar_struct::arrow_up

Up arrow.

Definition at line 120 of file scrollbar.h.

scrollbar_element scrollbar_struct::background

The background.

Definition at line 117 of file scrollbar.h.

uint32_t scrollbar_struct::click_repeat_ticks

How many ticks must pass before click repeat can occur.

Definition at line 111 of file scrollbar.h.

uint32_t scrollbar_struct::click_ticks

Used to keep track of when to repeat a click.

Definition at line 108 of file scrollbar.h.

uint8_t scrollbar_struct::dragging

Whether the slider is being dragged.

Definition at line 105 of file scrollbar.h.

uint32_t scrollbar_struct::max_lines

Maximum number of lines.

Definition at line 77 of file scrollbar.h.

uint32_t* scrollbar_struct::num_lines

Pointer to number of lines.

Definition at line 74 of file scrollbar.h.

int scrollbar_struct::old_slider_pos

Slider position.

Definition at line 102 of file scrollbar.h.

int scrollbar_struct::px

Parent X position.

Definition at line 96 of file scrollbar.h.

int scrollbar_struct::py

Parent Y position.

Definition at line 99 of file scrollbar.h.

uint8_t* scrollbar_struct::redraw

Pointer that will be updated if redraw should be done due to scroll offset change. Can be NULL, in which case it will not be updated.

Definition at line 87 of file scrollbar.h.

int scrollbar_struct::scroll_direction

Scrolling direction, one of Scroll directions.

Definition at line 114 of file scrollbar.h.

uint32_t* scrollbar_struct::scroll_offset

Pointer to the scroll offset.

Definition at line 71 of file scrollbar.h.

scrollbar_element scrollbar_struct::slider

The slider.

Definition at line 126 of file scrollbar.h.

int scrollbar_struct::x

X position of the scrollbar.

Definition at line 90 of file scrollbar.h.

int scrollbar_struct::y

Y position of the scrollbar.

Definition at line 93 of file scrollbar.h.


The documentation for this struct was generated from the following file: