资源简介
稍微修改了 duilib,使之支持异性窗口、窗口阴影。
可以通过拖动窗口边缘改变窗口大小,利用的C++的开发技术。提供大家学习。
代码片段和文件信息
#define STBI_NO_STDIO
#define STBI_NO_WRITE
#define STBI_NO_HDR
/* stbi-1.29 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c
when you control the images you‘re loading
no warranty implied; use at your own risk
QUICK NOTES:
Primarily of interest to game developers and other people who can
avoid problematic images and only need the trivial interface
JPEG baseline (no JPEG progressive)
PNG 8-bit only
TGA (not sure what subset if a subset)
BMP non-1bpp non-RLE
PSD (composited view only no extra channels)
GIF (*comp always reports as 4-channel)
HDR (radiance rgbE format)
PIC (Softimage PIC)
- decoded from memory or through stdio FILE (define STBI_NO_STDIO to remove code)
- supports installable dequantizing-IDCT YCbCr-to-RGB conversion (define STBI_SIMD)
Latest revisions:
1.29 (2010-08-16) various warning fixes from Aurelien Pocheville
1.28 (2010-08-01) fix bug in GIF palette transparency (SpartanJ)
1.27 (2010-08-01) cast-to-uint8 to fix warnings (Laurent Gomila)
allow trailing 0s at end of image data (Laurent Gomila)
1.26 (2010-07-24) fix bug in file buffering for PNG reported by SpartanJ
1.25 (2010-07-17) refix trans_data warning (Won Chun)
1.24 (2010-07-12) perf improvements reading from files
minor perf improvements for jpeg
deprecated type-specific functions in hope of feedback
attempt to fix trans_data warning (Won Chun)
1.23 fixed bug in iPhone support
1.22 (2010-07-10) removed image *writing* support to stb_image_write.h
stbi_info support from Jetro Lauha
GIF support from Jean-Marc Lienher
iPhone PNG-extensions from James Brown
warning-fixes from Nicolas Schulz and Janez Zemva
1.21 fix use of ‘uint8‘ in header (reported by jon blow)
1.20 added support for Softimage PIC by Tom Seddon
See end of file for full revision history.
TODO:
stbi_info support for BMPPSDHDRPIC
rewrite stbi_info and load_file variations to share file handling code
(current system allows individual functions to be called directly
since each does all the work but I doubt anyone uses this in practice)
============================ Contributors =========================
Image formats Optimizations & bugfixes
Sean Barrett (jpeg png bmp) Fabian “ryg“ Giesen
Nicolas Schulz (hdr psd)
Jonathan Dummer (tga) Bug fixes & warning fixes
Jean-Marc Lienher (gif)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 411136 2014-01-22 23:07 DuilibFix\bin\DuiLib.dll
文件 284547 2014-01-22 23:09 DuilibFix\bin\skin.zip
文件 69120 2014-01-22 23:07 DuilibFix\bin\Test.exe
文件 21988 2014-01-22 00:13 DuilibFix\DuiLib\DuiLib.vcproj
文件 2587 2014-01-20 17:32 DuilibFix\DuiLib\DuiLib.vcproj.ibm-PC.ibm.user
文件 2583 2014-01-22 23:10 DuilibFix\DuiLib\DuiLib.vcproj.PC-PC.PC.user
文件 165001 2011-05-31 21:42 DuilibFix\DuiLib\stb_image.c
文件 282 2011-05-31 21:42 DuilibFix\DuiLib\StdAfx.cpp
文件 1545 2011-05-31 21:42 DuilibFix\DuiLib\StdAfx.h
文件 37077 2011-06-24 20:09 DuilibFix\DuiLib\UIActiveX.cpp
文件 1795 2011-05-31 21:42 DuilibFix\DuiLib\UIActiveX.h
文件 30368 2011-06-04 10:51 DuilibFix\DuiLib\UIba
文件 8544 2011-06-04 10:51 DuilibFix\DuiLib\UIba
文件 29006 2011-07-27 09:24 DuilibFix\DuiLib\UICombo.cpp
文件 3697 2011-07-27 09:24 DuilibFix\DuiLib\UICombo.h
文件 83943 2011-07-27 10:27 DuilibFix\DuiLib\UICommonControls.cpp
文件 12265 2011-06-08 16:19 DuilibFix\DuiLib\UICommonControls.h
文件 65550 2014-01-18 11:43 DuilibFix\DuiLib\UIContainer.cpp
文件 6950 2011-05-31 21:42 DuilibFix\DuiLib\UIContainer.h
文件 22773 2011-07-27 16:49 DuilibFix\DuiLib\UIControl.cpp
文件 6179 2011-07-27 09:35 DuilibFix\DuiLib\UIControl.h
文件 2072 2011-06-23 23:59 DuilibFix\DuiLib\UIDelegate.cpp
文件 2165 2011-06-23 23:59 DuilibFix\DuiLib\UIDelegate.h
文件 21392 2014-01-17 15:48 DuilibFix\DuiLib\UIDlgBuilder.cpp
文件 1032 2011-07-27 17:52 DuilibFix\DuiLib\UIDlgBuilder.h
文件 1025 2011-05-31 21:42 DuilibFix\DuiLib\UIlib.cpp
文件 640 2014-01-10 11:21 DuilibFix\DuiLib\UIlib.h
文件 71143 2011-07-27 09:35 DuilibFix\DuiLib\UIList.cpp
文件 11943 2011-07-27 09:23 DuilibFix\DuiLib\UIList.h
文件 79425 2014-01-21 22:31 DuilibFix\DuiLib\UIManager.cpp
............此处省略31个文件信息
- 上一篇:一个聊天室,支持文件传输
- 下一篇:基于MPI的PSRS算法的实现
评论
共有 条评论