📄 curs_ega.c
字号:
/*************************************************************************/
/* */
/* Copyright (c) 1997 - 1999 Accelerated Technology, Inc. */
/* */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the */
/* subject matter of this material. All manufacturing, reproduction, */
/* use, and sales rights pertaining to this subject matter are governed */
/* by the license agreement. The recipient of this software implicitly */
/* accepts the terms of the license. */
/* */
/*************************************************************************/
/*************************************************************************/
/* */
/* FILE NAME VERSION */
/* */
/* curs_ega.c 1.9 */
/* */
/* COMPONENT */
/* */
/* All */
/* */
/* DESCRIPTION */
/* */
/* This file contains cursor specific data structures. */
/* */
/* AUTHOR */
/* */
/* Robert G. Burrill, Accelerated Technology, Inc. */
/* */
/* DATA STRUCTURES */
/* */
/* None */
/* */
/* FUNCTIONS */
/* */
/* None */
/* */
/* DEPENDENCIES */
/* */
/* None */
/* */
/* HISTORY */
/* */
/* NAME DATE REMARKS */
/* */
/* BobB 5/5/98 Removed pragma statements */
/* */
/*************************************************************************/
#include "meta_wnd.h"
#include "metconst.h" /* MetaWINDOW Constant & Stucture Definitions */
#include "metports.h" /* MetaWINDOW Port & Bitmap Definitions */
#include "metaproc.h"
#include "grafdata.h"
#include "curs_ega.h"
/* BobB 5/5/98 - removed pragma statements
#pragma Data(Common, "CURSOR_DATA") */
CursComp *scrNext;
CursComp *scrNext1;
CursComp *scrNext2;
CursComp *newNext;
CursComp *newNext1;
CursComp *newNext2;
CursComp *newNext3;
CursComp *oldNext;
CursComp *oldNext1;
CursComp *oldNext2;
CursComp *oldNext3;
CursComp *oldLast;
CursComp *scrLast;
CursComp *curNext;
CursComp *oldBuff;
CursComp *newBuff;
CursComp *oldCurFlags;
CursComp *newCurFlags;
/* BobB 5/5/98 - removed pragma statements
#pragma Data() */
/* Function curs_ega sets up the cursor save pointers */
void curs_ega(void)
{
scrNext = (CursComp *) (&CursorSave);
scrNext1 = scrNext + 1;
scrNext2 = scrNext1 + 1;
newNext = scrNext2 + 1;
newNext1 = newNext + 1;
newNext2 = newNext1 + 1;
newNext3 = newNext2 + 1;
oldNext = newNext3 + 1;
oldNext1 = oldNext + 1;
oldNext2 = oldNext1 + 1;
oldNext3 = oldNext2 + 1;
oldLast = oldNext3 + 1;
scrLast = oldLast + 1;
curNext = scrLast + 1;
oldBuff = curNext + 1;
newBuff = oldBuff + 1;
oldCurFlags = newBuff + 1;
newCurFlags = oldCurFlags + 1;
return;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -