Giter Club home page Giter Club logo

ezhangle / soui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soui2/soui

0.0 1.0 0.0 64.06 MB

SOUI是目前为数不多的轻量级可快速开发window桌面程序开源DirectUI库.其前身为Duiengine,更早期则是源自于金山卫士开源版本UI库Bkwin.经过多年持续更新方得此库

Home Page: http://www.soui.vip

License: Other

CMake 0.66% QMake 0.25% C++ 63.03% C 32.49% CSS 0.13% JavaScript 2.01% HTML 0.62% Assembly 0.16% Makefile 0.24% Objective-C 0.06% Python 0.18% Meson 0.01% Shell 0.01% Objective-C++ 0.12% Batchfile 0.03%

soui's Introduction

SOUI

简介:

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

Git下载地址

DEMO仓库:

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

SOUI3仓库:

SOUI3在SOUI2的基础上完善了矩阵变换,移植了Android的插值动画及数值动画,增加了动画光标,动画滚动条等一系列更炫的效果。SOUI3.0还是100%开源,不过开源协议有更新,有兴趣的朋友注意!

编译

  • 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(目前暂时有问题,等待完善)

论坛

QQ群

极力推荐

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

捐献

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

soui's People

Contributors

setoutsoft avatar bughappy avatar littleku avatar cjl3230 avatar cnsheds avatar taobluesky avatar jwang0512 avatar ppyyll7788 avatar lijun4727 avatar bensonlaur avatar hsxf avatar yaoxuanzhi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.