?? gui_touch_storestate.lst
字號:
C51 COMPILER V8.05a GUI_TOUCH_STORESTATE 04/11/2008 14:18:52 PAGE 1
C51 COMPILER V8.05a, COMPILATION OF MODULE GUI_TOUCH_STORESTATE
OBJECT MODULE PLACED IN GUI_TOUCH_StoreState.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\Core\GUI_TOUCH_StoreState.c LARGE BROWSE MDU_F120 DEBUG O
-BJECTEXTEND PRINT(.\GUI_TOUCH_StoreState.lst) OBJECT(GUI_TOUCH_StoreState.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 : GUITOUCH_StoreState.C
16 Purpose : Implementation of GUITOUCH_StoreState
17 ----------------------------------------------------------------------
18 */
19
20
21 #include "gui\Core\GUI_Protected.h"
22
23 /*********************************************************************
24 *
25 * Public code
26 *
27 **********************************************************************
28 */
29
30
31 /*********************************************************************
32 *
33 * GUI_TOUCH_StoreState
34
35 This is the older version. Prefer ...StoreStateEx in new code
36 */
37 void GUI_TOUCH_StoreState(int x, int y) {
38 1 static GUI_PID_STATE _State;
39 1 if ((x >= 0) && (y >= 0)) {
40 2 _State.Pressed = 1;
41 2 _State.x = x;
42 2 _State.y = y;
43 2 } else {
44 2 _State.Pressed = 0;
45 2 }
46 1 GUI_TOUCH_StoreStateEx(&_State);
47 1 }
48
49 /*************************** End of file ****************************/
50
51
52
53
C51 COMPILER V8.05a GUI_TOUCH_STORESTATE 04/11/2008 14:18:52 PAGE 2
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 53 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = 5 ----
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 + -