framewin_setfont.txt
来自「STM32F103ZET6+UCOSII+UCGUI源码」· 文本 代码 · 共 44 行
TXT
44 行
; generated by ARM C/C++ Compiler with , RVCT4.0 [Build 524] for uVision
; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Obj\framewin_setfont.o --depend=.\Obj\framewin_setfont.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\Widget\FRAMEWIN_SetFont.c]
THUMB
AREA ||i.FRAMEWIN_SetFont||, CODE, READONLY, ALIGN=1
FRAMEWIN_SetFont PROC
;;;36 */
;;;37 void FRAMEWIN_SetFont(FRAMEWIN_Handle hObj, const GUI_FONT GUI_UNI_PTR * pFont) {
000000 e92d41f0 PUSH {r4-r8,lr}
000004 0004 MOVS r4,r0
000006 460f MOV r7,r1
;;;38 GUI_LOCK();
;;;39 if (hObj) {
000008 d013 BEQ |L1.50|
;;;40 FRAMEWIN_Obj* pObj = FRAMEWIN_H2P(hObj);
00000a 4620 MOV r0,r4
00000c f7fffffe BL GUI_ALLOC_h2p
000010 4605 MOV r5,r0
;;;41 int OldHeight = FRAMEWIN__CalcTitleHeight(pObj);
000012 f7fffffe BL FRAMEWIN__CalcTitleHeight
000016 4606 MOV r6,r0
;;;42 pObj->Props.pFont = pFont;
;;;43 FRAMEWIN__UpdatePositions(pObj);
000018 4628 MOV r0,r5
00001a 62af STR r7,[r5,#0x28]
00001c f7fffffe BL FRAMEWIN__UpdatePositions
;;;44 FRAMEWIN__UpdateButtons(pObj, OldHeight);
000020 4631 MOV r1,r6
000022 4628 MOV r0,r5
000024 f7fffffe BL FRAMEWIN__UpdateButtons
;;;45 FRAMEWIN_Invalidate(hObj);
000028 4620 MOV r0,r4
00002a e8bd41f0 POP {r4-r8,lr}
00002e f7ffbffe B.W WM_InvalidateWindow
|L1.50|
;;;46 }
;;;47 GUI_UNLOCK();
;;;48 }
000032 e8bd81f0 POP {r4-r8,pc}
;;;49
ENDP
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?