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

📄 gleimage.h

📁 是一个手机功能的模拟程序
💻 H
字号:
/*
 * Copyright (C) AU-System AB, 2000.
 * All rights reserved.
 *
 * This software is covered by the license agreement between
 * the end user and AU-System AB, and may be used and copied
 * only in accordance with the terms of the said agreement.
 *
 * AU-System AB does not assume any responsibility or 
 * liability for any errors or inaccuracies in this 
 * software, or any consequential, incidental or indirect 
 * damage arising out of the use of the Generic Layout Engine 
 * software.
 */

#ifndef __GLEIMAGE_H__
#define __GLEIMAGE_H__

#include "tapigle.h"
#include "gleelem.h"
#include "gleview.h"

typedef struct GleImageNode
	{
	#include "baseobj.h"
	GleRectangleType bounds;
	UINT8 viewId;
	UINT8 imageId;
	UINT16 imageSize;
	BOOL isLink;	
	INT8 vSpace;
	INT8 hSpace;
	INT8 isPercent;
	INT8 align;
	/*	VOID* myTable;*/
	UINT16  ascent;	
	/*いvirtual	BOOL 	TableGetColInfo(WMLobjectAtrType& wmlType, TableColDataType* colData);*/
	GleBitmap *bitmap;			
	GLE_STRING altText;
	GLE_STRING localSrc;
	GLE_STRING linkTitle;
	} GleImage;		

VOID GleImageAlign(GleImage* self, INT8 align);
#ifdef SUPPORT_PEN_NAVIGATION
	BOOL GleImageContains(GleViewType* viewP, const GleImage *self, GlePointType point);
#endif
VOID GleImageDraw(GleViewType* viewP, const GleImage* self);
BOOL GleImageRenderX(GleImage* self, INT16  *xSum, INT16 *ySum, INT16 *ascentMax, INT16 *descenderMax, GleElementType *gleType, UINT16 *currentFontLineHeight, INT8 *myAlign, BOOL *myWrap, INT16 *columnLeftX, INT16 *columnWidth, VOID* viewP);
VOID GleImageRenderY(GleImage* self, INT16* xOffSet, INT16* ySum, INT16* ascentMax);
#ifdef SUPPORT_KEY_NAVIGATION
	BOOL GleImageIsMarkable(GleViewType* viewP, const GleImage* self);
#endif
VOID GleImageSelected(GleViewType* viewP, const GleImage* self);
VOID GleImageDestruct(GleImage* self);
GleElement *GleImageConstruct(UINT8 viewId, UINT8 imageId, const CHAR *imageData, UINT16 imageSize, const CHAR *imageType, const WCHAR *altText, const WCHAR *localSrc, BOOL isLink, const WCHAR *linkTitle, INT8 vSpace, INT8 hSpace, INT16 width, INT16 height, INT8 isPercent, INT8 align);

#endif

⌨️ 快捷键说明

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