⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtxappui.cpp

📁 显示彩色字体的程序
💻 CPP
字号:
 /*
* ============================================================================
*  Name     : CRTxAppUi from RTxAppUi.cpp
*  Part of  : RTx
*  Created  : 2003. 08. 15. by (V) - Forum Nokia 
*  Implementation notes: AppUI implemented
*     
*  Version  :
*  Copyright: Forum Nokia
* ============================================================================
*/

// INCLUDE FILES
#include "RTxAppUi.h"
#include "RTxContainer.h" 
#include <RTx.rsg>


#include <avkon.hrh>

// ================= MEMBER FUNCTIONS =======================
//
// ----------------------------------------------------------
// CRTxAppUi::ConstructL()
// 
// ----------------------------------------------------------
//
void CRTxAppUi::ConstructL()
    {
    BaseConstructL();
    iAppContainer = new (ELeave) CRTxContainer;
    iAppContainer->SetMopParent(this);
    iAppContainer->ConstructL( ClientRect() );
    AddToStackL( iAppContainer );
    }

// ----------------------------------------------------
// CRTxAppUi::~CRTxAppUi()
// Destructor
// Frees reserved resources
// ----------------------------------------------------
//
CRTxAppUi::~CRTxAppUi()
    {
    if (iAppContainer)
        {
        RemoveFromStack( iAppContainer );
        delete iAppContainer;
        }
   }

// ----------------------------------------------------
// CRTxAppUi::HandleCommandL(TInt aCommand)
// 
// ----------------------------------------------------
//
void CRTxAppUi::HandleCommandL(TInt aCommand)
    {
    switch ( aCommand )
        {
        case EAknSoftkeyBack:
		case EEikCmdExit:
            {
            Exit();
            break;
            }
        default:
            break;      
        }
    }

// End of File  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -