首页 > REDM设计器教程 > REDM设计器教程7-增加Img,添加,删除prop属性
2016十月23

REDM设计器教程7-增加Img,添加,删除prop属性

[隐藏]

在前面的教程中,我们已经改变了主窗口的颜色,大小,并增加了一个gif控件

生成资源MyRes下载+qqbg.gif—>

MyRes.zip

qqbg.zip

我们再来增加一个button控件,用于右上角显示关闭按钮:它的大小为30*27(与状态图保持一致)

6.gif

—>坐标(-30,0,@30,@27)意为以父窗口(gif控件)的右边框为基准,左移30,以上边框为基准,下移0,宽30,高27

    

     

1.增加Img

REDM基础教程4-内置皮肤介绍 中我们知道,要创建一个皮肤,首先得增加一张图片到主题包中,gif不需要使用皮肤,但需要使用图片资源,

7.gif

我们把gif图片放在一个叫gif的img类型下,当然,我们也可以放在png的img类型下,只是可能感觉有点名称不匹配

4.png

  

   

2.添加,删除Prop属性

我们把gif控件的初始非客户区边框删除掉(ncmargin)去掉文字(text),然后加上刚刚加入的gif:qqbg(前缀gif表示img类型,就刚新建的,qqbg对应上图的name)图片,并调整gif的绘制为拉伸方式(badjust)

8.gif

注意,删除prop属性,是选中它,并按下delete键 

上面动画出现了一个警告弹框,是因为DM在debug版本下检测到gifskin的设置为空给出的提示,可以直接忽略

选中prop属性,下面会有相应的提示说明

8.png

在设置了gifskin时,clrbg会自动失效的,DM都是遵守先图片后颜色这样的绘制规则

   

   


   下一节教程: REDM设计器教程8-增加皮肤

   


文章作者:hgy413
本文地址:http://hgy413.com/3541.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!

30 Responses to “REDM设计器教程7-增加Img,添加,删除prop属性”

  1. #1 minecraft 回复 | 引用 Post:2018-10-04 10:22

    great put up, very informative. I’m wondering why
    the other experts of this sector don’t notice this. You must continue your writing.
    I’m sure, you have a huge readers’ base already!

  2. #2 minecraft 回复 | 引用 Post:2018-10-05 10:59

    Every weekend i used to pay a quick visit this site, because i want enjoyment, as this this site conations genuinely pleasant funny stuff too.

  3. Hi there to all, how is the whole thing, I think
    every one is getting more from this site, and your views are fastidious
    in support of new people.

  4. of course like your web-site but you have to take a look at the
    spelling on quite a few of your posts. Several of them are rife with spelling
    issues and I find it very bothersome to inform the reality nevertheless I
    will certainly come back again.

  5. #5 tinder dating site 回复 | 引用 Post:2018-10-17 17:02

    What i do not understood is in fact how you’re now not really a
    lot more smartly-liked than you may be now. You are very intelligent.
    You recognize therefore considerably in relation to this matter, made me in my opinion believe it from
    a lot of varied angles. Its like men and women aren’t fascinated except it’s
    something to do with Woman gaga! Your individual stuffs great.
    Always deal with it up!

  6. #6 Coconut Oil Benefits 回复 | 引用 Post:2018-10-19 10:47

    I am regular visitor, how are you everybody? This paragraph posted
    at this website is really fastidious.

  7. #7 Coconut Oil Benefits 回复 | 引用 Post:2018-10-28 22:35

    I’m not that much of a internet reader to be honest
    but your blogs really nice, keep it up! I’ll go ahead and
    bookmark your website to come back in the future. Many thanks

  8. #8 quest bars cheap 回复 | 引用 Post:2018-11-04 07:04

    whoah this blog is magnificent i love reading your articles.

    Stay up the good work! You understand, a lot of persons are hunting round for
    this information, you can help them greatly.

  9. #9 Sling TV 回复 | 引用 Post:2018-11-11 08:11

    Thanks for sharing your thoughts about Sling TV.
    Regards

  10. #10 Sling TV 回复 | 引用 Post:2018-11-14 00:03

    Pretty section of content. I just stumbled upon your
    website and in accession capital to assert that I acquire in fact enjoyed
    account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently quickly.

  11. #11 Sling TV 回复 | 引用 Post:2018-11-14 21:31

    Very nice post. I just stumbled upon your weblog and wished to
    say that I’ve truly enjoyed browsing your blog posts.
    In any case I will be subscribing for your rss feed and I’m hoping
    you write again very soon!

  12. Wow, this article is good, my sister is analyzing these kinds of things, thus I am going
    to inform her.

  13. Sling tv coupons and promo codes for november 2018
    Thanks for the marvelous posting! I certainly enjoyed reading it,
    you happen to be a great author.I will be sure
    to bookmark your blog and may come back from now on. I want to encourage one to continue your great writing, have a nice morning!
    Sling tv coupons and promo codes for november 2018

  14. Hey there, You have done a great job. I’ll definitely digg it and personally suggest to my
    friends. I am sure they’ll be benefited from this web site.

  15. #15 tinyurl.com 回复 | 引用 Post:2018-11-19 12:16

    Hi, i think that i saw you visited my website thus i came to go
    back the want?.I am attempting to to find things to enhance my website!I assume its
    adequate to make use of some of your concepts!!

  16. #16 descargar facebook 回复 | 引用 Post:2018-12-06 13:42

    Outstanding story there. What occurred after? Thanks!

  17. #17 minecraft 回复 | 引用 Post:2019-03-21 13:23

    Way cool! Some very valid points! I appreciate you writing this write-up plus the rest of the site is really
    good.

  18. #18 tinyurl.com 回复 | 引用 Post:2019-04-03 18:18

    I visited various web sites however the audio quality for audio songs current at this web page is genuinely
    fabulous.

  19. #19 minecraft 回复 | 引用 Post:2019-04-05 11:26

    Outstanding post however I was wanting to know if you could write a litte more on this topic?
    I’d be very grateful if you could elaborate a little bit more.

    Kudos!

  20. #20 minecraft 回复 | 引用 Post:2019-04-20 10:15

    Hi everyone, it’s my first visit at this site, and paragraph is
    really fruitful in favor of me, keep up posting these content.

  21. #21 gamefly free trial 回复 | 引用 Post:2019-05-01 04:01

    It’s difficult to find experienced people in this particular subject,
    but you sound like you know what you’re talking
    about! Thanks

  22. #22 gamefly free trial 回复 | 引用 Post:2019-05-01 04:13

    Hi there! This post couldn’t be written any better! Reading
    through this post reminds me of my previous room mate!
    He always kept chatting about this. I will forward this post to him.
    Pretty sure he will have a good read. Thank you for sharing!

  23. #23 gamefly 回复 | 引用 Post:2019-05-03 19:40

    Great goods from you, man. I’ve have in mind your stuff prior to and you’re simply extremely
    wonderful. I really like what you have acquired here, really like
    what you are stating and the way by which you say it. You make it enjoyable and you still take
    care of to keep it smart. I can not wait to read
    much more from you. This is actually a tremendous
    site.

  24. #24 gamefly free trial 回复 | 引用 Post:2019-05-05 21:34

    Definitely believe that which you stated. Your
    favorite reason seemed to be on the internet the easiest
    thing to be aware of. I say to you, I definitely get annoyed while people consider worries that they just
    do not know about. You managed to hit the nail upon the top and also defined out
    the whole thing without having side effect , people can take a signal.
    Will likely be back to get more. Thanks

  25. #25 minecraft download pc 回复 | 引用 Post:2019-05-06 11:08

    Thanks for sharing your thoughts about minecraft download
    free. Regards

  26. #26 g 回复 | 引用 Post:2019-05-13 02:15

    This paragraph presents clear idea for the new users of blogging,
    that actually how to do blogging and site-building.

  27. #27 minecraft free 回复 | 引用 Post:2019-05-14 03:42

    Your means of telling everything in this piece of writing is actually good, all be
    capable of without difficulty understand it, Thanks a lot.

  28. #28 download minecraft free 回复 | 引用 Post:2019-05-17 05:22

    Hmm is anyone else having problems with the images on this blog loading?
    I’m trying to find out if its a problem on my end or if it’s the blog.

    Any responses would be greatly appreciated.

  29. #29 gamefly free trial 回复 | 引用 Post:2019-05-31 20:59

    Spot on with this write-up, I actually believe that this site needs far more attention. I’ll probably be
    returning to see more, thanks for the info!

  30. I loved as much as you’ll receive carried out right here.
    The sketch is attractive, your authored material stylish.
    nonetheless, you command get bought an edginess over that you wish be delivering the following.
    unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this hike.

发表评论