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

📄 common.h

📁 一个用c写的GPS定位相关的brew应用程序.
💻 H
字号:
/**
***     Common.h
***
***     夋柺昤夋梡
***     Copyright (C) 2006 SophiaCradle Incorporated.
***     All rights reserved.
**/

#ifndef __COMMON_H
#define __COMMON_H

#include "AEEStdLib.h"
#include "AEEShell.h"

typedef struct {
    IDisplay* display;
    int width;
    int height;
    int start_line;
    int lines;
    int font_height;

    AECHAR* message;
    int size;
} Common;

// 弶婜壔
void COMMON_Init(Common* common, IDisplay* display, IShell* shell, int buffer_size);
// 夝曻
void COMMON_Free(Common* common);
// 夋柺昤夋
void COMMON_Draw(Common* common);
// 暥帤楍僶僢僼傽傪僋儕傾
void COMMON_ClearBuffer(Common* common);
// 暥帤楍傪捛壛
void COMMON_WriteString(Common* common, const char* str);
// AECHAR暥帤楍傪捛壛
void COMMON_WriteWideString(Common* common, const AECHAR* wstr);
// 昞帵峴傪師偺峴偵
void COMMON_NextLine(Common* common);
// 昞帵峴傪慜偺峴偵
void COMMON_PreviousLine(Common* common);

#endif

⌨️ 快捷键说明

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