大头
Table_bottom

标签云
Table_bottom

分类
Table_bottom

日历
二月
28293031123
45678910
11121314151617
18192021222324
252627282912
Table_bottom

评论
Table_bottom

留言
Table_bottom

微博
Table_bottom

热门文章
Table_bottom

随机文章
Table_bottom

豆瓣上谁关注这里
Table_bottom

链接
Table_bottom

搜索栏
Table_bottom

RSS
RSS Link
Table_bottom

功能
Table_bottom

页面
Table_bottom

计数器
464633
Table_bottom

访客统计
Table_bottom

存档
Table_bottom

后续变更

loveisbug posted @ 2009年8月07日 17:08 in 工作 with tags 重构 , 1884 阅读

这次重构里遗留了一些不好的行为,首要问题就是两个bar不同前景色的依赖关系。因此再次调整接口参数。

增加的4个参数中两个不变:1)位置大小,2)text的颜色。
另两个由3)bar的前景色,4)bar的背景色 变更为两个bar的结构指针。bar结构描述了bar的前景色和背景色。

这个变更去掉了依赖关系,但是大大增加了代码体积。

代码体积永远是心病。


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter