MCPcopy Create free account
hub / github.com/SOUI2/soui

github.com/SOUI2/soui @release_2.9.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release release_2.9.0.3 ↗ · + Follow
42,266 symbols 108,467 edges 3,347 files 4,912 documented · 12% updated 14mo ago★ 8083 open issues

Browse by type

Functions 35,667 Types & classes 6,599
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SOUI

简介:

SOUI是目前为数不多的轻量级可快速开发window桌面程序开源DirectUI库.其前身为Duiengine,更早期则是源自于金山卫士开源版本UI库Bkwin.经过作者多次开发维护升级后得此库.SOUI其寓意为"瘦UI" "UI,just so so!",目的就是能够快速开发,并且在产品发布局时不需要携带其它额外的第三方依赖库,高度精简及集中;模块化使得渲染模块,图片解码模块,资源打包压缩模块得以清晰分离,更能够高度的自定义.UI解析目前可采用的是XML布局,便于理解各控件之间的层级关系及其自身的属性设置.目前已有很多成功的商业产品,深受广大开发者及企业的青睐

Git下载地址(分离了demo的soui内核的仓库)

DEMO仓库:

  • https://github.com/soui-demo
  • 每一个Demo一个单独的仓库,自己分别clone就好了。如果想一次拉取所有demo,可以直接运行SOUI仓库代码下的clone_demos.bat来clone,当然前提是已经安装了git命令行工具。

原仓库Git下载地址

编译

  • SOUI提供了多种编译方式包括qmake,cmake,nmake等等.我们推荐使用qmake方式生成符合自己的Visual Studio 版本项目工程文件,当然,如果你有兴趣也可以尝试cmake与nmake两种方式
  • qmake(推荐)

    使用 git 摘取代码后,进入代码根目录,双击运行"build.bat"

    • 1.选择编译版本[1=x86;2=x64;3=x86+x64]:选择需要编译的cpu架构(eg:1则表示生成win32的可执行文件)
    • 2.选择开发环境[1=2008;2=2010;3=2012;4=2013;5=2015;6=2017;7=2005]:选择对应的 Visual Studio 版本(eg:1表示选择使用 Visual Studio 2008)注意SOUI至少需要Visual Studio 2008 SP1及以上的 Visual Studio 版本
    • 3.选择SOUI编译模式[1=全模块DLL;2=全模块LIB;3=内核LIB,组件DLL(不能使用LUA脚本模块)]:选择生成内核的文件方式(eg:1表示所生成的内核文件及组件均为dll)
    • 4.选择字符集[1=UNICODE;2=MBCS]:(推荐选1)
    • 5.将WCHAR作为内建类型[1=是;2=否]:(推荐选1)
    • 6.选择CRT链接模式[1=静态链接(MT);2=动态链接(MD)]:(根据自大项目需求选择)
    • 7.是否为release版本生成调试信息[1=生成;2=不生成]:(根据自大项目需求选择)
    • open[o], compile[c] "soui.sln" or quit(q) [o,c or q]?输入英文字母o表示打开工程项目,c表示直接编译debug与release,q表示直接退出当前窗口
  • nmake(目前仅支持编译成dll形式)

    • 打开编译工具命令控制台窗口,输入"nmake",默认生成 x86 release 的 soui 内核依赖与两个渲染组件(gdi各skia) 图片解码组件为 png 还有 demo 运行程序,CRT为动态链接
    • 其它额外编译参数如下:
      • nmake TYPE=Debug 表示生成 x86 debug 模式
      • nmake ABI=x64 表示生成 x64 的 release 模式,如果需要 debug 模式在后面增加 TYPE=Debug 即可
      • nmake CRT=-MT 表示静态链接CRT
  • cmake(目前暂时有问题,等待完善)

论坛

  • http://ui520.cn

QQ群

极力推荐

  • 阅读作者博客,能让你更快掌握如何使用SOUI快速开发Window桌面应用
  • 教学视频

捐献

  • 支付宝帐号img 微信帐号img

Core symbols most depended-on inside this repo

Shape

Method 25,114
Function 10,553
Class 5,944
Enum 655

Languages

C++94%
C6%
Python1%
TypeScript1%

Modules by API surface

tools/src/uiresImporter/pugixml/pugixml.cpp555 symbols
tools/src/ConvertPlatformToXp/ConvertPlatformToXp/pugixml/pugixml.cpp544 symbols
utilities/src/pugixml/pugixml.cpp462 symbols
controls.extend/dlghelp/souidlgs.h437 symbols
third-part/gtest/include/gtest/internal/gtest-param-util-generated.h253 symbols
third-part/Scintilla/src/Editor.cxx252 symbols
third-part/gtest/src/gtest.cc246 symbols
third-part/gtest/include/gtest/internal/gtest-type-util.h213 symbols
third-part/Scintilla/win32/PlatWin.cxx184 symbols
SOUI/src/core/Swnd.cpp173 symbols
components/render-skia/render-skia.cpp166 symbols
third-part/skia/src/core/SkCanvas.cpp162 symbols

For agents

$ claude mcp add soui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page