gui2dlib.lst

来自「Keil C下通过的UCGUI,UCGUI的移植源代码」· LST 代码 · 共 67 行

LST
67
字号
C51 COMPILER V8.05a   GUI2DLIB                                                             04/11/2008 14:18:23 PAGE 1   


C51 COMPILER V8.05a, COMPILATION OF MODULE GUI2DLIB
OBJECT MODULE PLACED IN gui2dlib.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\Core\gui2dlib.c LARGE BROWSE MDU_F120 DEBUG OBJECTEXTEND 
                    -PRINT(.\gui2dlib.lst) OBJECT(gui2dlib.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        : GUI2DLib.C
  16          Purpose     : Main part of the 2D graphics library
  17          ---------------------------END-OF-HEADER------------------------------
  18          */
  19          
  20          
  21          #include <stddef.h>           /* needed for definition of NULL */
  22          #include "gui\Core\GUI_Private.h"
  23          #include "gui\Core\GUIDebug.h"
  24          
  25          /*
  26                *************************************************
  27                *                                               *
  28                *         Misc. helper routines                 *
  29                *                                               *
  30                *************************************************
  31          */
  32          
  33          
  34          void GL_SwapInt(int* pa, int* pb) {
  35   1        int t = *pa;
  36   1        *pa = *pb;
  37   1        *pb = t;
  38   1      }
  39          
  40          #define ABS(v) ((v>0) ? v : -v)
  41          
  42          static int Abs(int v) { return ABS(v); }
  43          
  44          
  45          /*
  46                *************************************************
  47                *                                               *
  48                *           Trigonometric functions             *
  49                *                                               *
  50                *************************************************
  51          
  52          All trigonometric functions are for internal usage only and
  53          use the following conventions:
  54          
C51 COMPILER V8.05a   GUI2DLIB                                                             04/11/2008 14:18:23 PAGE 2   

  55                Angles: 4096 <==> 360

⌨️ 快捷键说明

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