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

📄 gui_getclientrect.lst

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


C51 COMPILER V8.05a, COMPILATION OF MODULE GUI_GETCLIENTRECT
OBJECT MODULE PLACED IN GUI_GetClientRect.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\Core\GUI_GetClientRect.c LARGE BROWSE MDU_F120 DEBUG OBJE
                    -CTEXTEND PRINT(.\GUI_GetClientRect.lst) OBJECT(GUI_GetClientRect.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_GetClientRect.c
  16          Purpose     : Core file for emWin GSC
  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          *            GUI_GetClientRect
  28          *
  29          **********************************************************************
  30          */
  31          
  32          void GUI_GetClientRect   (GUI_RECT* pRect) {
  33   1        if (!pRect)
  34   1          return;
  35   1        #if GUI_WINSUPPORT
                  WM_GetClientRect(pRect);
                #else
  38   1          pRect->x0 = 0;
  39   1          pRect->y0 = 0;
  40   1          pRect->x1 = LCD_GET_XSIZE();
  41   1          pRect->y1 = LCD_GET_YSIZE();
  42   1        #endif
  43   1      }
  44          
  45          
  46          
  47          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =    111    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----       3
   PDATA SIZE       =   ----    ----
C51 COMPILER V8.05a   GUI_GETCLIENTRECT                                                    04/11/2008 14:18:39 PAGE 2   

   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 + -