Object look-and-feel class. More...
#include <ilviews/gadgets/notebook.h>
Public Member Functions | |
| virtual void | getTabSize (const IlvNotebookPage *, IlvDim &, IlvDim &) const |
| Computes the size of a notebook tab. More... | |
| virtual IlBoolean | handleEvent (IlvNotebook *, IlvEvent &) const |
| Handles the events of a notebook. More... | |
Public Member Functions inherited from IlvNotebookLFHandler | |
| IlvNotebookLFHandler (IlvLookFeelHandler *lfh) | |
| Constructor. More... | |
| virtual void | draw (const IlvNotebook *notebook, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
| Draws a notebook. More... | |
| virtual void | drawTab (const IlvNotebook *notebook, IlUShort index, const IlvRect &rect, IlvPort *dst, const IlvRegion *clip) const =0 |
| Draws a notebook tab. More... | |
| virtual void | drawTabContents (const IlvNotebook *notebook, const IlvNotebookPage *page, const IlvRect &rect, IlvPort *dst, const IlvRegion *clip) const =0 |
| Draws the contents of a notebook tab. More... | |
| virtual IlUShort | getLastVisibleTab (const IlvNotebook *notebook, IlBoolean &arrows, IlBoolean &cuttab, IlBoolean &decr, IlBoolean &incr) const =0 |
| Computes the last visible tab of a notebook. More... | |
| virtual void | getTabRect (const IlvNotebook *notebook, IlUShort index, const IlvRect &bbox, IlvRect &rect) const =0 |
| Computes the bounding box of notebook tab. More... | |
Object look-and-feel class.
Library: ilvadvgdt
The predefined object look-and-feel handlers of the notebook gadget are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.
|
virtual |
Computes the size of a notebook tab.
| page | The notebook page. |
| width | The returned width of the tab. |
| height | The returned height of the tab. |
Implements IlvNotebookLFHandler.
Reimplemented in IlvNotebookMLFHandler, and IlvNotebookCSSLFHandler.
|
virtual |
Handles the events of a notebook.
| notebook | The notebook. |
| event | The event to handle. |
IlTrue if the event has been consumed. Implements IlvNotebookLFHandler.