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

malloc()函数调用改用MALLOC_ONE宏,减少代码列数。

调整几个函数命名,添加数据时有两种添加方法:引用和副本。

github.com/lc-soft/LCUI - a5ef31a0c09f5cea9e177406ecc9486ea916b66e authored almost 11 years ago by Liu Chao <[email protected]>
修改代码格式

github.com/lc-soft/LCUI - 90a758cda4ad9e195a2eb8d09bee3ccc3f4ba8d4 authored almost 11 years ago by Liu Chao <[email protected]>
更新数据类型

github.com/lc-soft/LCUI - 6143a54e2da0c37dd1d7479eb68c720741fbee92 authored almost 11 years ago by Liu Chao <[email protected]>
调整函数命名,添加局部绘制支持

github.com/lc-soft/LCUI - 2f3bcacbe6424cf54c630d8c93050471a4dc336c authored almost 11 years ago by Liu Chao <[email protected]>
移除无用函数

github.com/lc-soft/LCUI - 727ef12ea7afb04ef5508b43b97b1ca85002a31f authored almost 11 years ago by Liu Chao <[email protected]>
修改一些数据类型的命名

github.com/lc-soft/LCUI - 1461539e936f0fe2f65ad4d183b012676ff886c5 authored almost 11 years ago by Liu Chao <[email protected]>
更新函数声明

github.com/lc-soft/LCUI - 5e747b58e210b5ca805977f3f09d3811f10bc654 authored almost 11 years ago by Liu Chao <[email protected]>
修改部件的绘制规则

添加了Widget_BeginPaint()和Widget_EndPaint()函数,主要在GUI部件的OnPaint()函数中绘图前后调用。调用Widget_BeginPaint()函数处理...

github.com/lc-soft/LCUI - 11f20ab4b1a2ca2d9608ca7e038623b9b5aa42dd authored almost 11 years ago by Liu Chao <[email protected]>
修改脏矩形处理,有待继续修改

github.com/lc-soft/LCUI - 3c9e9547b0f757e30b1cb382de1db6345a08f785 authored almost 11 years ago by Liu Chao <[email protected]>
调整 TextLayer_DrawToGraph() 函数

github.com/lc-soft/LCUI - 42974f1b39484f0170ad3a45aec6f50be234dd3e authored almost 11 years ago by Liu Chao <[email protected]>
为图像填充功能添加局部绘制支持

还未针对图像缩放添加支持。

github.com/lc-soft/LCUI - a03f95f24d153673e6685deae21af7799b32d8dd authored almost 11 years ago by Liu Chao <[email protected]>
移除 LCUI_Rect 结构体中的无用成员

github.com/lc-soft/LCUI - b7004f6ea5d9927700ea609f1072d3a095a29129 authored almost 11 years ago by Liu Chao <[email protected]>
移除 need_update 成员变量

文字是否需要绘制,不再由该成员变量决定。

github.com/lc-soft/LCUI - 42018337f8f66f39641166ecb8ddd427694fc717 authored almost 11 years ago by Liu Chao <[email protected]>
修改文本图层的绘制代码

本次修改是为了支持以后的局部重绘功能,还有待继续修改。

github.com/lc-soft/LCUI - 1a324fa2dc5cdf4b82d0b1310b9a0561008b0ec8 authored almost 11 years ago by Liu Chao <[email protected]>
更新函数原型

github.com/lc-soft/LCUI - a9e9f56942fecc2fb6ce5f45d61db2934216b0e5 authored almost 11 years ago by Liu Chao <[email protected]>
为文本框添加文本编辑功能

github.com/lc-soft/LCUI - d4a76a92b2856733d980179ef61533466cffaca9 authored almost 11 years ago by Liu Chao <[email protected]>
将换行符从文本内容中分离出去

现在改为让文本行单独记录行尾结束符,调整相关代码。
还有待继续完善。

github.com/lc-soft/LCUI - 481e8f6c8a4ea42994a01305dba118c6ee69a2f5 authored almost 11 years ago by Liu Chao <[email protected]>
添加需忽略的文件

github.com/lc-soft/LCUI - 057b58c3f9fa8226d664c1bcad1d1222e275171d authored almost 11 years ago by Liu Chao <[email protected]>
修复文本排版中的已知BUG,完善无效区域的记录

TextLayer至少有一行文本行,即使内容为空。
解决排版时无法正常处理换行的问题。
在有文本行变更的地方,添加用于记录该行矩形区域的代码,主要解决了在断行、插入字符时有残余文字位图的问题。

github.com/lc-soft/LCUI - afe51f4fe124f62f521dc042bb29010e4bc30896 authored almost 11 years ago by Liu Chao <[email protected]>
调整函数声明格式

github.com/lc-soft/LCUI - cd64569f2aad62366786a35f895017380b1eefb7 authored almost 11 years ago by Liu Chao <[email protected]>
修改文本框部件注册代码

github.com/lc-soft/LCUI - ae9823e64d31be72707cdc309619c90fcb42d7a7 authored almost 11 years ago by Liu Chao <[email protected]>
重写文本框部件代码,有待继续完善

github.com/lc-soft/LCUI - 3d0425c88a72db048edaf4adbec4ad730f518eb0 authored almost 11 years ago by Liu Chao <[email protected]>
更新Label相关函数调用

github.com/lc-soft/LCUI - 202646b4e95b7a37d2dd27dc34d8c027a2ae46be authored almost 11 years ago by Liu Chao <[email protected]>
更改函数命名

github.com/lc-soft/LCUI - 65c0c5a370720c7f27ecbb0ab3c6d44a28ec482b authored almost 11 years ago by Liu Chao <[email protected]>
更新文本块处理功能

顺便移除无用函数代码,更新几个函数的命名,更新部分TextLayer函数调用。
还需要继续修改。

github.com/lc-soft/LCUI - 3f5c990d2dcf0a6305325ca8cc1c7949229e2bde authored almost 11 years ago by Liu Chao <[email protected]>
添加用于获取总文本行数的函数

github.com/lc-soft/LCUI - 21f002892b06ee9932459653145d010c2553be5b authored almost 11 years ago by Liu Chao <[email protected]>
修改函数原型

github.com/lc-soft/LCUI - ae857c39fbe1b6fbbbe84e2869b0023754f05289 authored almost 11 years ago by Liu Chao <[email protected]>
修复:能造成内存泄露的BUG、文本换行处理上的BUG。

添加TextRow_InsertCopy()函数,用于向文本行中插入文字数据的副本,这个主要是在需要向文本行添加新文字的时候调用。
TextRow_Insert()函数则改为直接将字符数据的地...

github.com/lc-soft/LCUI - 3b502e682e7a4fe2f43185e45867418f81bad4a2 authored almost 11 years ago by Liu Chao <[email protected]>
修改文本行最大高度和文字绘制坐标的计算方法

那些计算行高度的代码就删除了,全都交给TextRow_UpdateSize( )函数来更新文本行尺寸。
经过本次修改后,文字剃头剃尾的现象应该会有所缓解。

github.com/lc-soft/LCUI - 89e0e5820ff3029078f43fd3165cc746596df125 authored almost 11 years ago by Liu Chao <[email protected]>
设置文本后需更新TextLayer,以对文本进行排版。

顺便添加 Label_SetTextAlign() 函数,用于设置文本对齐方式。

github.com/lc-soft/LCUI - 4d8a57e2c13dcae0cb2b5907cd8663bebc50757b authored almost 11 years ago by Liu Chao <[email protected]>
添加 Label_SetTextAlign() 函数声明

github.com/lc-soft/LCUI - d5c1cd4b857c9fdaf48f359d456161e073e3af9a authored almost 11 years ago by Liu Chao <[email protected]>
修复:文本行尺寸计算错误、文本中有换行符并未进行排版。

github.com/lc-soft/LCUI - a2fa3dbaff8f1885da03fea6ed2652cb704fa0d3 authored almost 11 years ago by Liu Chao <[email protected]>
修改文本排版功能,解决不能换行的问题

github.com/lc-soft/LCUI - afa5a4409e6b373cc4f7ece1f6cf38809aee0b8b authored almost 11 years ago by Liu Chao <[email protected]>
去除I_NEED_LABEL_TEXTLAYER宏定义

顺便移除 Label_SetTextW() 函数中一个无用局部变量。

github.com/lc-soft/LCUI - 2d90cb4fb08bc24f41f9caf4258bf95b569ccba3 authored almost 11 years ago by Liu Chao <[email protected]>
为头文件加上BOM签名

github.com/lc-soft/LCUI - 94d78db15e09b34e90e660552221b368d794f5c8 authored almost 11 years ago by Liu Chao <[email protected]>
用LCUI_StyleTagStack代替LCUI_Queue,方便以后更改数据结构

github.com/lc-soft/LCUI - 10d66bb9dd4fb4795e097a936cf9bd482aed8284 authored almost 11 years ago by Liu Chao <[email protected]>
更新函数声明

github.com/lc-soft/LCUI - d34b9296b4f511c8dab5aa04a66339a55fcda685 authored almost 11 years ago by Liu Chao <[email protected]>
修改文本处理功能

在更新文字的字体位图时,会根据当前文本样式及全局样式,载入相应的字体位图。

修改TextLayer_ProcessText()函数,添加一个tag_stack参数,为NULL时,会对当前添加...

github.com/lc-soft/LCUI - e58ae26606334aec7d62fbc6e5cdf49bd1746445 authored almost 11 years ago by Liu Chao <[email protected]>
从VS2012工程中移除 windows.hpp

github.com/lc-soft/LCUI - 4f26689d6c0e72f1d85937b0a5787e878ce1deec authored almost 11 years ago by Liu Chao <[email protected]>
改为调用 StyleTagStack_Destroy() 函数

github.com/lc-soft/LCUI - d5ff3fabf14c137bcfcf84eadb0bbb650ea300cf authored almost 11 years ago by Liu Chao <[email protected]>
移除 StyleTagStack_Add() 函数,调整部分代码

github.com/lc-soft/LCUI - eedeeda5ffebb85a0bd35d34f8d84680174107f3 authored almost 11 years ago by Liu Chao <[email protected]>
调整一下格式

github.com/lc-soft/LCUI - cc85bd81ea097dba5330d4914f5e7c6752cf9029 authored almost 11 years ago by Liu Chao <[email protected]>
移除头文件包含

github.com/lc-soft/LCUI - 5ca9132eeff957447ef83335c913fcd570341536 authored almost 11 years ago by Liu Chao <[email protected]>
为公用函数前面加上LCUI_API,以导出符号。

github.com/lc-soft/LCUI - bea1094517b264d803f98faaabef74fa9d43e33e authored almost 11 years ago by Liu Chao <[email protected]>
加上版权声明,更改函数声明。

github.com/lc-soft/LCUI - aba056bf6adbe4393ae5ef91c7f28120019bcb94 authored almost 11 years ago by Liu Chao <[email protected]>
让LCUI_Misc.h 包含 linkedlist.h 和 rbtree.h

github.com/lc-soft/LCUI - 4ddf1e6b12662eb5370f6e21e36025bb831b314a authored almost 11 years ago by Liu Chao <[email protected]>
更新函数名。

github.com/lc-soft/LCUI - 4f5f3b4c3857be76b4776c3934688acb360c582e authored almost 11 years ago by Liu Chao <[email protected]>
修改函数命名和参数命名,调整部分代码。

github.com/lc-soft/LCUI - 20b3697688fef13546cfb4f04fea5ea957dd7476 authored almost 11 years ago by Liu Chao <[email protected]>
更新数据结构及函数声明。

github.com/lc-soft/LCUI - 93cda169d4d307f298d60e42e0f44dc5dcea3fe5 authored almost 11 years ago by Liu Chao <[email protected]>
GetIntOrFloat更名为ScanIntOrFloat

github.com/lc-soft/LCUI - 22c1513acc4638f1def9fe32b1356948b6bd8af1 authored almost 11 years ago by Liu Chao <[email protected]>
修改函数命名,更新参数列表。

github.com/lc-soft/LCUI - 98433e42d4d76b6292caac2f69c94bac804d088d authored almost 11 years ago by Liu Chao <[email protected]>
改用union联合体,修改数据结构的命名。

github.com/lc-soft/LCUI - 81c1febb2e7e4ad6cff95e6c7296d34c47dc8343 authored almost 11 years ago by Liu Chao <[email protected]>
Merge branch 'master' of https://github.com/LC-Team/LCUI

github.com/lc-soft/LCUI - 317c8b18839761b3edb01be4f3eeee0aa023e080 authored almost 11 years ago by Liu Chao <[email protected]>
更新VS2012工程文件

github.com/lc-soft/LCUI - c0ec8a89aaeebb6a07133aaa14c0ccbc751da0bb authored almost 11 years ago by Liu Chao <[email protected]>
更新VS2012改成文件

github.com/lc-soft/LCUI - 6e9e72ef8277fa0411801e3371eef48292fee30d authored almost 11 years ago by Liu Chao <[email protected]>
调整复选框的代码

github.com/lc-soft/LCUI - 2d6466e76569024072f67025c6ef6e40ca5e0fcb authored almost 11 years ago by Liu Chao <[email protected]>
更新数据类型

github.com/lc-soft/LCUI - 615f7cd43db27d55bb0f6dcdd2fdc19632601800 authored almost 11 years ago by Liu Chao <[email protected]>
转移单选框的图像数据

github.com/lc-soft/LCUI - 2a10b20a3df9ee4806ef91c57c11df2f2178300e authored almost 11 years ago by Liu Chao <[email protected]>
稍微调整一下代码格式

github.com/lc-soft/LCUI - f7e2495c03006676ccbe9a9b34b489894a8bb016 authored almost 11 years ago by Liu Chao <[email protected]>
转移鼠标游标的图像数据

github.com/lc-soft/LCUI - 861553c894196ec3af4081ef35a0c3a27af6b41f authored almost 11 years ago by Liu Chao <[email protected]>
更新VS2012工程文件

github.com/lc-soft/LCUI - fc1690c163382fa793d46de88533602912340854 authored almost 11 years ago by Liu Chao <[email protected]>
取消typedef

github.com/lc-soft/LCUI - 8c43df9641348f7e1016919521c582f395e8f847 authored almost 11 years ago by Liu Chao <[email protected]>
转移复选框的图像数据

github.com/lc-soft/LCUI - a870fc98a60f9315357bb4a35e7f1a85e7151f30 authored almost 11 years ago by Liu Chao <[email protected]>
Merge branch 'master' of https://github.com/LC-Team/LCUI

github.com/lc-soft/LCUI - a373aae8fe281789876fbb9426eccd5f9d34a41f authored almost 11 years ago by Liu Chao <[email protected]>
忽略bin目录下的文件

github.com/lc-soft/LCUI - 622c7789b5819122f4bb3915022259473fb2de92 authored almost 11 years ago by Liu Chao <[email protected]>
更新Label部件代码

主要是应用新版本的TextLayer。

github.com/lc-soft/LCUI - 90eb8587b0565f651d6587d00ed9f7c05da98038 authored almost 11 years ago by Liu Chao <[email protected]>
修改一点代码

github.com/lc-soft/LCUI - 27eed024ffbccfed9f9d34a1911bbbb96e67d6ef authored almost 11 years ago by Liu Chao <[email protected]>
修改 textlayer.c

添加文本行销毁处理代码。
添加textlayer的销毁处理代码。
修改TextRow_Insert()函数,插入文字时需要开辟独立空间来容纳文字相关数据。
修改部分函数命名。

改用TextL...

github.com/lc-soft/LCUI - f13c8c5b31de93624e630d37f091240728fe23c7 authored almost 11 years ago by Liu Chao <[email protected]>
添加忽略.oepnsdf后缀名的文件

github.com/lc-soft/LCUI - 9192de3f5a3cb8ce03a2a5dceb761106cf7c4acc authored almost 11 years ago by Liu Chao <[email protected]>
改用union联合体记录矩形宽高

github.com/lc-soft/LCUI - f5c7a864402574ded3271e91f0dcbc57a5982f7b authored almost 11 years ago by Liu Chao <[email protected]>
更新数据结构及函数声明

github.com/lc-soft/LCUI - 6b01f99a4d1602cd9b596e0b44b403a3d38ef1cb authored almost 11 years ago by Liu Chao <[email protected]>
修改TextLayer_Update()函数

github.com/lc-soft/LCUI - 11cf5bbd6f3b920560bb2a668bd1e5bceeb55905 authored almost 11 years ago by Liu Chao <[email protected]>
之前的RectQueue更名为DoubleRectQueue

github.com/lc-soft/LCUI - 2222de86822b21b7df8d91d679047c5e5200d6ad authored almost 11 years ago by Liu Chao <[email protected]>
更新忽略的文件

github.com/lc-soft/LCUI - 9c62c130a9cd6c19c74a075a458c95bb4d70e021 authored almost 11 years ago by Liu Chao <[email protected]>
重写TextLayer模块,有待继续测试+完善

github.com/lc-soft/LCUI - a1720fed1a097d8431ce2a4ba31e0aa62fc0a65d authored almost 11 years ago by Liu Chao <[email protected]>
更新注释

github.com/lc-soft/LCUI - 6e31012d100b7025be7cb0592fceb70740daffaf authored almost 11 years ago by Liu Chao <[email protected]>
修改FontBMP_Mix函数的参数列表格式

新加的代码,是为以后添加GDI的字体引擎支持做准备。

github.com/lc-soft/LCUI - 029f82fab36643c33c31c74553339240c226c6d0 authored almost 11 years ago by Liu Chao <[email protected]>
更新内容

github.com/lc-soft/LCUI - f153bc03fa4a076d7ae179059eb84114d9fd80bb authored almost 11 years ago by Liu Chao <[email protected]>
纠正起点搜索位置的确定方法

github.com/lc-soft/LCUI - 057d6629eac6a4abf31dd9115f588f8373a23b81 authored almost 11 years ago by lc-soft <[email protected]>
更新Makefile中的文件列表

github.com/lc-soft/LCUI - 3295cea477528927fad2c7ce6e3b60b4efd1667c authored almost 11 years ago by lc-soft <[email protected]>
更新VS2012工程文件

github.com/lc-soft/LCUI - 6138d179472668a92d18aabd5141298cedefc0f9 authored almost 11 years ago by Heroes's King <[email protected]>
更新声明内容

github.com/lc-soft/LCUI - 995b4927fc5c057fdcb981aa54942469f5bc0ee7 authored almost 11 years ago by Heroes's King <[email protected]>
改用红黑树实现字体信息和字体位图的缓存

github.com/lc-soft/LCUI - 948e4dae4407874206d4f99563a65efef9742b8e authored almost 11 years ago by Heroes's King <[email protected]>
添加数据结构:红黑树

github.com/lc-soft/LCUI - 1244632ed4e11e092b22b7186a1be41f2cd90986 authored almost 11 years ago by Heroes's King <[email protected]>
添加数据结构:链表

github.com/lc-soft/LCUI - 9475a09a86397587b8dcb0770dc00423969e1f73 authored almost 11 years ago by Heroes's King <[email protected]>
Merge branch 'master' of https://github.com/lijie1995/LCUI

github.com/lc-soft/LCUI - bab8717e280d390727c58b92374cd896aace6226 authored almost 11 years ago by Heroes's King <[email protected]>
Updated Build Status Image.

github.com/lc-soft/LCUI - 2221f0a7081b8462f7209ddbfbb189cff70be1bf authored almost 11 years ago by Heroes's King <[email protected]>
Updated Build Status Image.

github.com/lc-soft/LCUI - cfcb4924ffff6a256fc926ac765f02b4a383df07 authored almost 11 years ago by Heroes's King <[email protected]>
调整PNG图像文件的读取代码

github.com/lc-soft/LCUI - 585531200f817b5119d9883078694ba05ffba83d authored almost 11 years ago by Liu Chao <[email protected]>
添加宏FILE_ERROR_MALLOC_ERROR

github.com/lc-soft/LCUI - 900bd95effbc9d03e3c045a59ca0bb75ba964e25 authored almost 11 years ago by Liu Chao <[email protected]>
更新内容

github.com/lc-soft/LCUI - e944af94a66324e4f6652c1ecee21bcd00e60d6f authored about 11 years ago by Liu Chao <[email protected]>
Updated CodingStyle.zh-cn.md

github.com/lc-soft/LCUI - 78e42fd46bb35d7afd638ef63ba8490634024ea3 authored about 11 years ago by Liu Chao <[email protected]>
更新LCUI_Config.h

github.com/lc-soft/LCUI - 83668d53a383fe81d9f41b8b4ab7d694d98b09a2 authored about 11 years ago by lc-soft <[email protected]>
移除 restrict 宏定义

github.com/lc-soft/LCUI - 030f7afb8d80be606d363a8b12a7e731d0666bb9 authored about 11 years ago by Liu Chao <[email protected]>
移除_CRT_SECURE_NO_WARNINGS宏定义

没必要在头文件中定义 _CRT_SECURE_NO_WARNINGS 宏。

github.com/lc-soft/LCUI - 4a1ac0486c4bd2b08dd9c0f0398135aef5af6fab authored about 11 years ago by Liu Chao <[email protected]>
合并一些内容

github.com/lc-soft/LCUI - e26869ded2ff57abc0f5284a1af8f428fde8a586 authored about 11 years ago by lc-soft <[email protected]>
更新文件列表

github.com/lc-soft/LCUI - 91db89854de2059a208989191644677f1c5330bf authored about 11 years ago by lc-soft <[email protected]>
添加程序互斥锁相关的操作

github.com/lc-soft/LCUI - f6808a10fe728720b15d8f76eed2f3d8059b961e authored about 11 years ago by Liu Chao <[email protected]>
完善LCUITimer_Free函数

在移除定时器时,会移除程序任务队列中还未处理的定时器任务。
这样,在销毁定时器和相关数据后,不会因为程序还在运行定时器任务,操作了相关数据而导致的内存访问越界问题。

github.com/lc-soft/LCUI - 5968cf03958b6204d4600d5f209b8de28162204a authored about 11 years ago by Liu Chao <[email protected]>
移除Check_Option函数

github.com/lc-soft/LCUI - f433bfac31dcf6d9112d05fdb796272d5b5fde04 authored about 11 years ago by Liu Chao <[email protected]>