📄 guidev_setorg.lst
字号:
C51 COMPILER V8.05a GUIDEV_SETORG 04/11/2008 14:19:30 PAGE 1
C51 COMPILER V8.05a, COMPILATION OF MODULE GUIDEV_SETORG
OBJECT MODULE PLACED IN GUIDEV_SetOrg.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\MemDev\GUIDEV_SetOrg.c LARGE BROWSE MDU_F120 DEBUG OBJECT
-EXTEND PRINT(.\GUIDEV_SetOrg.lst) OBJECT(GUIDEV_SetOrg.obj)
line level source
1 /*
2 *********************************************************************************************************
3 * uC/GUI
4 * Universal graphic software for embedded applications
5 *
6 * (c) Copyright 2002, Micrium Inc., Weston, FL
7 * (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH
8 *
9 * 礐/GUI is protected by international copyright laws. Knowledge of the
10 * source code may not be used to write a similar product. This file may
11 * only be used in accordance with a license and should not be redistributed
12 * in any way. We appreciate your understanding and fairness.
13 *
14 ----------------------------------------------------------------------
15 File : GUIDev1.C
16 Purpose : Implementation of memory devices, add. module
17 ---------------------------END-OF-HEADER------------------------------
18 */
19
20
21 #include "gui\Core\GUI_Protected.h"
22 #include "gui\Core\GUIDebug.h"
23 #include <string.h>
24
25 /* Memory device capabilities are compiled only if support for them is enabled. */
26 #if GUI_SUPPORT_MEMDEV
/*
*************************************************
* *
* SetOrg *
* *
*************************************************
*/
void GUI_MEMDEV_SetOrg(GUI_MEMDEV_Handle hMem, int x0, int y0) {
/* Make sure memory handle is valid */
if (!hMem) {
if ((hMem = GUI_Context.hDevData) ==0) {
return;
}
}
GUI_LOCK();
{
GUI_MEMDEV* pDev = GUI_MEMDEV_h2p(hMem); /* Convert to pointer */
pDev->y0 = y0;
pDev->x0 = x0;
LCD_SetClipRectMax();
/* Move usage along */
if (pDev->hUsage) {
GUI_USAGE* pUsage = GUI_USAGE_h2p(pDev->hUsage);
if (((pUsage->XSize = pDev->XSize) != 0) && ((pUsage->YSize = pDev->YSize) != 0)) {
pUsage->x0 = x0;
pUsage->y0 = y0;
C51 COMPILER V8.05a GUIDEV_SETORG 04/11/2008 14:19:30 PAGE 2
}
}
}
GUI_UNLOCK();
}
#else
62
63 void GUIDEV_SetOrg(void) {} /* avoid empty object files */
64
65 #endif /* GUI_MEMDEV_SUPPORT */
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 1 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -