ui.h

来自「funambol windows mobile plugin source co」· C头文件 代码 · 共 65 行

H
65
字号
/*
 * Copyright (C) 2003-2007 Funambol, Inc
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 * 02111-1307  USA
 */

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#ifdef POCKETPC2003_UI_MODEL
#include "..\resourceppc.h"
#include "funresourceppc.h"
#define FONT_HEIGHT_OFFSET 1
#endif
#ifdef SMARTPHONE2003_UI_MODEL
#include "..\resourcesp.h"
#include "funresourcesp.h"
#define FONT_HEIGHT_OFFSET 3
#endif

#define EDIT_MAXLENGTH 255
//#define PPC_HEADER_TEXT_COLOR RGB(0,153,255)
#define PPC_HEADER_TEXT_COLOR RGB(0,103,255)
#define ALERT_COLOR RGB(220,0,0)
#define RECOVER_SYNC_STARTED 1
#include <map>
#include "localizationUtils.h"

/**
 * The Application class.
 */
class CuiApp : public CWinApp
{
public:
    CuiApp();

private:

public:
    
    virtual BOOL InitInstance();
    BOOL registerFunClass();
    
    // Implementation

    DECLARE_MESSAGE_MAP()
};

extern CuiApp theApp;

⌨️ 快捷键说明

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