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

📄 gui_getcolor.lst

📁 Keil C下通过的UCGUI,UCGUI的移植源代码
💻 LST
字号:
C51 COMPILER V8.05a   GUI_GETCOLOR                                                         04/11/2008 14:18:39 PAGE 1   


C51 COMPILER V8.05a, COMPILATION OF MODULE GUI_GETCOLOR
OBJECT MODULE PLACED IN GUI_GetColor.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\Core\GUI_GetColor.c LARGE BROWSE MDU_F120 DEBUG OBJECTEXT
                    -END PRINT(.\GUI_GetColor.lst) OBJECT(GUI_GetColor.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        : GUI_GetColor.C
  16          Purpose     : Implementation of different GUI_GetColor routines
  17          ---------------------------END-OF-HEADER------------------------------
  18          */
  19          
  20          
  21          #include "gui\Core\GUI_Protected.h"
  22          
  23          
  24          int GUI_GetBkColorIndex (void) {
  25   1        int r;
  26   1        GUI_LOCK();
  27   1        r = LCD_GetBkColorIndex();
  28   1        GUI_UNLOCK();
  29   1        return r;
  30   1      }
  31          
  32          GUI_COLOR GUI_GetBkColor(void) {
  33   1        GUI_COLOR r;
  34   1        GUI_LOCK();
  35   1        r = LCD_Index2Color(LCD_GetBkColorIndex());
  36   1        GUI_UNLOCK();
  37   1        return r;
  38   1      }
  39          
  40          int GUI_GetColorIndex (void) {
  41   1        int r;
  42   1        GUI_LOCK();
  43   1        r = LCD_GetColorIndex();
  44   1        GUI_UNLOCK();
  45   1        return r;
  46   1      }
  47          
  48          GUI_COLOR GUI_GetColor(void) {
  49   1        GUI_COLOR r;
  50   1        GUI_LOCK();
  51   1        r = LCD_Index2Color(LCD_GetColorIndex());
  52   1        GUI_UNLOCK();
  53   1        return r;
  54   1      }
C51 COMPILER V8.05a   GUI_GETCOLOR                                                         04/11/2008 14:18:39 PAGE 2   

  55          
  56          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     22    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----    ----
   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 + -