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

📄 listbox_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\listbox_default.o --depend=.\Obj\listbox_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\LISTBOX_Default.c]
                          THUMB

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

                  LISTBOX_GetDefaultBkColor PROC
;;;75     */
;;;76     GUI_COLOR LISTBOX_GetDefaultBkColor(unsigned Index) {
000000  2804              CMP      r0,#4
;;;77       if (Index < GUI_COUNTOF(LISTBOX_DefaultProps.aBackColor)) {
000002  d204              BCS      |L1.14|
;;;78         return LISTBOX_DefaultProps.aBackColor[Index];
000004  4903              LDR      r1,|L1.20|
000006  eb010080          ADD      r0,r1,r0,LSL #2
00000a  6880              LDR      r0,[r0,#8]
;;;79       }
;;;80       return GUI_INVALID_COLOR;
;;;81     }
00000c  4770              BX       lr
                  |L1.14|
00000e  f06f4070          MVN      r0,#0xf0000000        ;80
000012  4770              BX       lr
;;;82     
                          ENDP

                  |L1.20|
                          DCD      LISTBOX_DefaultProps

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

                  LISTBOX_GetDefaultFont PROC
;;;41     */
;;;42     const GUI_FONT GUI_UNI_PTR * LISTBOX_GetDefaultFont(void) {
000000  4801              LDR      r0,|L2.8|
;;;43       return LISTBOX_DefaultProps.pFont;
000002  6800              LDR      r0,[r0,#0]  ; LISTBOX_DefaultProps
;;;44     }
000004  4770              BX       lr
;;;45     
                          ENDP

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

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

                  LISTBOX_GetDefaultScrollStepH PROC
;;;57     */
;;;58     int LISTBOX_GetDefaultScrollStepH(void) {
000000  4801              LDR      r0,|L3.8|
;;;59       return LISTBOX_DefaultProps.ScrollStepH;
000002  8880              LDRH     r0,[r0,#4]  ; LISTBOX_DefaultProps
;;;60     }
000004  4770              BX       lr
;;;61     
                          ENDP

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

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

                  LISTBOX_GetDefaultTextColor PROC
;;;96     */
;;;97     GUI_COLOR LISTBOX_GetDefaultTextColor(unsigned Index) {
000000  2804              CMP      r0,#4
;;;98       if (Index < GUI_COUNTOF(LISTBOX_DefaultProps.aTextColor)) {
000002  d204              BCS      |L4.14|
;;;99         return LISTBOX_DefaultProps.aTextColor[Index];
000004  4903              LDR      r1,|L4.20|
000006  eb010080          ADD      r0,r1,r0,LSL #2
00000a  6980              LDR      r0,[r0,#0x18]
;;;100      }
;;;101      return GUI_INVALID_COLOR;
;;;102    }
00000c  4770              BX       lr
                  |L4.14|
00000e  f06f4070          MVN      r0,#0xf0000000        ;101
000012  4770              BX       lr
;;;103    
                          ENDP

                  |L4.20|
                          DCD      LISTBOX_DefaultProps

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

                  LISTBOX_SetDefaultBkColor PROC
;;;65     */
;;;66     void LISTBOX_SetDefaultBkColor(unsigned Index, GUI_COLOR Color) {
000000  2804              CMP      r0,#4
;;;67       if (Index < GUI_COUNTOF(LISTBOX_DefaultProps.aBackColor)) {
000002  d203              BCS      |L5.12|
;;;68         LISTBOX_DefaultProps.aBackColor[Index] = Color;
000004  4a02              LDR      r2,|L5.16|
000006  eb020080          ADD      r0,r2,r0,LSL #2
00000a  6081              STR      r1,[r0,#8]
                  |L5.12|
;;;69       }
;;;70     }
00000c  4770              BX       lr
;;;71     
                          ENDP

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

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

                  LISTBOX_SetDefaultFont PROC
;;;33     */
;;;34     void LISTBOX_SetDefaultFont(const GUI_FONT GUI_UNI_PTR * pFont) {
000000  4901              LDR      r1,|L6.8|
;;;35       LISTBOX_DefaultProps.pFont = pFont;
;;;36     }
000002  6008              STR      r0,[r1,#0]  ; LISTBOX_DefaultProps
000004  4770              BX       lr
;;;37     
                          ENDP

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

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

                  LISTBOX_SetDefaultScrollStepH PROC
;;;49     */
;;;50     void LISTBOX_SetDefaultScrollStepH(int Value) {
000000  4901              LDR      r1,|L7.8|
;;;51       LISTBOX_DefaultProps.ScrollStepH = Value;
000002  8088              STRH     r0,[r1,#4]
;;;52     }
000004  4770              BX       lr
;;;53     
                          ENDP

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

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

                  LISTBOX_SetDefaultTextColor PROC
;;;86     */
;;;87     void LISTBOX_SetDefaultTextColor(unsigned Index, GUI_COLOR Color) {
000000  2804              CMP      r0,#4
;;;88       if (Index < GUI_COUNTOF(LISTBOX_DefaultProps.aTextColor)) {
000002  d203              BCS      |L8.12|
;;;89         LISTBOX_DefaultProps.aTextColor[Index] = Color;
000004  4a02              LDR      r2,|L8.16|
000006  eb020080          ADD      r0,r2,r0,LSL #2
00000a  6181              STR      r1,[r0,#0x18]
                  |L8.12|
;;;90       }
;;;91     }
00000c  4770              BX       lr
;;;92     
                          ENDP

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

⌨️ 快捷键说明

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