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

📄 edit_default.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\edit_default.o --depend=.\Obj\edit_default.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\EDIT_Default.c]
                          THUMB

                          AREA ||i.EDIT_GetDefaultBkColor||, CODE, READONLY, ALIGN=2

                  EDIT_GetDefaultBkColor PROC
;;;92     */
;;;93     GUI_COLOR EDIT_GetDefaultBkColor(unsigned int Index) {
000000  4601              MOV      r1,r0
;;;94       GUI_COLOR Color = 0;
000002  2000              MOVS     r0,#0
;;;95       if (Index <= GUI_COUNTOF(EDIT__DefaultProps.aBkColor)) {
000004  2902              CMP      r1,#2
000006  d803              BHI      |L1.16|
;;;96         Color = EDIT__DefaultProps.aBkColor[Index];
000008  4802              LDR      r0,|L1.20|
00000a  eb000081          ADD      r0,r0,r1,LSL #2
00000e  6940              LDR      r0,[r0,#0x14]
                  |L1.16|
;;;97       }
;;;98       return Color;
;;;99     }
000010  4770              BX       lr
;;;100    
                          ENDP

000012  0000              DCW      0x0000
                  |L1.20|
                          DCD      EDIT__DefaultProps

                          AREA ||i.EDIT_GetDefaultFont||, CODE, READONLY, ALIGN=2

                  EDIT_GetDefaultFont PROC
;;;36     */
;;;37     const GUI_FONT GUI_UNI_PTR * EDIT_GetDefaultFont(void) {
000000  4801              LDR      r0,|L2.8|
;;;38       return EDIT__DefaultProps.pFont;
000002  6880              LDR      r0,[r0,#8]  ; EDIT__DefaultProps
;;;39     }
000004  4770              BX       lr
;;;40     
                          ENDP

000006  0000              DCW      0x0000
                  |L2.8|
                          DCD      EDIT__DefaultProps

                          AREA ||i.EDIT_GetDefaultTextAlign||, CODE, READONLY, ALIGN=2

                  EDIT_GetDefaultTextAlign PROC
;;;52     */
;;;53     int EDIT_GetDefaultTextAlign(void) {
000000  4801              LDR      r0,|L3.8|
;;;54       return EDIT__DefaultProps.Align;
000002  6800              LDR      r0,[r0,#0]  ; EDIT__DefaultProps
;;;55     }
000004  4770              BX       lr
;;;56     
                          ENDP

000006  0000              DCW      0x0000
                  |L3.8|
                          DCD      EDIT__DefaultProps

                          AREA ||i.EDIT_GetDefaultTextColor||, CODE, READONLY, ALIGN=2

                  EDIT_GetDefaultTextColor PROC
;;;80     */
;;;81     GUI_COLOR EDIT_GetDefaultTextColor(unsigned int Index) {
000000  4601              MOV      r1,r0
;;;82       GUI_COLOR Color = 0;
000002  2000              MOVS     r0,#0
;;;83       if (Index <= GUI_COUNTOF(EDIT__DefaultProps.aTextColor)) {
000004  2902              CMP      r1,#2
000006  d803              BHI      |L4.16|
;;;84         Color = EDIT__DefaultProps.aTextColor[Index];
000008  4802              LDR      r0,|L4.20|
00000a  eb000081          ADD      r0,r0,r1,LSL #2
00000e  68c0              LDR      r0,[r0,#0xc]
                  |L4.16|
;;;85       }
;;;86       return Color;
;;;87     }
000010  4770              BX       lr
;;;88     
                          ENDP

000012  0000              DCW      0x0000
                  |L4.20|
                          DCD      EDIT__DefaultProps

                          AREA ||i.EDIT_SetDefaultBkColor||, CODE, READONLY, ALIGN=2

                  EDIT_SetDefaultBkColor PROC
;;;70     */
;;;71     void EDIT_SetDefaultBkColor(unsigned int Index, GUI_COLOR Color) {
000000  2802              CMP      r0,#2
;;;72       if (Index <= GUI_COUNTOF(EDIT__DefaultProps.aBkColor)) {
000002  d803              BHI      |L5.12|
;;;73         EDIT__DefaultProps.aBkColor[Index] = Color;
000004  4a02              LDR      r2,|L5.16|
000006  eb020080          ADD      r0,r2,r0,LSL #2
00000a  6141              STR      r1,[r0,#0x14]
                  |L5.12|
;;;74       }
;;;75     }
00000c  4770              BX       lr
;;;76     
                          ENDP

00000e  0000              DCW      0x0000
                  |L5.16|
                          DCD      EDIT__DefaultProps

                          AREA ||i.EDIT_SetDefaultFont||, CODE, READONLY, ALIGN=2

                  EDIT_SetDefaultFont PROC
;;;28     */
;;;29     void EDIT_SetDefaultFont(const GUI_FONT* pFont) {
000000  4901              LDR      r1,|L6.8|
;;;30       EDIT__DefaultProps.pFont = pFont;
;;;31     }
000002  6088              STR      r0,[r1,#8]  ; EDIT__DefaultProps
000004  4770              BX       lr
;;;32     
                          ENDP

000006  0000              DCW      0x0000
                  |L6.8|
                          DCD      EDIT__DefaultProps

                          AREA ||i.EDIT_SetDefaultTextAlign||, CODE, READONLY, ALIGN=2

                  EDIT_SetDefaultTextAlign PROC
;;;44     */
;;;45     void EDIT_SetDefaultTextAlign(int Align) {
000000  4901              LDR      r1,|L7.8|
;;;46       EDIT__DefaultProps.Align = Align;
;;;47     }
000002  6008              STR      r0,[r1,#0]  ; EDIT__DefaultProps
000004  4770              BX       lr
;;;48     
                          ENDP

000006  0000              DCW      0x0000
                  |L7.8|
                          DCD      EDIT__DefaultProps

                          AREA ||i.EDIT_SetDefaultTextColor||, CODE, READONLY, ALIGN=2

                  EDIT_SetDefaultTextColor PROC
;;;60     */
;;;61     void EDIT_SetDefaultTextColor(unsigned int Index, GUI_COLOR Color) {
000000  2802              CMP      r0,#2
;;;62       if (Index <= GUI_COUNTOF(EDIT__DefaultProps.aTextColor)) {
000002  d803              BHI      |L8.12|
;;;63         EDIT__DefaultProps.aTextColor[Index] = Color;
000004  4a02              LDR      r2,|L8.16|
000006  eb020080          ADD      r0,r2,r0,LSL #2
00000a  60c1              STR      r1,[r0,#0xc]
                  |L8.12|
;;;64       }
;;;65     }
00000c  4770              BX       lr
;;;66     
                          ENDP

00000e  0000              DCW      0x0000
                  |L8.16|
                          DCD      EDIT__DefaultProps

⌨️ 快捷键说明

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