?? smbmusicapsingleplayerdispplaytimectrl.h
字號:
/*----------------------------------------------------------------------------*/
// Copyright (c) 2007Sony Ericsson Mobile Communications Japan, Inc.
// All rights reserved.
/*----------------------------------------------------------------------------*/
// FileName:
// SmbMusicAPSinglePlayerDispTimeCtrl.h
//
// Description:
// 堦嬋嵞惗僾儗僀儎乕嵞惗宱夁帪娫昞帵僐儞僩儘乕儖
//
// 2007-02-1 怴婯嶌惉 K3hirono
/*------------------------------------------------------------------------*/
// $NoKeywords: $
#ifndef SMBMUSICAPSINGLEPLAYERDISPTIMECTRL_H_
#define SMBMUSICAPSINGLEPLAYERDISPTIMECTRL_H_
#ifndef __COECNTRL_H__
#include <coecntrl.h> //宲彸尦
#endif //__COECNTRL_H__
#ifndef __GULICON_H__
#include <GULICON.H> //GUIIcon
#endif //__GULICON_H__
#ifndef __SMBCOMMONDEF_H__
#include <SmbCommonDef.h> //NAMESPACE儅僋儘
#endif //__SMBCOMMONDEF_H__
SEMCJ_NAMESPACE_BEGIN
class CSmbMusicAPSinglePlayerDispPlayTimeCtrl : public CCoeControl
{
public:
CSmbMusicAPSinglePlayerDispPlayTimeCtrl(); //僐儞僗僩儔僋僞
~CSmbMusicAPSinglePlayerDispPlayTimeCtrl(); //僨僗僩儔僋僞
void SetNewTime(TUint32 aNewTime, TDrawNow aDrawNow = EDrawNow); //怴偟偔宱夁帪娫傪愝掕偡傞
void InitialPlayTimeControl(TUint32 aNewTime, TInt aDuration); // 宱夁帪娫昞帵僐儞僩儘乕儖傪弶婜壔偡傞
TSize MinimumSize(); // 嵟彫僒僀僘傪曉媝偡傞
void Draw(const TRect& /* aRect */) const; // 嵞昤夋
void ConstructL(TDisplayMode aDisplayMode); //2nd僐儞僗僩儔僋僞
private:
void LoadBitmapL(); //Bitmap傪儘乕僪偡傞
void LoadIconL(TInt aId, TInt aMaskId, const TDesC& aFileName); // 傾僀僐儞傪儘乕僪偡傞
CGulIcon* CreateIconL(TInt aId, TInt aMaskId, const TDesC& aFileName); // 傾僀僐儞傪嶌惉偡傞
void DrawPlayTime() const; // 宱夁帪娫傪嵞昤夋偡傞
void DrawDuration() const; // 憤嵞惗帪娫傪嵞昤夋偡傞
TUint32 iPlayTime; ///< 尰嵞惗帪娫
TInt iDuration; ///< 憤嵞惗帪娫
RPointerArray<CGulIcon> iNumberIcon; ///< 宱夁帪娫梡傾僀僐儞
CFbsBitmapDevice *iOffScreenDevice; ///< 僆僼僗僋儕乕儞僨僶僀僗
CFbsBitmap* iOffScreenBitmap; ///< 僆僼僗僋儕乕儞梡價僢僩儅僢僾
CFbsBitGc* iOffScreenGc; ///< 僆僼僗僋儕乕儞梡GC
TBool iInit;
};
SEMCJ_NAMESPACE_END
#endif // SMBMUSICAPSINGLEPLAYERDISPTIMECTRL_H_
// end of SmbMusicAPSinglePlayerDispPlayTimeCtrl.h
/* Copyright (C) 2007Sony Ericsson Mobile Communications Japan, Inc. */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -