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

📄 gui_setpixelindex.lst

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


C51 COMPILER V8.05a, COMPILATION OF MODULE GUI_SETPIXELINDEX
OBJECT MODULE PLACED IN GUI_SetPixelIndex.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\Core\GUI_SetPixelIndex.c LARGE BROWSE MDU_F120 DEBUG OBJE
                    -CTEXTEND PRINT(.\GUI_SetPixelIndex.lst) OBJECT(GUI_SetPixelIndex.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        : LCD_SetPixelIndex.c
  16          Purpose     : Implementation of optional routines
  17          ---------------------------END-OF-HEADER------------------------------
  18          */
  19          
  20          
  21          #include <stdio.h>
  22          #include "gui\Core\GUI_Private.h"
  23          #include "gui\Core\LCD_Private.h"
  24          
  25          
  26          /*
  27                  *********************************************************
  28                  *                                                       *
  29                  *       Macros for internal use                         *
  30                  *                                                       *
  31                  *********************************************************
  32          */
  33          
  34          #define RETURN_IF_Y_OUT() \
  35            if (y < GUI_Context.ClipRect.y0) return;             \
  36            if (y > GUI_Context.ClipRect.y1) return;
  37          
  38          #define RETURN_IF_X_OUT() \
  39            if (x < GUI_Context.ClipRect.x0) return;             \
  40            if (x > GUI_Context.ClipRect.x1) return;
  41          
  42          /*
  43                  *********************************************************
  44                  *                                                       *
  45                  *       LCD_SetPixel                                    *
  46                  *                                                       *
  47                  *********************************************************
  48          
  49          Purpose:  This routine is called by emWin. It writes 1 pixel into the
  50                    display.
  51          
  52          */
  53          
  54          void LCD_SetPixelIndex(int x, int y, int ColorIndex) {
C51 COMPILER V8.05a   GUI_SETPIXELINDEX                                                    04/11/2008 14:18:50 PAGE 2   

  55   1        RETURN_IF_X_OUT();
  56   1        RETURN_IF_Y_OUT();
  57   1        LCDDEV_L0_SetPixelIndex(x, y, ColorIndex);
  58   1      }
  59          
  60          
  61          


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