NCF参数化建筑论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 15490|回复: 5
打印 上一主题 下一主题

[在线求助] button 問題(急求解答 拜託了禮拜四之前)

[复制链接]
1m
发表于 2011-3-9 05:26:47 | 显示全部楼层
改这样就可以了,不知道是不是你想要的效果 botton botton1 = new botton(150,300,20,20); botton botton2 = new botton(300,300,20,20); botton botton3 = new botton(200,300,20,20); void setup() { size(400,400); smooth(); background(255); } void draw() { botton1.drawbotton(); botton1.mousePressed(); botton1.mouseReleased(); botton1.mouseMoved(); botton2.drawbotton(); botton2.mousePressed(); botton2.mouseReleased(); botton2.mouseMoved(); botton3.drawbotton(); botton3.mousePressed(); botton3.mouseReleased(); botton3.mouseMoved(); }

小黑屋|手机版|NCF参数化建筑论坛 ( 浙ICP备2020044100号-2 )    辽公网安备21021102000973号

GMT+8, 2024-5-7 04:23 , Processed in 0.119007 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表