Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
LCUI
A small C library for building user interfaces with C, XML and CSS.
Collective -
Host: opensource -
https://opencollective.com/lcui
- Website: https://lcui.org
- Code: https://github.com/lc-soft/LCUI
github.com/lc-soft/LCUI - e4192dd68cd8519e8d75b9f5922164273589463b authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 10ab53c8b6533d1b0b5c7ea880d81162b4e032b6 authored about 9 years ago by Liu Chao <[email protected]>
这个部件用于切换侧边栏在的最小化状态。
github.com/lc-soft/LCUI - 3403715281b21f32f936718241dd4026f45efb60 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 4739053fb110da84ba8378676c8bfcda5fc7c268 authored about 9 years ago by Liu Chao <[email protected]>
事件的冒泡处理是在事件处理器里进行的,如果部件未绑定事件处理就没法进行冒泡,这是个问题,以后还得改下这块代码。
github.com/lc-soft/LCUI - dc8f839c5ca7169eec436b3acea9eb081aa99112 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 850b74f8541e990153526ca2e486d09485bdeabd authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - c257fa344efe7a2713bfc007656faf4dc67c1131 authored about 9 years ago by Liu Chao <[email protected]>
Add a Gitter chat badge to README.md
github.com/lc-soft/LCUI - aaf18083909d95580dcc2966ddc5e8295e5b3c00 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 2d44e0ecf210c55da5d62441a748b501a26757e6 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 7e7bebc78390de85fb0b61954f6a55cb636015d8 authored about 9 years ago by The Gitter Badger <[email protected]>
github.com/lc-soft/LCUI - fd2ad96118cf921b90cc0c5097816a39d22b4645 authored about 9 years ago by Liu Chao <[email protected]>
两张RGBA图层的混合算法如下:
outRGB = dstRGB * dstA * (1.0 - srcA) + srcRGB * srcA;
outA = srcA + (1.0 - src...
github.com/lc-soft/LCUI - f6ebe31452f77309b147885748a2592e7c0c525d authored about 9 years ago by Liu Chao <[email protected]>
移除 Pos() 调用,LCUI_Pos 类型参数都用 int 类型参数代替。
本次修改后,alpha混合还有问题,以后解决。
github.com/lc-soft/LCUI - 4b9a920d7b91aaf795215aea0830a4222d8e9a94 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 7f2e833bb95d6a052235814793d2219671f2c4e3 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 9b94c30f2f53ba2238a79556a86d9f78e04f9bf0 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 061ed1e8dfd9150e7dd994dcacc147864fed9a56 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - ae877b484d8d85a2e88b9a0d2cd52185faec6372 authored about 9 years ago by Liu Chao <[email protected]>
之前是为了减少冗余事件而添加这个成员变量,但有时操作它会出现异常,懒得搞,直接删了。
github.com/lc-soft/LCUI - 887d0382ff53620531e92f544e795fc512df33ba authored about 9 years ago by Liu Chao <[email protected]>部件的尺寸变更后,将向子部件添加RESIZE任务。
github.com/lc-soft/LCUI - d17da6d8b6e3a6e3958743dd427e38c2922986a0 authored about 9 years ago by Liu Chao <[email protected]>名称和 LinkedList_UnLink 对应。
github.com/lc-soft/LCUI - b2fe31e678363cb017995d3ba9ffeba3949a5fb8 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - fe9937911e7a396c3675799bd06f895a2986020d authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - c0b6a9dab3201fe1825a9e7cc9a87dc4395e8999 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - d0d19e09fcb6d35936ba2e33a0bac20ffa6f96b8 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - a005ca08359ac73eece9737f89a01ae0a2db69f2 authored about 9 years ago by Liu Chao <[email protected]>
用宏在操作变量时会有问题。
github.com/lc-soft/LCUI - 67751a2717d5d797540f50262a6582a4ce3fcc08 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - a828e2d0b6e213d7dd765e95a1d0b2d1e1103210 authored about 9 years ago by LC-SOFT <[email protected]>
github.com/lc-soft/LCUI - 3c0f41beba84e3881ed48ee000a3e5702f84640e authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 3fbc01caecf79dc0cc6626088783be0464daea73 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - e50b73f516a36a1da1cdac3a473741b8bf248024 authored about 9 years ago by Liu Chao <[email protected]>
纠正类名分割时的起始位置计算
纠正转义字符处理时的遍历
去除 content 属性值两边的双引号
github.com/lc-soft/LCUI - 912f57c97ebd78ffd2e949419afe38da3ba88d78 authored about 9 years ago by Liu Chao <[email protected]>
当部件有多个样式类时样式计算会有问题, 后面几个类的样式貌似没计算进来, 需要解决。
github.com/lc-soft/LCUI - 0f5977875ad0f2e2a00558f45bcf56890b9d2bf0 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - a0f26da62008396cf51f693f155df63983ffd6d0 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 78d388d0c97e2516533d6493ab4772f5e460a0fb authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - f6ab0596f5888bde77fcc126aac2de27d974e07c authored about 9 years ago by Liu Chao <[email protected]>
新建了个 LCUIMain 静态库项目, WinMain() 的定义代码已转移至该项目中的 win32_main.c, 里。
以后LCUI的win32版应用程序需要再链接 LCUIMain.l...
&image 改为 &cache->image
github.com/lc-soft/LCUI - d9ff065b66f233e445eae85033a7acc60e814c1c authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - c59fc92f41b62d26e961e93c27ab5254a85fbe9b authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 4f2f15680e0d02d2d2f640d005db3797791be15e authored about 9 years ago by Liu Chao <[email protected]>
HandleTopLevelWidgetEvent() 更名为 Widget_PostSurfaceEvent(), 并转移至
widget_event.c 中。
更改了 HandlePos...
github.com/lc-soft/LCUI - a757a37074d224a097c95598fdd775cdebcd2c82 authored about 9 years ago by Liu Chao <[email protected]>缓存后的图像数据还有点问题, 访问失效, 以后再解决。
github.com/lc-soft/LCUI - 25d0fa6e2366cd71766e7207cef58cc6fd8a1584 authored about 9 years ago by Liu Chao <[email protected]>相关文件暂就不上传了。
github.com/lc-soft/LCUI - 293c9e83ec7730e66c7e7a9af8eeb0c43cb6862c authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 6eb2022c869fd6d347eba90eb02dcc150ecd2fc7 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 022b2e4a9d6d236b9abb1e0e45c14c0f709ddabb authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 62e27755797145581a32c128dc94c12e3be75419 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - f15765841440e70076d0953dd45aa2968e4866c6 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - ca9dbc57fa4a9f16c9ba64320ce5e8a1154694cb authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - ce0e331eee3c439f195573d9ffbb197f92835783 authored about 9 years ago by Liu Chao <[email protected]>
还有部分问题待解决
github.com/lc-soft/LCUI - d41ce6b20c31e2b31c7d087e90326fba1af12511 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 0b2246a9207fb1c4740d6febc23b4e6dd60e39db authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 8c3d20cff2e8c4ab2719a5bd483a1fcd064c3beb authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 576ac8d01100d6b9051fdbd76f1c4c2491182ddd authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - e4e072506020416a727f9f70d8e9f355c194d8af authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - d7385ed7178bf0b9eaa715ae938a2302e8ef7aff authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 50ffe74465008196d9f6595236af92dba08d8dfb authored about 9 years ago by Liu Chao <[email protected]>
待测试
github.com/lc-soft/LCUI - 1de50e934d2e09a59991f44a41deffa86bb51e2a authored about 9 years ago by Liu Chao <[email protected]>待测试。
github.com/lc-soft/LCUI - 591ddb74a6c1abe736c465bdb68ed9cd714c40fa authored about 9 years ago by Liu Chao <[email protected]>
从 xml 中载入部件时, class 属性中会包含多个类名, 这些类名是用空格隔开的, 因此, 做了些调整, 方便添加多个类名。
为方便调试, 添加了 加 LCUIWidget_PrintT...
github.com/lc-soft/LCUI - 65b156d48881a6ec1fc79176b31ddbc4f9b9b71d authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - caf0a829480dade734e58b998436748eca1f75c6 authored about 9 years ago by Liu Chao <[email protected]>
travis-CI 服务器上的freetype头文件中貌似并没有FT_PIXEL_MODE_BGRA的定义, 反正暂时用不到, 删掉好了。
github.com/lc-soft/LCUI - e278a93fb1775cc595405be9a3135e8876b59cf2 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 9147af98ad5ee00eab3bd156f18756a2bb7a289e authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 5b22042fd7694fa608aca43afa9354c827381b12 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 8fe5e4a16988af62b1c0b2929c314c7234b32ad0 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 2dc4eea1ff7482e29046c0bedf558bb14a63af90 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 36349d3492ef83d06e79b0d0f3ddcd2e8d9dc5f2 authored about 9 years ago by Liu Chao <[email protected]>
已经添加XML解析功能的代码, 现在能根据解析结果来创建相应结构的部件树, 但功能有待测试。
github.com/lc-soft/LCUI - d1b7dd94ed7d5c815ad60be01ed52ac98afe1786 authored about 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 41652bf2598e1438e4fa30d3db8d14ff584d0a0d authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 4db9119360da7047ec25cb0f4fbcd08da9efe140 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 59147c90dc2611c1f716155862a78818fd4412ed authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - a4994cc70daab33605143dd4ab689beced86cff2 authored about 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 23d24768fce74fef98a2136f393492ad530ab086 authored about 9 years ago by Liu Chao <[email protected]>
之前在更新样式后就直接缓存样式, 这会影响后面任务的样式对比结果, 例如: 可见性处理, 由于对比前后样式无变化, 被判定为可见性未变化,
使得部件没有正常显示出来。
github.com/lc-soft/LCUI - 448942cbb9d4234da92c275a42b86f0040e46458 authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 94c779cb1a22530b5d5a81685e505782433c39ce authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - b0ee53404eeff0968d7b4f26d7716f1357064d4f authored over 9 years ago by Liu Chao <[email protected]>
之前的 ToString() , 逗号多了编译器会报错说参数过多,现已改用另一种方法。
github.com/lc-soft/LCUI - 5cc6f0f761172240bb638ca611d3cee0f97f83b7 authored over 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 2486273de899a7cb924bf854d344cc9f1cbed80f authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - b123ddff31422a7c6c87b29c965aa205f990bb30 authored over 9 years ago by Liu Chao <[email protected]>
之前绘制出的文字背景都是白色的, 本应是透明背景, 现已纠正。
github.com/lc-soft/LCUI - 319a716818fa0645aea2dc913460ea61e1dbac34 authored over 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - b9d0e59bbbe3e77b6509d1937b686c55c61bf47b authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 32b59856e4abce079a8baa4eaf7dd67a1a6c24ce authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 073ab3c7ca1bee209a1b969ce218d47bf5a41f9a authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - e2324514851a7f35bd423f540db66a070211e781 authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 305a99f60d7933f39fa43a222f8d31c4079108b7 authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 3d81faa5404749d07d0679eebf93d4fdc9b759e2 authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - fdfc480bbe19ebdc8e1cb964aa602bc0a6b59505 authored over 9 years ago by Liu Chao <[email protected]>
嘛, void *data 属性不好复制和销毁, 真需要存储自定义数据的话, 还是自己另外用其它方法实现, 至少不应该把数据之间存样式表上。
github.com/lc-soft/LCUI - 4b0f897832da618e78fcc2259372545c62159a9d authored over 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 2c9f228abfe6d60ebb9bab445cff864fd46816cc authored over 9 years ago by Liu Chao <[email protected]>
由于为 LCUI_Style 结构添加了字符串支持, 样式表的操作不能再是直接复制了, 需要追加字符串的内存分配/释放操作。
考虑到样式表属性项是动态添加的, 样式表的长度会出现不一致的情况,...
考虑到有些字体的字符范围不一样, 例如: 英文字体、中文字体、图标字体, 为了能够在一段文本内混合使用这些字体, 就添加了这个功能,
这样即使一个字体不支持该字, 也可以从候选的字体中获取。
...
github.com/lc-soft/LCUI - b3a70e283d3034df68cafb4541d776378824967b authored over 9 years ago by Liu Chao <[email protected]>
代码有待继续补充完善。
github.com/lc-soft/LCUI - 874d1c7ddb5466313084ec2a6e405d2a85e3af55 authored over 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 563ee8fa4143130abbc1e1d26da0de490b335398 authored over 9 years ago by Liu Chao <[email protected]>
github.com/lc-soft/LCUI - 07d637cd7763f3b38a4454df0295a0de54c5b59b authored over 9 years ago by Liu Chao <[email protected]>
100% 会被解析成 0%, 现已纠正。
添加支持 display 和 position 的解析。
在部件尺寸改变时, 追加父级部件的重布局任务。
调整部件可见状态的判定方法。
经测试发现,鼠标指针在同级部件间来回切换, 会使它们的父部件失去 hover 状态, 现已纠正。
github.com/lc-soft/LCUI - 7dde9649d782398b7a2ec606b5c12bd32c981ee5 authored over 9 years ago by Liu Chao <[email protected]>github.com/lc-soft/LCUI - 943dc3922a8a47ef2970f7ab6635b4d873e6ec71 authored over 9 years ago by Liu Chao <[email protected]>