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

📄 microwindows.cdl

📁 microwindows最新源码
💻 CDL
📖 第 1 页 / 共 2 页
字号:
# ====================================================================##      microwindows.cdl##      MicroWindows configuration data## ====================================================================#####ECOSGPLCOPYRIGHTBEGIN###### -------------------------------------------## This file is part of eCos, the Embedded Configurable Operating System.## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.#### eCos is free software; you can redistribute it and/or modify it under## the terms of the GNU General Public License as published by the Free## Software Foundation; either version 2 or (at your option) any later version.#### eCos is distributed in the hope that it will be useful, but WITHOUT ANY## WARRANTY; without even the implied warranty of MERCHANTABILITY or## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License## for more details.#### You should have received a copy of the GNU General Public License along## with eCos; if not, write to the Free Software Foundation, Inc.,## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.#### As a special exception, if other files instantiate templates or use macros## or inline functions from this file, or you compile this file and link it## with other works to produce a work based on this file, this file does not## by itself cause the resulting work to be covered by the GNU General Public## License. However the source code for this file must still be made available## in accordance with section (3) of the GNU General Public License.#### This exception does not invalidate any other reasons why a work based on## this file might be covered by the GNU General Public License.#### Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.## at http://sources.redhat.com/ecos/ecos-license/## -------------------------------------------#####ECOSGPLCOPYRIGHTEND##### ====================================================================######DESCRIPTIONBEGIN###### Author(s):      jskov# Original data:  jskov# Contributors:# Date:           2002-03-25######DESCRIPTIONEND###### ====================================================================cdl_package CYGPKG_MICROWINDOWS {    display       "MicroWindows"    requires      CYGPKG_ISOINFRA    requires      CYGINT_ISO_STRERROR    requires      CYGINT_ISO_ERRNO    requires      CYGINT_ISO_ERRNO_CODES    requires      CYGINT_ISO_MALLOC    requires      CYGINT_ISO_STRING_BSD_FUNCS    requires      CYGPKG_LIBC_STDLIB    description   "        This packages provides the default graphics interface for eCos.        It consists of the low level graphics engine, the Microwindows        and Nano-X toolkits and sample apps for Nano X"    # FB drivers    compile                          \        drivers/fblin16.c            \        drivers/fblin1.c             \        drivers/fblin24.c            \        drivers/fblin2.c             \        drivers/fblin32.c            \        drivers/fblin32alpha.c       \        drivers/fblin4.c             \        drivers/fblin8.c             \        drivers/fb.c                 \        drivers/fbportrait_down.c    \        drivers/fbportrait_left.c    \        drivers/fbportrait_right.c   \        drivers/genfont.c            \        drivers/genmem.c    # engine    compile                          \        engine/devarc.c              \        engine/devclip.c             \        engine/devdraw.c             \        engine/devfont.c             \        engine/devkbd.c              \        engine/devlist.c             \        engine/devmouse.c            \        engine/devopen.c             \        engine/devpal1.c             \        engine/devpal2.c             \        engine/devpal4.c             \        engine/devpal8.c             \        engine/devpoly.c             \        engine/devrgn2.c             \        engine/devrgn.c              \        engine/devstipple.c          \        engine/error.c               \        engine/font_dbcs.c           \        engine/selfont.c    # FONTS    compile                           \        fonts/winFreeSansSerif11x13.c \        fonts/X6x13.c#      fonts/rom8x16.c              \#      fonts/rom8x8.c               \#      fonts/winFreeSystem14x16.c       \#     fonts/bdf/helvB10.c               \#     fonts/bdf/helvB12.c               \#     fonts/bdf/helvR10.c               \#     fonts/bdf/X5x7.c              \    cdl_option CYGFUN_MICROWINDOWS_PIXELFORMAT {        display "Supported pixelformat"        flavor data        default_value {"TRUECOLOR0888"}        legal_values {"TRUECOLOR0888"            "RGB"            "PIXELVAL"            "PALETTE"            "TRUECOLOR888"            "TRUECOLOR565"            "TRUECOLOR555"            "TRUECOLOR332"            "TRUECOLOR8888"            "TRUECOLOR233"        }        description "Set this to the pixelformat of your graphics hardware.            Available options:                RGB (pseudo, convert from packed 32 bit RGB),                PIXELVAL (pseudo, no convert from packed PIXELVAL),                PALETTE (packed 8 bits 1, 4 or 8 pal index),                TRUECOLOR0888 (packed 32 bits 8/8/8 truecolor),                TRUECOLOR888  (packed 24 bits 8/8/8 truecolor),                TRUECOLOR565  (packed 16 bits 5/6/5 truecolor),                TRUECOLOR555  (packed 16 bits 5/5/5 truecolor),                TRUECOLOR332  (packed 8 bits 3/3/2 truecolor),                TRUECOLOR8888 (packed 32 bits 8/8/8/8 truecolor with alpha),                TRUECOLOR233  (packed 8 bits 2/3/3 truecolor (BGR)            "        }        cdl_option CYGSEM_MICROWINDOWS_HAVE_FLOAT {            display       "Use floating point arithmetic"            default_value 0            flavor bool            description   "                If enabled, Microwindows will use floating point                arithmetic for certan operations. If you don't have                floating point support or don't want to use it, don't enable it.                Without floating point Microwindows will not be able to draw                circles and arcs."        }        cdl_option CYGFUN_MICROWINDOWS_TIMERS {            display       "Support timers"            default_value 0            flavor bool            compile engine/devtimer.c            requires CYGPKG_POSIX_CLOCKS            description   "                If enabled, Microwindows will support timers.                This requires the gettimeofday() function, which                is implemented in the POSIX clocks component                of the POSIX package. No other parts of the POSIX                package are required. "        }        cdl_option CYGFUN_MICROWINDOWS_DYNAMIC_CLIPPING_REGIONS {            display       "Dynamic clipping regions"            default_value 1            flavor bool            description   "                If enabled, Microwindows will support dynamic clipping                regions. These are more powerful than the default                clipping rectangles, but the code is slightly bigger."        }    cdl_component CYGFUN_MICROWINDOWS_IMAGES {        display "Image support"        flavor  bool        default_value 0        compile engine/devimage.c engine/devimage_stretch.c        description   "Enable this to support image loading in Microwindows."        cdl_option CYGSEM_MICROWINDOWS_USE_STDIO {            display       "Support loading images from files."            default_value 0            flavor bool            requires       CYGINT_ISO_STDIO_FILETYPES            description "                Enable this option to support loading images from                files. If this option is not enabled, Microwindows will still                be able to load images from data buffers (wherever they come from)."        }        cdl_option CYGSEM_MICROWINDOWS_JPEG {            display       "Support JPEG"            default_value 0            flavor bool            compile engine/image_jpeg.c            requires CYGPKG_GFX_JPEG            requires CYGFUN_JPEG_WITH_STDIO            description "                JPEG is a image format with                very good compression, but it is not lossless.                This option requires the libjpeg package"        }        cdl_option CYGSEM_MICROWINDOWS_PNG {            display       "Support PNG"            default_value 0            flavor bool            compile engine/image_png.c            requires CYGPKG_GFX_PNG            requires CYGFUN_PNG_WITH_STDIO            description "                PNG (Portable Network Graphics) is a                compressed, lossless and portable file format.                This option requires the libpng package"        }        cdl_option CYGSEM_MICROWINDOWS_BMP {            display       "Support BMP"            default_value 0            flavor bool            compile engine/image_bmp.c            description "                BMP (Bitmap) is a simple image format,                which is the standard image format under Windows."        }        cdl_option CYGSEM_MICROWINDOWS_XPM {            display       "Support XPM"            requires       CYGINT_ISO_STDIO_FILETYPES            default_value 0            flavor bool            compile engine/image_xpm.c            description "                XPM (XPixmap) is a simple ASCII based image format.                It can simply be included and compiled in C/C++ souces.                It has its roots in the X Windows environment."        }        cdl_option CYGSEM_MICROWINDOWS_PNM {            display       "Support PNM"            requires       CYGINT_ISO_STDIO_FILETYPES            default_value 0            flavor bool            compile engine/image_pnm.c            description "PNM is a simple ASCII based image format."        }#       cdl_option CYGSEM_MICROWINDOWS_TIFF {#          display       "Support TIFF"#          default_value 0#          flavor bool#       }    }    cdl_component CYGPKG_MICROWINDOWS_FONTS {        display "Font support"        flavor  none        no_define        description   "            By default Microwindows comes with two compiled-in fonts.            Here you can enable support for more fonts and encodings."        cdl_option CYGSEM_MICROWINDOWS_BIG5 {            display       "Include a chinese big5 font"            default_value 0            flavor bool            compile fonts/chinese/big5font.c        }        cdl_option CYGSEM_MICROWINDOWS_GB2312 {            display       "Include a chinese gb2312 font"            default_value 0            flavor bool            compile fonts/chinese/gb2312font.c        }        cdl_option CYGSEM_MICROWINDOWS_JISX0213 {            display       "Include a japanese jisx0213 font"            default_value 0            flavor bool            compile fonts/japanese/jisx0213-12x12.c        }        cdl_option CYGSEM_MICROWINDOWS_KSC5601 {            display       "Include a korean ksc5601 font"            default_value 0            flavor bool            compile fonts/korean/ksjo_tbl.c fonts/korean/jo16x16.c        }        cdl_option CYGSEM_MICROWINDOWS_PCF_FONTS {            display       "Support pcf fonts"            requires       CYGINT_ISO_STDIO_FILETYPES            default_value 0            flavor bool            compile engine/font_pcf.c            description "PCF is a compiled version of an X11 BDF font. "        }        cdl_option CYGDAT_MICROWINDOWS_PCF_FONT_PATH {            display       "Path to pcf fonts"            flavor data            default_value {"/fonts/pcf"}            define_format "\\\"%s\\\""            active_if CYGSEM_MICROWINDOWS_PCF_FONTS        }        cdl_option CYGSEM_MICROWINDOWS_FNT_FONTS {            display       "Support fnt fonts"            requires       CYGINT_ISO_STDIO_FILETYPES            default_value 0            flavor bool            compile engine/font_fnt.c            description "                FNT is similar to PCF, but smaller                and Microwindows-specific."        }        cdl_option CYGDAT_MICROWINDOWS_FNT_FONT_PATH {            display       "Path to fnt fonts"            flavor data            default_value {"/fonts/fnt"}            define_format "\\\"%s\\\""            active_if CYGSEM_MICROWINDOWS_FNT_FONTS        }    }

⌨️ 快捷键说明

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