📄 splashview.h
字号:
/*
* ============================================================================
* Name : CSplashView from SplashView.h
* Part of : Splash
* Created : 17/02/2003 by Eric@NewLC
* Description:
* Declares container control for application.
* Version :
* Copyright:
* ============================================================================
*/
#ifndef SPLASHVIEW_H
#define SPLASHVIEW_H
// INCLUDES
#include <coecntrl.h>
#include <aknview.h>
#include <aknutils.h>
#include "SplashContainer.h"
#include "CalendarAPIexampleAppUi.h"
// FORWARD DECLARATIONS
// CLASS DECLARATION
// CONSTANTS
const TUid KSplashViewId = {7};
/**
* CSplashView container control class.
*
*/
class CSplashView : public CSplashContainer
{
public: // Constructors and destructor
/**
* EPOC default constructor.
* @param aRect Frame rectangle for container.
*/
void ConstructL(const TRect& aRect,CAknViewAppUi& view);
/**
* Destructor.
*/
~CSplashView();
public: // New functions
/*!
* From CAknView, Id.
* Returns ID of View.
*/
TUid Id() const;
/*
* Retourne l'etat de la vue
*/
TBool StateOfView() const;
public: // Functions from base classes
/**
* From ?base_class ?member_description
*/
// event handling section
// e.g Listbox events
void HandleControlEventL(CCoeControl* aControl, MCoeControlObserver::TCoeEvent aEventType);
private: // New Functions
private: // Functions from base classes
/**
* From CoeControl,SizeChanged.
*/
void SizeChanged();
/**
* From CoeControl,CountComponentControls.
*/
TInt CountComponentControls() const;
/**
* From CCoeControl,ComponentControl.
*/
CCoeControl* ComponentControl(TInt aIndex) const;
/**
* From SplashContainer,Draw.
*/
void DrawSplash(const TRect& aRect) const;
void DrawMain(const TRect& aRect) const;
void DrawExiting(const TRect& aRect) const;
TBool Tick();
private: //data
TInt iColorCount;
TInt iPreCount;
TInt iPostCount;
TBool state;
CFbsBitmap* iBitmap;
CAknViewAppUi* AppView;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -