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

📄 wm_paint.txt

📁 STM32F103ZET6+UCOSII+UCGUI源码
💻 TXT
字号:
; generated by ARM C/C++ Compiler with , RVCT4.0 [Build 524] for uVision
; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Obj\wm_paint.o --depend=.\Obj\wm_paint.d --device=DARMSTM --apcs=interwork -O3 -I..\..\include -I..\..\..\FWLib\library\inc -I..\..\..\USBLib\library\inc -I..\..\Config -I..\..\GUI\Core -I..\..\GUI\Font -I..\..\GUI\ConvertColor -I..\..\GUI\AntiAlias -I..\..\GUI\ConvertMono -I..\..\GUI\JPEG -I..\..\GUI\MemDev -I..\..\GUI\MultiLayer -I..\..\GUI\Widget -I..\..\GUI\WM -IC:\Keil\ARM\INC\ST\STM32F10x ..\..\GUI\WM\WM_Paint.c]
                          THUMB

                          AREA ||i.WM_Paint||, CODE, READONLY, ALIGN=1

                  WM_Paint PROC
;;;36     
;;;37     void WM_Paint(WM_HWIN hWin) {
000000  b530              PUSH     {r4,r5,lr}
000002  b09b              SUB      sp,sp,#0x6c
000004  0004              MOVS     r4,r0
;;;38       GUI_CONTEXT Context;
;;;39       WM_PAINTINFO PaintInfo;
;;;40       WM_Obj* pWin;
;;;41     
;;;42       WM_ASSERT_NOT_IN_PAINT();
;;;43       if (hWin) {
000006  d01a              BEQ      |L1.62|
;;;44         WM_LOCK();
;;;45         GUI_SaveContext(&Context);
000008  a803              ADD      r0,sp,#0xc
00000a  f7fffffe          BL       GUI_SaveContext_W_M
;;;46         pWin = WM_H2P(hWin);
00000e  4620              MOV      r0,r4
000010  f7fffffe          BL       GUI_ALLOC_h2p
000014  4605              MOV      r5,r0
;;;47         WM_SelectWindow(hWin);
000016  4620              MOV      r0,r4
000018  f7fffffe          BL       WM_SelectWindow
;;;48         WM_SetDefault();
00001c  f7fffffe          BL       WM_SetDefault
;;;49         WM_InvalidateWindow(hWin);  /* Important ... Window procedure is informed about invalid rect and may optimize */
000020  4620              MOV      r0,r4
000022  f7fffffe          BL       WM_InvalidateWindow
;;;50         /* Paint the window and its overlaying transparent windows */
;;;51         PaintInfo.hWin = hWin;
000026  f8ad4004          STRH     r4,[sp,#4]
;;;52         PaintInfo.pWin = pWin;
;;;53         WM__PaintWinAndOverlays(&PaintInfo);
00002a  a801              ADD      r0,sp,#4
00002c  9502              STR      r5,[sp,#8]
00002e  f7fffffe          BL       WM__PaintWinAndOverlays
;;;54         WM_ValidateWindow(hWin);
000032  4620              MOV      r0,r4
000034  f7fffffe          BL       WM_ValidateWindow
;;;55         GUI_RestoreContext(&Context);
000038  a803              ADD      r0,sp,#0xc
00003a  f7fffffe          BL       GUI_RestoreContext
                  |L1.62|
;;;56         WM_UNLOCK();
;;;57       }
;;;58     }
00003e  b01b              ADD      sp,sp,#0x6c
000040  bd30              POP      {r4,r5,pc}
;;;59     
                          ENDP

⌨️ 快捷键说明

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