Classe offrant l'accès aux fonctionnalités de mise en page. More...
#include "cogitant/display/operation.h"
  
 Public Member Functions | |
| LayoutHandler () | |
| Constructeur par défaut.  More... | |
| void | addOperation (OperationLayout *ope) | 
| Ajout d'une opération aux opérations gérées.  More... | |
| void | deleteOperation (OperationLayout *ope) | 
| Suppression d'une opération.  More... | |
| OperationLayout * | findOperation (Context const &context, Drawing const &drawing, Drawing::Element const *el=NULL) const | 
| Accès à l'opération pouvant gérer l'élément.  More... | |
| bool | run (Context &context, Drawing const &drawing, Drawing::Element const *el=NULL, bool forcesize=false, bool forcepos=false) const | 
| Calcul de la mise en page.  More... | |
  Public Member Functions inherited from cogitantdisplay::OperationHandler | |
| OperationHandler () | |
| Constructeur par défaut.  More... | |
| virtual | ~OperationHandler () | 
| Destructeur.  More... | |
| std::vector< Operation * > const & | operations () const | 
| Accès aux opérations.  More... | |
Additional Inherited Members | |
  Protected Member Functions inherited from cogitantdisplay::OperationHandler | |
| Operation * | find (Context const &context, Drawing const &drawing, Drawing::Element const *el=NULL) const | 
| Accès à l'opération pouvant gérer l'élément.  More... | |
| void | deleteOp (Operation *op) | 
| Suppression d'une opération.  More... | |
  Protected Attributes inherited from cogitantdisplay::OperationHandler | |
| std::vector< Operation * > | m_operations | 
| Les opérations gérées par l'OperationHandler.  More... | |
  Static Protected Attributes inherited from cogitantdisplay::OperationHandler | |
| static unsigned int | s_nb | 
| Nombre handlers actuellement en mémoire.  | |
Classe offrant l'accès aux fonctionnalités de mise en page.
| cogitantdisplay::LayoutHandler::LayoutHandler | ( | ) | 
Constructeur par défaut.
| void cogitantdisplay::LayoutHandler::addOperation | ( | OperationLayout * | ope | ) | 
Ajout d'une opération aux opérations gérées.
| ope | Opération à ajouter. Après l'ajout, cette opération ne doit plus être détruite. | 
| void cogitantdisplay::LayoutHandler::deleteOperation | ( | OperationLayout * | ope | ) | 
Suppression d'une opération.
| ope | Opération à supprimer. L'opération est supprimée de la liste des opérations gérées, puis elle est détruite. | 
| OperationLayout* cogitantdisplay::LayoutHandler::findOperation | ( | Context const & | context, | 
| Drawing const & | drawing, | ||
| Drawing::Element const * | el = NULL  | 
        ||
| ) | const | 
Accès à l'opération pouvant gérer l'élément.
| context | contexte utilisé. | 
| drawing | dessin | 
| el | élément de dessin à gérer. Si NULL l'opération recherchée est celle qui permet de gérer le dessin dans son entier.  | 
| bool cogitantdisplay::LayoutHandler::run | ( | Context & | context, | 
| Drawing const & | drawing, | ||
| Drawing::Element const * | el = NULL,  | 
        ||
| bool | forcesize = false,  | 
        ||
| bool | forcepos = false  | 
        ||
| ) | const | 
Calcul de la mise en page.