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

📄 move_cursor.c

📁 Sample code for use on smp 863x processor.
💻 C
字号:
/* * * Copyright (c) Sigma Designs, Inc. 2003. All rights reserved. * *//**	@file move_cursor.c	@brief sample application to access the Mambo chip		@author Christian Wolff*/#include "rua.h"#include "rua_property.h"#include "move_cursor.h"RMstatus move_cursor(struct RUA *pInstance, RMuint32 x, RMuint32 y) {	RMstatus err;	struct DispMainMixer_SourcePosition_type layerpos;	layerpos.SourceModuleID = DispHardwareCursor;	layerpos.XPosition = x;	layerpos.YPosition = y;	err = RUASetProperty(pInstance, DispMainMixer, RMDispMainMixerPropertyID_SourcePosition, 		&layerpos, sizeof(layerpos), 0);	return err;}

⌨️ 快捷键说明

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