Atrinik Client  4.0
Data Fields
scrollbar_element Struct Reference

#include <scrollbar.h>

Data Fields

int x
 
int y
 
int w
 
int h
 
uint8_t highlight
 
void(* render_func )(SDL_Surface *surface, SDL_Rect *box, struct scrollbar_element *element, uint8_t horizontal)
 

Detailed Description

Scrollbar element.

Definition at line 36 of file scrollbar.h.

Field Documentation

int scrollbar_element::h

Height.

Definition at line 47 of file scrollbar.h.

uint8_t scrollbar_element::highlight

Highlight status; if 1, the mouse is over this element.

Definition at line 50 of file scrollbar.h.

void(* scrollbar_element::render_func)(SDL_Surface *surface, SDL_Rect *box, struct scrollbar_element *element, uint8_t horizontal)

Rendering function of this element.

Parameters
surfaceSurface to render on.
boxWhere to draw.
elemThe element.
horizontalWhether the scrollbar is horizontal.

Definition at line 63 of file scrollbar.h.

int scrollbar_element::w

Width.

Definition at line 44 of file scrollbar.h.

int scrollbar_element::x

X position.

Definition at line 38 of file scrollbar.h.

int scrollbar_element::y

Y position.

Definition at line 41 of file scrollbar.h.


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