#include <AddrbookApp.h>
Inheritance diagram for CPersonView::
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... | |
CPerson * | getPerson () |
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.
|
|
|
|
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. |
|
|
|
Sets the person to display. Can be any CPerson (usually gotten from a CAddressBook).
|