赞 | 120 |
VIP | 13 |
好人卡 | 16 |
积分 | 193 |
经验 | 38692 |
最后登录 | 2024-5-22 |
在线时间 | 3075 小时 |
Lv4.逐梦者
- 梦石
- 0
- 星屑
- 19299
- 在线时间
- 3075 小时
- 注册时间
- 2013-1-11
- 帖子
- 1288
|
这个只要思考一下就也只需要两点,一个是把更新光标那里禁用掉,一个是绘制选项哪里改下颜色。
插入到 Window_TitleCommand 里面
- def draw_item(index)
- change_color(@index == index ? Color.new(0,0,0) : normal_color, command_enabled?(index))
- draw_text(item_rect_for_text(index), command_name(index), alignment)
- end
- def update_cursor; refresh; end
复制代码 |
评分
-
查看全部评分
|