游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3394|回复: 2

求教,有关cegui里ImageButton的用法

[复制链接]

3

主题

12

帖子

16

积分

新手上路

Rank: 1

积分
16
发表于 2007-9-24 03:08:00 | 显示全部楼层 |阅读模式
TaharezLook.looknfeel里对于ImageButton的定义里

       </Area>
                <ImageProperty name=&quotushedImage" />
                <VertFormatProperty name="VertImageFormatting" />
                <HorzFormatProperty name="HorzImageFormatting" />
            </ImageryComponent>
        </ImagerySection>
        

是什么意思?

如何才能让ImageButton显示图片?

4

主题

38

帖子

38

积分

注册会员

Rank: 2

积分
38
发表于 2007-9-24 11:24:00 | 显示全部楼层

Re:求教,有关cegui里ImageButton的用法

其实这些定义已经完整了
上面的属性照字面意思也可以看明白,我就不说了
关键是,ceguiediter里面不能加imagebutton的图片
只能在layouts里面,加代码,语法和staticimage一样

3

主题

53

帖子

104

积分

注册会员

Rank: 2

积分
104
发表于 2007-9-28 17:16:00 | 显示全部楼层

Re:求教,有关cegui里ImageButton的用法

NormalImage和PushedImage属性就是指明图片的
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-6-21 04:40

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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