lib/ewl_scrollbar.c File Reference
#include <math.h>
#include "ewl_base.h"
#include "ewl_scrollbar.h"
#include "ewl_button.h"
#include "ewl_seeker.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
Include dependency graph for ewl_scrollbar.c:

Functions | |
Ewl_Widget * | ewl_hscrollbar_new (void) |
Allocate and initialize a new horizontal scrollbar widget. | |
void | ewl_scrollbar_cb_scroll_start (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_scrollbar_cb_scroll_stop (Ewl_Widget *w, void *ev_data, void *user_data) |
int | ewl_scrollbar_init (Ewl_Scrollbar *s) |
Initialize a scrollbar to default values. | |
char | ewl_scrollbar_inverse_scroll_get (Ewl_Scrollbar *s) |
Checks the inverse scrolling flag on a scrollbar. | |
void | ewl_scrollbar_inverse_scroll_set (Ewl_Scrollbar *s, char i) |
Sets the inverse scrolling flag on a scrollbar. | |
Ewl_Widget * | ewl_scrollbar_new (void) |
Allocate and initialize a new scrollbar widget. | |
Ewl_Orientation | ewl_scrollbar_orientation_get (Ewl_Scrollbar *s) |
Change the orientation of a scrollbar. | |
void | ewl_scrollbar_orientation_set (Ewl_Scrollbar *s, Ewl_Orientation o) |
Change the orientation of a scrollbar. | |
double | ewl_scrollbar_step_get (Ewl_Scrollbar *s) |
Get the current step size of the scrollbar. | |
void | ewl_scrollbar_step_set (Ewl_Scrollbar *s, double v) |
Change the step size of a scrollbar. | |
double | ewl_scrollbar_value_get (Ewl_Scrollbar *s) |
Get the current value of the dragbar. | |
void | ewl_scrollbar_value_set (Ewl_Scrollbar *s, double v) |
Set the current value of the dragbar. | |
Ewl_Widget * | ewl_vscrollbar_new (void) |
Allocate and initialize a new vertical scrollbar widget. |