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

📄 simpleex.h

📁 Developing.Software.for.Symbian.OS 书籍配套源码
💻 H
字号:

#ifndef __SIMP_H
#define __SIMP_H

/*==========================================
    UIQ SimpleEx Header File
==========================================*/

#include <eikenv.h>

#include <eikon.hrh>
#include "simpleEx.hrh"
#include <simpleEx.rsg>

#include <qikdocument.h>
#include <qikapplication.h>
#include <qikappui.h>

#include <eikdialg.h>
#include <eikedwin.h> 


// The Application Class 

class CSimpleExApplication : public CQikApplication
{
private: 

	CApaDocument* CreateDocumentL();
	TUid AppDllUid() const;

};

// The UI Class
class CSimpleExAppView;

class CSimpleExAppUi : public CQikAppUi
    {
public:
    void ConstructL();
	~CSimpleExAppUi();

private:
            
	void HandleCommandL(TInt aCommand);
	
public:

private:
    
	CSimpleExAppView* iAppView;
    

 
};

// The Application View Class 

class CSimpleExAppView : public CCoeControl
    {
public:
	static CSimpleExAppView* NewL(const TRect& aRect);
    static CSimpleExAppView* CSimpleExAppView::NewLC(const TRect& aRect);
    void ConstructL(const TRect& aRect);

    TBuf<100> iDisplayText;
    TRgb iTextColor;

private:
	
	void Draw(const TRect&) const;
};

// The Application Document Class
 
class CSimpleExDocument : public CQikDocument
	{
public:

	CSimpleExDocument(CEikApplication& aApp) : CQikDocument(aApp) { };

private: 

	CEikAppUi* CreateAppUiL();
};

class CSimpleExDialog : public CEikDialog

{
  public:
	CSimpleExDialog(TDes& aText,TRgb& aColor); 

  private:
	           // Inherited from CEikDialog
	void  PreLayoutDynInitL();
	TBool OkToExitL(TInt aKeycode); 

    TDes& iText;
    TRgb& iColor;
};
#endif

⌨️ 快捷键说明

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