Atrinik Client  4.0
Data Structures | Macros | Typedefs
scrollbar.h File Reference

Go to the source code of this file.

Data Structures

struct  scrollbar_element
 
struct  scrollbar_struct
 
struct  scrollbar_info_struct
 

Macros

#define SCROLL_DIRECTION_NONE   0
 
#define SCROLL_DIRECTION_UP   1
 
#define SCROLL_DIRECTION_DOWN   2
 
#define SCROLL_BOTTOM(_scrollbar)   ((uint32_t) (MAX(0, (int) *(_scrollbar)->num_lines - (int) (_scrollbar)->max_lines)))
 
#define SCROLL_TOP(_scrollbar)   (0)
 

Typedefs

typedef struct scrollbar_element scrollbar_element
 
typedef struct scrollbar_struct scrollbar_struct
 
typedef struct
scrollbar_info_struct 
scrollbar_info_struct
 

Detailed Description

Scrollbar header file.

Definition in file scrollbar.h.

Macro Definition Documentation

#define SCROLL_BOTTOM (   _scrollbar)    ((uint32_t) (MAX(0, (int) *(_scrollbar)->num_lines - (int) (_scrollbar)->max_lines)))

Get the scroll offset needed to reach the bottom of the scrollbar.

Definition at line 157 of file scrollbar.h.

#define SCROLL_TOP (   _scrollbar)    (0)

Get the scroll offset needed to reach the top of the scrollbar.

Definition at line 159 of file scrollbar.h.

Typedef Documentation

Scrollbar element.

Optional structure that can be used for storing scrollbar information.

Holds scrollbar information.