Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

BC_ScrollBar Class Reference

#include <bcscrollbar.h>

Inheritance diagram for BC_ScrollBar:

BC_SubWindow BC_WindowBase BC_RelocatableWidget BC_ListBoxXScroll BC_ListBoxYScroll BC_ScrollTextBoxYScroll List of all members.

Public Member Functions

 BC_ScrollBar (int x, int y, int orientation, int pixels, int64_t length, int64_t position, int64_t handlelength, VFrame **data=0)
virtual ~BC_ScrollBar ()
virtual int handle_event ()
int initialize ()
int cursor_motion_event ()
int cursor_leave_event ()
int cursor_enter_event ()
int button_press_event ()
int button_release_event ()
int repeat_event (int64_t repeat_id)
int64_t get_value ()
int64_t get_position ()
int64_t get_length ()
int64_t get_handlelength ()
int get_pixels ()
void set_images (VFrame **data)
int in_use ()
int update_value (int64_t value)
int update_length (int64_t length, int64_t position, int64_t handlelength)
int reposition_window (int x, int y, int pixels)
int get_span ()
int get_arrow_pixels ()

Static Public Member Functions

static int get_span (int orientation)

Private Member Functions

void calculate_dimensions (int &w, int &h)
int activate ()
void draw ()
void get_handle_dimensions ()
int get_cursor_zone (int cursor_x, int cursor_y)

Private Attributes

int64_t length
int64_t position
int64_t handlelength
int selection_status
int highlight_status
int orientation
int pixels
int handle_pixel
int handle_pixels
int min_pixel
int max_pixel
int64_t repeat_count
BC_WindowBasebound_to
VFrame ** data
BC_Pixmapimages [SCROLL_IMAGES]

Friends

class BC_ListBox

Detailed Description

Definition at line 39 of file bcscrollbar.h.


Constructor & Destructor Documentation

BC_ScrollBar::BC_ScrollBar int  x,
int  y,
int  orientation,
int  pixels,
int64_t  length,
int64_t  position,
int64_t  handlelength,
VFrame **  data = 0
 

Definition at line 10 of file bcscrollbar.C.

BC_ScrollBar::~BC_ScrollBar  )  [virtual]
 

Definition at line 43 of file bcscrollbar.C.


Member Function Documentation

int BC_ScrollBar::activate  )  [private, virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 597 of file bcscrollbar.C.

int BC_ScrollBar::button_press_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 465 of file bcscrollbar.C.

int BC_ScrollBar::button_release_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 549 of file bcscrollbar.C.

void BC_ScrollBar::calculate_dimensions int &  w,
int &  h
[private]
 

Definition at line 74 of file bcscrollbar.C.

int BC_ScrollBar::cursor_enter_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 396 of file bcscrollbar.C.

int BC_ScrollBar::cursor_leave_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 411 of file bcscrollbar.C.

int BC_ScrollBar::cursor_motion_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 421 of file bcscrollbar.C.

void BC_ScrollBar::draw  )  [private]
 

Definition at line 136 of file bcscrollbar.C.

int BC_ScrollBar::get_arrow_pixels  ) 
 

Definition at line 120 of file bcscrollbar.C.

int BC_ScrollBar::get_cursor_zone int  cursor_x,
int  cursor_y
[private]
 

Definition at line 564 of file bcscrollbar.C.

void BC_ScrollBar::get_handle_dimensions  )  [private]
 

Definition at line 342 of file bcscrollbar.C.

int64_t BC_ScrollBar::get_handlelength  ) 
 

Definition at line 629 of file bcscrollbar.C.

int64_t BC_ScrollBar::get_length  ) 
 

Definition at line 614 of file bcscrollbar.C.

int BC_ScrollBar::get_pixels  ) 
 

Definition at line 619 of file bcscrollbar.C.

int64_t BC_ScrollBar::get_position  ) 
 

Definition at line 609 of file bcscrollbar.C.

int BC_ScrollBar::get_span int  orientation  )  [static]
 

Definition at line 90 of file bcscrollbar.C.

int BC_ScrollBar::get_span  ) 
 

Definition at line 105 of file bcscrollbar.C.

int64_t BC_ScrollBar::get_value  ) 
 

Definition at line 604 of file bcscrollbar.C.

virtual int BC_ScrollBar::handle_event  )  [inline, virtual]
 

Reimplemented in BC_ListBoxYScroll, BC_ListBoxXScroll, and BC_ScrollTextBoxYScroll.

Definition at line 54 of file bcscrollbar.h.

int BC_ScrollBar::in_use  ) 
 

Definition at line 624 of file bcscrollbar.C.

int BC_ScrollBar::initialize  )  [virtual]
 

Reimplemented from BC_SubWindow.

Definition at line 49 of file bcscrollbar.C.

int BC_ScrollBar::repeat_event int64_t  repeat_id  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 512 of file bcscrollbar.C.

int BC_ScrollBar::reposition_window int  x,
int  y,
int  pixels
 

Definition at line 650 of file bcscrollbar.C.

void BC_ScrollBar::set_images VFrame **  data  ) 
 

Definition at line 61 of file bcscrollbar.C.

int BC_ScrollBar::update_length int64_t  length,
int64_t  position,
int64_t  handlelength
 

Definition at line 641 of file bcscrollbar.C.

int BC_ScrollBar::update_value int64_t  value  ) 
 

Definition at line 634 of file bcscrollbar.C.


Friends And Related Function Documentation

friend class BC_ListBox [friend]
 

Reimplemented from BC_WindowBase.

Definition at line 52 of file bcscrollbar.h.


Member Data Documentation

BC_WindowBase* BC_ScrollBar::bound_to [private]
 

Definition at line 90 of file bcscrollbar.h.

VFrame** BC_ScrollBar::data [private]
 

Definition at line 91 of file bcscrollbar.h.

int BC_ScrollBar::handle_pixel [private]
 

Definition at line 86 of file bcscrollbar.h.

int BC_ScrollBar::handle_pixels [private]
 

Definition at line 86 of file bcscrollbar.h.

int64_t BC_ScrollBar::handlelength [private]
 

Definition at line 83 of file bcscrollbar.h.

int BC_ScrollBar::highlight_status [private]
 

Definition at line 84 of file bcscrollbar.h.

BC_Pixmap* BC_ScrollBar::images[SCROLL_IMAGES] [private]
 

Definition at line 92 of file bcscrollbar.h.

int64_t BC_ScrollBar::length [private]
 

Definition at line 83 of file bcscrollbar.h.

int BC_ScrollBar::max_pixel [private]
 

Definition at line 87 of file bcscrollbar.h.

int BC_ScrollBar::min_pixel [private]
 

Definition at line 87 of file bcscrollbar.h.

int BC_ScrollBar::orientation [private]
 

Definition at line 85 of file bcscrollbar.h.

int BC_ScrollBar::pixels [private]
 

Definition at line 85 of file bcscrollbar.h.

int64_t BC_ScrollBar::position [private]
 

Definition at line 83 of file bcscrollbar.h.

int64_t BC_ScrollBar::repeat_count [private]
 

Definition at line 88 of file bcscrollbar.h.

int BC_ScrollBar::selection_status [private]
 

Definition at line 84 of file bcscrollbar.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:38 2006 for Guicast-svn by  doxygen 1.4.4