Filler image class [ SOLVED ]

5 posts / 0 new
Last post
Massi
Massi's picture
Offline
Last seen: 4 years 7 months ago
Joined: 2012-03-28 17:16
Filler image class [ SOLVED ]

Hello,
in my Workbench application I need to display a bitmap theme (texture: metal, wood, ...) as a filling background for the GUI.
According to SDK 53.20 documentation, the filler image class (filler_ic.doc) seems to be there for the purpose, am I wrong? Any tips how to use it?

Thanks, regards

salass00
salass00's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 2011-02-03 11:27
@Massi I just put up a

@Massi

I just put up a simple test code I've written here:
https://dl.dropboxusercontent.com/u/26599983/fillertest.7z

Note that the scaled image modes are unimplemented and won't work in filler.image versions < 53.4.

Massi
Massi's picture
Offline
Last seen: 4 years 7 months ago
Joined: 2012-03-28 17:16
@salass00 Thanks! If I

@salass00

Thanks!

If I understand well, you basically add a filler.image object to a layout (LAYOUT_AddImage), or?

salass00
salass00's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 2011-02-03 11:27
That's what I did, but you

That's what I did, but you can basically use it anywhere that can take a BOOPSI image. F.e. you can use it as imagery in a button.gadget or speedbar button or even just draw it manually into a rastport using DrawImage()/DrawImageState().

Massi
Massi's picture
Offline
Last seen: 4 years 7 months ago
Joined: 2012-03-28 17:16
@salass00 Thanks, very

@salass00

Thanks, very clear, I got my answers.

Log in or register to post comments