Download

Support

lib/ewl_scrollpane.c File Reference

#include "ewl_base.h"
#include "ewl_overlay.h"
#include "ewl_scrollpane.h"
#include "ewl_box.h"
#include "ewl_scrollbar.h"
#include "ewl_range.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
#include <math.h>

Include dependency graph for ewl_scrollpane.c:


Data Structures

struct  Ewl_Scrollpane_Scroll_Info_Embedded
 Stores information on an embedded scrollpane. More...
struct  Ewl_Scrollpane_Scroll_Info_Normal
 Stores information on a normal scrollpane. More...

Defines

#define HIST_NUM   20

Typedefs

typedef struct
Ewl_Scrollpane_Scroll_Info_Embedded 
Ewl_Scrollpane_Scroll_Info_Embedded
typedef struct
Ewl_Scrollpane_Scroll_Info_Normal 
Ewl_Scrollpane_Scroll_Info_Normal

Functions

void ewl_scrollpane_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_scrollpane_cb_focus_jump (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_scrollpane_cb_hscroll (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_scrollpane_cb_vscroll (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_scrollpane_cb_wheel_scroll (Ewl_Widget *cb, void *ev_data, void *user_data)
Ewl_Scrollpane_Flags ewl_scrollpane_hscrollbar_flag_get (Ewl_Scrollpane *s)
 Get flags for horizontal scrollbar.
void ewl_scrollpane_hscrollbar_flag_set (Ewl_Scrollpane *s, Ewl_Scrollpane_Flags f)
 Set flags for horizontal scrollbar.
double ewl_scrollpane_hscrollbar_step_get (Ewl_Scrollpane *s)
 Retrives the value of the stepping of the vertical scrollbar in s.
double ewl_scrollpane_hscrollbar_value_get (Ewl_Scrollpane *s)
 Retrieves the value of the horizontal scrollbar in s.
void ewl_scrollpane_hscrollbar_value_set (Ewl_Scrollpane *s, double val)
 Set the value of the horizontal scrollbar in s to val.
int ewl_scrollpane_init (Ewl_Scrollpane *s)
 Initialize the fields of a scrollpane.
double ewl_scrollpane_kinetic_dampen_get (Ewl_Scrollpane *s)
 Gets the minimum velocity for kinetic scrolling.
void ewl_scrollpane_kinetic_dampen_set (Ewl_Scrollpane *s, double d)
 Sets the multiplier to reduce the velocity of kinetic scrolling.
int ewl_scrollpane_kinetic_fps_get (Ewl_Scrollpane *s)
void ewl_scrollpane_kinetic_fps_set (Ewl_Scrollpane *s, int fps)
 Sets the number of times per second to recalculate velocity and update the tree.
double ewl_scrollpane_kinetic_max_velocity_get (Ewl_Scrollpane *s)
 Gets the maximum velocity for kinetic scrolling.
void ewl_scrollpane_kinetic_max_velocity_set (Ewl_Scrollpane *s, double v)
 Sets the maximum velocity for kinetic scrolling.
double ewl_scrollpane_kinetic_min_velocity_get (Ewl_Scrollpane *s)
 Gets the minimum velocity for kinetic scrolling.
void ewl_scrollpane_kinetic_min_velocity_set (Ewl_Scrollpane *s, double v)
 Sets the minimum velocity for kinetic scrolling.
Ewl_Kinetic_Scroll ewl_scrollpane_kinetic_scrolling_get (Ewl_Scrollpane *s)
 Gets the type of kinetic scrolling used.
void ewl_scrollpane_kinetic_scrolling_set (Ewl_Scrollpane *s, Ewl_Kinetic_Scroll type)
 Sets up default values and callbacks for kinetic scrolling.
Ewl_Widgetewl_scrollpane_new (void)
 Create a new scrollpane.
Ewl_Scrollpane_Flags ewl_scrollpane_vscrollbar_flag_get (Ewl_Scrollpane *s)
 Get flags for vertical scrollbar.
void ewl_scrollpane_vscrollbar_flag_set (Ewl_Scrollpane *s, Ewl_Scrollpane_Flags f)
 Set flags for vertical scrollbar.
double ewl_scrollpane_vscrollbar_step_get (Ewl_Scrollpane *s)
 Retrives the value of the stepping of the vertical scrollbar in s.
double ewl_scrollpane_vscrollbar_value_get (Ewl_Scrollpane *s)
 Retrieves the value of the vertical scrollbar in s.
void ewl_scrollpane_vscrollbar_value_set (Ewl_Scrollpane *s, double val)
 Set the value of the vertical scrollbar in s to val.

Define Documentation

#define HIST_NUM   20


Typedef Documentation


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:50:37 2008