亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? splashview.cpp

?? 設置屏幕特效的symbian series60平臺程序
?? CPP
字號:
/*
* ============================================================================
*  Name     : CSplashView from CSplashView.h
*  Part of  : Splash
*  Created  : 17/02/2003 by Eric@NewLC
*  Implementation notes:
*     Initial content was generated by Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES
#include <eikdef.h>
#include "SplashView.h"
#include "SplashDocument.h"
#include "SplashAppUi.h"

// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CSplashView::ConstructL(const TRect& aRect)
// EPOC two phased constructor
// ---------------------------------------------------------
//
void CSplashView::ConstructL(const TRect& aRect)
{
    //
    // Create and activate the main window
    //
    CreateWindowL();
    SetRect(aRect);
    ActivateL();

    //
    // Create the SplashScreen
    // Set the refresh rate of the screen to 1000 micro-seconds 
    //
    CSplashContainer::ConstructL(aRect);
    SetTimerTick(1000);

    //
    // Configure some internal counters that are used for displaying
    // the splash screen (app specific) - not par or the CSplashContainer
    // 
    // iPreCount is the duration (in Ticks, 1 ticks = 1000 micro-sec according to
    //           previous initialisation) of the "black screen" before the text
    //           starts to appear
    // iColorCount is the value that shall be used for each R,G and B component of
    //           displayed text color
    // iPostCount is the duration (in Ticks) of display of the splash screen after
    //           the animation
    iPreCount  =10;
    iColorCount=0;
    iPostCount =20;

    //
    // Activate the splashscreen animation
    //
	StartTimer();
}

// Destructor
CSplashView::~CSplashView()
{
}

// ---------------------------------------------------------
// CSplashView::SizeChanged()
// Called by framework when the view size is changed
// ---------------------------------------------------------
//
void CSplashView::SizeChanged()
{
}

// ---------------------------------------------------------
// CSplashView::CountComponentControls() const
// ---------------------------------------------------------
//
TInt CSplashView::CountComponentControls() const
    {
    return 0; // return nbr of controls inside this container
    }

// ---------------------------------------------------------
// CSplashView::ComponentControl(TInt aIndex) const
// ---------------------------------------------------------
//
CCoeControl* CSplashView::ComponentControl(TInt /*aIndex*/) const
    {

            return NULL;

    }

// ---------------------------------------------------------
// CSplashView::DrawSplash(const TRect& aRect) const
// Equivalent of the CCoeControl Draw function while in Splash
// mode (i.e. until a call to SetState(<new mode>))
// ---------------------------------------------------------
//
void CSplashView::DrawSplash(const TRect& /*aRect*/) const
{
    CWindowGc& gc = SystemGc();
    TRect    rect = Rect();

    //
    // Draw Black background
    //
    gc.SetPenStyle(CGraphicsContext::ENullPen);
    gc.SetBrushStyle(CGraphicsContext::ESolidBrush);
    gc.SetBrushColor(KRgbBlack);
    gc.DrawRect(rect);

    //
    // Select default font for title
    // The color will change from black -> white with the increase of iColorCount
    //
    const CFont* font = iEikonEnv->TitleFont();
    gc.UseFont(font);
    gc.SetPenStyle(CGraphicsContext::ESolidPen);
    gc.SetPenColor(TRgb(iColorCount,iColorCount,iColorCount));

    //
    // Draw the text, horizontally centered and vertically slightly below center
    //
    TSize aSize(rect.Width(),font->HeightInPixels()+5);
    rect.SetRect(TPoint(0,(rect.Height()/2)-font->HeightInPixels()-5),aSize);
    gc.DrawText(_L("My"),rect,font->AscentInPixels(),CGraphicsContext::ECenter);

    rect.Move(0,font->HeightInPixels()+2);
    gc.DrawText(_L("Splash"),rect,font->AscentInPixels(),CGraphicsContext::ECenter);
 
    rect.Move(0,font->HeightInPixels()+2);
    gc.DrawText(_L("Screen"),rect,font->AscentInPixels(),CGraphicsContext::ECenter);
    gc.DiscardFont();
}

// ---------------------------------------------------------
// CSplashView::DrawMain(const TRect& aRect) const
// Equivalent of the CCoeControl Draw function while in main
// mode (i.e. after splash). Normally during the lifetime
// of your app.
// ---------------------------------------------------------
//
void CSplashView::DrawMain(const TRect& aRect) const
{
	CWindowGc& gc = SystemGc();
    // TODO: Add your drawing code here
    // example code...
    gc.SetPenStyle(CGraphicsContext::ENullPen);
    gc.SetBrushColor(KRgbWhite);
    gc.SetBrushStyle(CGraphicsContext::ESolidBrush);
    gc.DrawRect(aRect);
}

// ---------------------------------------------------------
// CSplashView::DrawExiting(const TRect& aRect) const
// Equivalent of the CCoeControl Draw function before exiting
// the App (not used in this app)
// ---------------------------------------------------------
//
void CSplashView::DrawExiting(const TRect& /*aRect*/) const
{
}

// ---------------------------------------------------------
// CSplashView::Tick()
// This function is called periodically each <tick> microsecond.
// The tick value has been initialised in the CSplashView::ConstructL
// function.
// If the function return ETrue, then a screen redraw will be 
// requested by the base class.
// ---------------------------------------------------------
//
TBool CSplashView::Tick()
{
    //
    // Start by precount
    // (during precount iColorCount is zero, so splash text will be displayed
    // in black and then not visible)
    if(iPreCount>0)
    {
        iPreCount--;
    }
    //
    // After PreCount, fade the text to white with a 15 increment.
    //
    else if(iColorCount<255) 
    {
        iColorCount+=15;
    }
    //
    // When the text is white, wait for iPostCount Tick before switching
    // to main state
    //
    else if(iPostCount>0)
    {
        iPostCount--;
    }
    else
    {
	    SetState(CSplashContainer::EMain);
	    StopTimer();
    }
	return ETrue;
}


// ---------------------------------------------------------
// CSplashView::HandleControlEventL(
//     CCoeControl* aControl,TCoeEvent aEventType)
// ---------------------------------------------------------
//
void CSplashView::HandleControlEventL(
    CCoeControl* /*aControl*/,TCoeEvent /*aEventType*/)
    {
    // TODO: Add your control event handler code here
    }

// End of File  

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频一区二区在线| 成人在线视频一区二区| 一区二区激情视频| 日韩美女视频一区二区| 中文字幕一区二区不卡| 国产精品午夜在线| 日本一区二区三区电影| 国产精品成人一区二区三区夜夜夜 | 精品亚洲aⅴ乱码一区二区三区| 视频在线在亚洲| 午夜av区久久| 免费成人在线网站| 麻豆精品在线看| 理论电影国产精品| 国产馆精品极品| 成人一级黄色片| 99精品在线观看视频| 91福利国产精品| 69久久99精品久久久久婷婷| 日韩网站在线看片你懂的| 精品欧美乱码久久久久久| 国产欧美一区二区精品性色| 国产精品国模大尺度视频| 亚洲欧美另类久久久精品| 亚洲丰满少妇videoshd| 蜜臀av性久久久久蜜臀aⅴ四虎 | 亚洲图片欧美综合| 日韩av在线发布| 久草中文综合在线| 白白色 亚洲乱淫| 在线视频中文字幕一区二区| 制服丝袜激情欧洲亚洲| 精品国产一区a| **性色生活片久久毛片| 婷婷一区二区三区| 国产一区二区剧情av在线| 成人免费黄色在线| 欧美中文一区二区三区| 首页综合国产亚洲丝袜| 久久国产精品区| caoporn国产精品| 欧美日韩另类国产亚洲欧美一级| 欧美一区二区三区啪啪| 国产精品天天摸av网| 亚洲一区影音先锋| 麻豆91在线播放免费| 成人性色生活片| 欧美性猛片aaaaaaa做受| 久久综合久久综合九色| 亚洲美女免费在线| 久久成人18免费观看| 91在线观看成人| 欧美videofree性高清杂交| 亚洲欧美一区二区三区极速播放| 午夜精品一区二区三区电影天堂| 国产一区二区视频在线| 欧洲一区二区三区在线| 国产视频一区二区在线| 亚洲高清久久久| 成人高清av在线| 日韩欧美综合在线| 亚洲一区二区三区在线播放| 国产一区二区美女| 欧美丰满一区二区免费视频| 中文字幕一区日韩精品欧美| 蜜桃久久久久久| 在线看日韩精品电影| 国产亚洲成年网址在线观看| 日韩av成人高清| 色婷婷国产精品久久包臀 | 性感美女极品91精品| 国产91精品久久久久久久网曝门| 欧美日韩第一区日日骚| 中文字幕一区二区三区不卡在线 | av亚洲产国偷v产偷v自拍| 精品国精品自拍自在线| 亚洲成人自拍偷拍| 92国产精品观看| 国产欧美日韩精品一区| 免费av网站大全久久| 欧美在线看片a免费观看| 国产日韩精品一区| 九九久久精品视频| 日韩欧美一区电影| 奇米影视一区二区三区小说| 在线中文字幕一区| 亚洲免费视频中文字幕| 成人国产免费视频| 久久精品日产第一区二区三区高清版| 日本亚洲欧美天堂免费| 欧美精品乱人伦久久久久久| 一区二区三区电影在线播| 成人国产精品免费网站| 中文字幕免费一区| 成人午夜视频在线| 久久九九久久九九| 精品一区二区av| 欧美tk丨vk视频| 久久电影国产免费久久电影| 欧美一级夜夜爽| 蜜芽一区二区三区| 欧美一个色资源| 久久99这里只有精品| 天天操天天干天天综合网| 欧洲在线/亚洲| 亚洲综合视频在线观看| 欧美视频一区二区三区| 亚洲va欧美va天堂v国产综合| 欧美性受xxxx| 亚洲成av人片在线观看无码| 欧美日韩国产免费| 日韩福利电影在线观看| 欧美一个色资源| 国产一区啦啦啦在线观看| 国产无遮挡一区二区三区毛片日本| 韩国av一区二区三区| 国产欧美综合色| 成人午夜av在线| 亚洲精品视频观看| 欧美在线啊v一区| 日本美女视频一区二区| 精品免费99久久| 国产suv精品一区二区三区| 日本一区二区三区久久久久久久久不 | 久久久久99精品国产片| 成人免费黄色大片| 一区二区三区在线观看欧美| 欧美日韩黄视频| 精品一区二区综合| 国产精品久久久久一区二区三区| 99热国产精品| 午夜精品在线视频一区| 欧美成人女星排名| 成人av网站免费| 亚洲国产欧美在线| 精品国产乱码久久久久久牛牛| 国产乱码精品一品二品| 亚洲欧美日韩国产中文在线| 欧美精品 国产精品| 国产盗摄精品一区二区三区在线| 亚洲日本欧美天堂| 51精品久久久久久久蜜臀| 国产在线国偷精品免费看| 国产精品不卡一区| 欧美日韩大陆在线| 粉嫩欧美一区二区三区高清影视| 亚洲一区二区av在线| 欧美va亚洲va在线观看蝴蝶网| 99久久综合国产精品| 亚洲mv在线观看| 欧美激情一区三区| 欧美久久婷婷综合色| 国产另类ts人妖一区二区| 一区二区三区蜜桃网| 日韩免费视频一区二区| 色呦呦国产精品| 精品一区二区久久| 亚洲成a人片在线观看中文| 欧美国产日韩精品免费观看| 欧美日韩电影在线播放| 成人av网址在线| 九九国产精品视频| 亚洲最大的成人av| 国产人伦精品一区二区| 欧美日产国产精品| 99re热这里只有精品视频| 老司机精品视频线观看86| 亚洲女人的天堂| 国产日韩成人精品| 欧美mv日韩mv国产网站| 91免费版在线| 成人精品视频一区| 久久成人免费日本黄色| 亚洲成人av在线电影| 国产精品丝袜一区| 精品久久人人做人人爰| 欧美麻豆精品久久久久久| 9色porny自拍视频一区二区| 毛片一区二区三区| 亚洲国产美女搞黄色| 国产精品久久久久久久岛一牛影视 | 日本伦理一区二区| 不卡一二三区首页| 国产美女精品在线| 久久精品国产在热久久| 亚洲成人三级小说| 亚洲人成精品久久久久| 国产精品久久久久婷婷| 国产亚洲一区二区三区四区| 日韩一区二区在线看| 风间由美一区二区av101 | av成人动漫在线观看| 国产91精品在线观看| 激情综合色综合久久综合| 日韩专区欧美专区| 性做久久久久久免费观看欧美| 一区二区三区免费看视频| 最新不卡av在线| 国产精品久久久久三级| 中文字幕av一区二区三区高|