fontsandtexteffectscontainer.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 40 行

H
40
字号
#ifndef FONTSANDTEXTEFFECTSCONTAINER_H
#define FONTSANDTEXTEFFECTSCONTAINER_H

// INCLUDES
#include <coecntrl.h>    // CCoeControl

// FORWARD DECLARATIONS


// CLASS DECLARATION
/**
 *
 * @class    CFontsAndTextEffectsContainer FontsAndTextEffectsContainer.h 
 * @brief    This is a container class for the Effects view of the Fonts & Text example 
 * application. This class prints various strings with different effects applied to them
 * e.g. Underline and Strikethrough. It illustrates the function available from Graphics 
 * Contexts to apply the effects.
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version    1.0
 * 
 */
class CFontsAndTextEffectsContainer : public CCoeControl
{
public:    // Construction and destruction
    static CFontsAndTextEffectsContainer* NewL(const TRect& aRect);
    static CFontsAndTextEffectsContainer* NewLC(const TRect& aRect);
    ~CFontsAndTextEffectsContainer();

private:    // Functions from CCoeControl        
    void Draw(const TRect& aRect) const;
    
private:    // Construction    
    void ConstructL(const TRect& aRect);            
};

#endif    // FONTSANDTEXTEFFECTSCONTAINER_H

// End of File

⌨️ 快捷键说明

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