#include <Container.h>
Public Member Functions | |
| Container (Shell *const shell) | |
| virtual | ~Container (void) |
| size_t | GetChildCount () const |
| Face * | GetChild (size_t index) const |
| size_t | FindChild (Face *child) const |
| bool | ContainsChild (Face *child) const |
| bool | AddChild (Face *child) |
| bool | RemoveChild (Face *child) |
| void | RemoveAllChilds () |
| Face * | GetChildAt (const ml7::Vector2 &client_position) const |
Public Attributes | |
| events::EventHandler < events::ChildEventArgs > | OnAddChildEventHandler |
| events::EventHandler < events::ChildEventArgs > | OnRemoveChildEventHandler |
| friend | Shell |
Protected Member Functions | |
| Container (const unsigned face_class_id, Shell *const shell, const Config::Face &cfg) | |
The base class for containers (windows, group boxes, etc.).
| fl7::faces::Container::Container | ( | const unsigned | face_class_id, | |
| Shell *const | shell, | |||
| const Config::Face & | cfg | |||
| ) | [explicit, protected] |
Explicit constructor.
| fl7::faces::Container::Container | ( | Shell *const | shell | ) |
Explicit constructor.
| fl7::faces::Container::~Container | ( | void | ) | [virtual] |
Destructor.
| bool fl7::faces::Container::AddChild | ( | Face * | child | ) |
Adds a given face as child face.
| bool fl7::faces::Container::ContainsChild | ( | Face * | child | ) | const [inline] |
Checks whether a given face is contained as child face.
| size_t fl7::faces::Container::FindChild | ( | Face * | child | ) | const [inline] |
Finds a given face if it is contained as child face and returns its index.
| Face* fl7::faces::Container::GetChild | ( | size_t | index | ) | const [inline] |
Returns a child face given by its index.
| Face* fl7::faces::Container::GetChildAt | ( | const ml7::Vector2 & | client_position | ) | const [inline] |
Returns the ("first" visible) face at a given position in client coordinates.
| size_t fl7::faces::Container::GetChildCount | ( | ) | const [inline] |
Returns the number of underlying faces.
| void fl7::faces::Container::RemoveAllChilds | ( | ) |
Removes all child faces from this container.
| bool fl7::faces::Container::RemoveChild | ( | Face * | child | ) |
Removes a given child face.
Will be called after a child has been added to this container.
Will be called after a child has been removed from this container.
| friend fl7::faces::Container::Shell |
Reimplemented from fl7::faces::Collection.
1.7.1