#include <mw/clock.h>
Link against: clock.lib
class RTimeDevice : public RAnimWithUtils |
Public Member Functions | |
---|---|
IMPORT_C void | Draw() |
IMPORT_C void | SetPosition(const TPoint &) |
IMPORT_C void | SetPositionAndSize(const TPoint &, const TSize &) |
IMPORT_C void | SetSize(const TSize &) |
IMPORT_C void | SetVisible(TBool) |
IMPORT_C void | UpdateDisplay() |
Protected Member Functions | |
---|---|
RTimeDevice(RAnimDll &, const RWindowBase &) | |
void | AppendAnalogDisplayConstructorArgsL(const TPoint &, const TSize &, const TMargins &, const STimeDeviceShadow &, TInt, TInt, TInt, const SAnalogDisplayAmPm *) |
void | AppendDigitalDisplayConstructorArgsL(const TPoint &, const TSize &, const TMargins &, const STimeDeviceShadow &, TRgb, TInt) |
void | AppendDisplayTypeL(TDisplayType) |
Sets display parameters for clocks.
RTimeDevice | ( | RAnimDll & | aAnimDll, |
const RWindowBase & | aWindow | ||
) | [protected] |
void | AppendAnalogDisplayConstructorArgsL | ( | const TPoint & | aPosition, |
const TSize & | aSize, | |||
const TMargins & | aMargins, | |||
const STimeDeviceShadow & | aShadow, | |||
TInt | aFaceHandle, | |||
TInt | aFaceMaskHandle, | |||
TInt | aNumHands, | |||
const SAnalogDisplayAmPm * | aAmPm | |||
) | [protected] |
void | AppendDigitalDisplayConstructorArgsL | ( | const TPoint & | aPosition, |
const TSize & | aSize, | |||
const TMargins & | aMargins, | |||
const STimeDeviceShadow & | aShadow, | |||
TRgb | aBackgroundColor, | |||
TInt | aNumTextSections | |||
) | [protected] |
void | AppendDisplayTypeL | ( | TDisplayType | aType | ) | [protected] |
IMPORT_C void | SetPosition | ( | const TPoint & | aPosition | ) |
Sets the clock's on-screen position.
This function can only be called after full construction of the clock.
Parameters | |
---|---|
aPosition | Clock co-ordinates |
IMPORT_C void | SetSize | ( | const TSize & | aSize | ) |
Sets the clock's on-screen size.
This function can only be called after full construction of the clock.
Parameters | |
---|---|
aSize | Clock size |
IMPORT_C void | SetVisible | ( | TBool | aVisible | ) |
Makes the clock visible. By default, clocks are invisible.
This function can only be called after full construction of the clock.
Parameters | |
---|---|
aVisible | ETrue makes the clock visible, EFalse invisible |