赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 17925 |
最后登录 | 2016-7-19 |
在线时间 | 18 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 18 小时
- 注册时间
- 2008-5-16
- 帖子
- 280
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
- class Special_window < Window_Base
- def initialize
- super(0, 0, 200, 200)
- self.contents = Bitmap.new(width - 32, height - 32)
- refresh
- end
- def refresh
- self.contents.clear
- #---------------------------图片显示 ----------------------------
- bitmap=Bitmap.new("Graphics/Pictures/s.png")
- src_rect = Rect.new(0, 0, 100, 100) #——可自己调整大小
- self.contents.blt(0, y, bitmap, src_rect)
- #---------------------------图片显示 ----------------------------
- end
- end
复制代码
这是我定义的一个简单的窗口,
效果是这样的:
![]()
请问用什么方法把它从界面上去掉? 版务信息:本贴由楼主自主结贴~ |
|