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