#include <ccomponent.h>
Inheritance diagram for CPanel:


Public Member Functions | |
| virtual | ~CPanel () |
| virtual void | draw (CSurface &surface, CRect &rect) |
| virtual int | handle_event (CEvent &event) |
| void | add (CComponent &c) |
| virtual void | set_pos (const CPoint &pos) |
| virtual void | set_absolute_pos (const CPoint &pos) |
Definition at line 214 of file ccomponent.h.
|
|
Definition at line 222 of file ccomponent.h. |
|
|
Add the given component to the panel and set its parent to this panel. Then update the absolute position of the child to reflect its position relative to this parent. Definition at line 233 of file ccomponent.h. References CComponent::redraw(), and CComponent::set_parent(). |
Here is the call graph for this function:

|
||||||||||||
|
Draw the panel and its children, from back to front. Reimplemented from CComponent. Definition at line 5 of file ccomponent.cpp. References CDequeBackwardIterator< T >::current_item(), CComponent::draw(), CDequeBackwardIterator< T >::is_done(), CDequeBackwardIterator< T >::next(), and CComponent::visible(). |
Here is the call graph for this function:

|
|
Attempt to handle the given event, from front children to back children. Reimplemented from CComponent. Definition at line 24 of file ccomponent.cpp. References CDequeForwardIterator< T >::current_item(), CComponent::do_handle_event(), CDequeForwardIterator< T >::is_done(), and CDequeForwardIterator< T >::next(). |
Here is the call graph for this function:

|
|
Overridden method to set the absolute position of the component (and thus its children). Reimplemented from CComponent. Definition at line 39 of file ccomponent.cpp. References CDequeForwardIterator< T >::current_item(), CDequeForwardIterator< T >::is_done(), CDequeForwardIterator< T >::next(), and CComponent::set_absolute_pos(). |
Here is the call graph for this function:

|
|
Overridden method to set the position of the component (and thus its children). Reimplemented from CComponent. Definition at line 53 of file ccomponent.cpp. References CDequeForwardIterator< T >::current_item(), CDequeForwardIterator< T >::is_done(), CDequeForwardIterator< T >::next(), and CComponent::set_pos(). |
Here is the call graph for this function:

1.3.3