Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CPersonView Class Reference

A widget to display the information about a person. More...

#include <AddrbookApp.h>

Inheritance diagram for CPersonView::

CGfxWidget CWidget List of all members.

Public Methods

 CPersonView (int x, int y, int width, int height)
 Constructor. More...

 ~CPersonView ()
void draw (CGfxScreen *S)
 Draw method - The widget should draw itslelf to the passed CGfxScreen. More...

void setPerson (CPerson *p)
 Sets the person to display. Can be any CPerson (usually gotten from a CAddressBook). More...

CPersongetPerson ()

Detailed Description

A widget to display the information about a person.

The CPersonView displays a person in the addressbook in a pretty format. Looks a little like an ID card on a folder graphic. Only displays the fields that have data in them.


Constructor & Destructor Documentation

CPersonView::CPersonView int    x,
int    y,
int    width,
int    height
 

Constructor.

CPersonView::~CPersonView  
 


Member Function Documentation

void CPersonView::draw CGfxScreen   S [virtual]
 

Draw method - The widget should draw itslelf to the passed CGfxScreen.

This will be called when the screen is being redrawn. The widget should draw itself using its m_x and m_y members as a starting co-ordinate. The drawing should be all on the passed CGfxScreen or the front lcd screen with libdj.TextScreen

Reimplemented from CGfxWidget.

CPerson* CPersonView::getPerson   [inline]
 

void CPersonView::setPerson CPerson   p
 

Sets the person to display. Can be any CPerson (usually gotten from a CAddressBook).


The documentation for this class was generated from the following files:
Generated on Thu Dec 6 00:14:57 2001 for Dijinni by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001