BC_ListBoxToggle Class Reference

#include <bclistbox.h>

Collaboration diagram for BC_ListBoxToggle:

Collaboration graph
[legend]

Public Types

enum  {
  TOGGLE_UP, TOGGLE_UPHI, TOGGLE_CHECKED, TOGGLE_DOWN,
  TOGGLE_CHECKEDHI, TOGGLE_DOWN_EXIT
}

Public Member Functions

 BC_ListBoxToggle (BC_ListBox *listbox, BC_ListBoxItem *item, int x, int y)
int cursor_motion_event (int *redraw_toggles)
int cursor_leave_event (int *redraw_toggles)
int button_press_event ()
int button_release_event (int *redraw_toggles)
void update (BC_ListBoxItem *item, int x, int y, int flash)
void draw (int flash)

Data Fields

BC_ListBoxlistbox
BC_ListBoxItemitem
int value
int x
int y
int state

Detailed Description

Definition at line 45 of file bclistbox.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
TOGGLE_UP 
TOGGLE_UPHI 
TOGGLE_CHECKED 
TOGGLE_DOWN 
TOGGLE_CHECKEDHI 
TOGGLE_DOWN_EXIT 

Definition at line 66 of file bclistbox.h.


Constructor & Destructor Documentation

BC_ListBoxToggle::BC_ListBoxToggle ( BC_ListBox listbox,
BC_ListBoxItem item,
int  x,
int  y 
)

Definition at line 84 of file bclistbox.C.

References BC_ListBoxItem::get_expand(), state, BC_Toggle::TOGGLE_CHECKED, BC_Toggle::TOGGLE_UP, and value.

Here is the call graph for this function:


Member Function Documentation

int BC_ListBoxToggle::cursor_motion_event ( int *  redraw_toggles  ) 

int BC_ListBoxToggle::cursor_leave_event ( int *  redraw_toggles  ) 

Definition at line 204 of file bclistbox.C.

References state, TOGGLE_CHECKED, TOGGLE_UP, and value.

Referenced by BC_ListBox::cursor_leave_event().

int BC_ListBoxToggle::button_press_event (  ) 

int BC_ListBoxToggle::button_release_event ( int *  redraw_toggles  ) 

Definition at line 228 of file bclistbox.C.

References BC_ListBox::expand_item(), item, listbox, state, TOGGLE_CHECKED, TOGGLE_CHECKEDHI, TOGGLE_DOWN, TOGGLE_DOWN_EXIT, TOGGLE_UP, TOGGLE_UPHI, and value.

Referenced by BC_ListBox::button_release_event().

Here is the call graph for this function:

void BC_ListBoxToggle::update ( BC_ListBoxItem item,
int  x,
int  y,
int  flash 
)

Definition at line 100 of file bclistbox.C.

References draw(), BC_ListBoxItem::get_expand(), state, TOGGLE_CHECKED, TOGGLE_CHECKEDHI, TOGGLE_DOWN, TOGGLE_DOWN_EXIT, TOGGLE_UP, TOGGLE_UPHI, and value.

Referenced by BC_ListBox::draw_text_recursive().

Here is the call graph for this function:

void BC_ListBoxToggle::draw ( int  flash  ) 


Field Documentation

Definition at line 60 of file bclistbox.h.

Referenced by button_press_event(), button_release_event(), cursor_motion_event(), and draw().

Definition at line 61 of file bclistbox.h.

Referenced by button_release_event().

Definition at line 63 of file bclistbox.h.

Referenced by button_press_event(), cursor_motion_event(), and draw().

Definition at line 64 of file bclistbox.h.

Referenced by button_press_event(), cursor_motion_event(), and draw().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:14:11 2008 for Cinelerra by  doxygen 1.5.5