| 赞 | 1 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2015-1-15 |
| 在线时间 | 323 小时 |
- 梦石
- 0
- 星屑
- 55
- 在线时间
- 323 小时
- 注册时间
- 2010-8-21
- 回帖
- 638
|
发表于 2012-10-27 20:29:53
|
显示全部楼层
if item_32?
# 计算光标坐标
x = @index % @column_max * (cursor_width + 32)
y = @index / @column_max * 40 - self.oy
# 更新光标矩形
self.cursor_rect.set(x, y, cursor_width, 40)
else
x = @index % @column_max * (cursor_width + 32)
y = @index / @column_max * 32 - self.oy
# 更新光标矩形
self.cursor_rect.set(x, y, cursor_width, 32)
end
好奇lz是不是错了...希望lz和那位认不到的大叔不介意,挣点外快...
范例1111.7z
(195.37 KB, 下载次数: 68)
|
|