📄 gui_invertrect.lst
字号:
C51 COMPILER V8.05a GUI_INVERTRECT 04/11/2008 14:18:44 PAGE 1
C51 COMPILER V8.05a, COMPILATION OF MODULE GUI_INVERTRECT
OBJECT MODULE PLACED IN GUI_InvertRect.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\Core\GUI_InvertRect.c LARGE BROWSE MDU_F120 DEBUG OBJECTE
-XTEND PRINT(.\GUI_InvertRect.lst) OBJECT(GUI_InvertRect.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 : GUI_InvertRect.C
16 Purpose : Implementation file for GUI_InvertRect
17 ---------------------------END-OF-HEADER------------------------------
18 */
19
20
21 #include "gui\Core\GUI_Protected.h"
22
23
24 void GUI_InvertRect(int x0, int y0, int x1, int y1) {
25 1 GUI_DRAWMODE PrevDraw;
26 1 #if (GUI_WINSUPPORT)
GUI_RECT r;
#endif
29 1 GUI_LOCK();
30 1 PrevDraw = GUI_SetDrawMode(GUI_DRAWMODE_XOR);
31 1 #if (GUI_WINSUPPORT)
WM_ADDORG(x0,y0);
WM_ADDORG(x1,y1);
r.x0 = x0; r.x1 = x1;
r.y0 = y0; r.y1 = y1;
WM_ITERATE_START(&r); {
#endif
38 1 LCD_FillRect(x0,y0,x1,y1);
39 1 #if (GUI_WINSUPPORT)
} WM_ITERATE_END();
#endif
42 1 GUI_SetDrawMode(PrevDraw);
43 1 GUI_UNLOCK();
44 1 }
45
46
47
48
49
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 84 ----
CONSTANT SIZE = ---- ----
C51 COMPILER V8.05a GUI_INVERTRECT 04/11/2008 14:18:44 PAGE 2
XDATA SIZE = ---- 10
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 + -