Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

LEDView Class Reference

List of all members.

Public Member Functions

 LEDView (BRect frame, const char *label)
virtual void Draw (BRect update)
virtual void Pulse (void)
void DrawLED (void)
void SetState (int state)

Private Attributes

int current_state
const char * the_label
BRect bounds

Constructor & Destructor Documentation

LEDView::LEDView BRect  frame,
const char *  label
 

Definition at line 854 of file Display_Be.i.

References bounds, current_state, fill_gray, and the_label.


Member Function Documentation

void LEDView::Draw BRect  update  )  [virtual]
 

Definition at line 868 of file Display_Be.i.

References bounds, DrawLED(), fill_gray, shadow_gray, shine_gray, and the_label.

void LEDView::DrawLED void   ) 
 

Definition at line 897 of file Display_Be.i.

References bounds, current_state, LED_ERROR_OFF, LED_ERROR_ON, LED_OFF, and LED_ON.

Referenced by Draw(), Pulse(), and SetState().

void LEDView::Pulse void   )  [virtual]
 

Definition at line 934 of file Display_Be.i.

References current_state, DrawLED(), LED_ERROR_OFF, and LED_ERROR_ON.

void LEDView::SetState int  state  ) 
 

Definition at line 921 of file Display_Be.i.

References current_state, and DrawLED().


Member Data Documentation

BRect LEDView::bounds [private]
 

Definition at line 211 of file Display_Be.i.

Referenced by Draw(), DrawLED(), and LEDView().

int LEDView::current_state [private]
 

Definition at line 209 of file Display_Be.i.

Referenced by DrawLED(), LEDView(), Pulse(), and SetState().

const char* LEDView::the_label [private]
 

Definition at line 210 of file Display_Be.i.

Referenced by Draw(), and LEDView().


The documentation for this class was generated from the following file:
Generated on Tue Feb 8 04:12:14 2005 for E32frodo by doxygen 1.3.3