Masking/Skinning Buttons

BlitzPlus Forums/BlitzPlus Beginners Area/Masking/Skinning Buttons

InvincibleWall(Posted 2010) [#1]
Is it possible to mask/skin a GUI button so that its not ugly and grey?
if so, how?


(hope thats enough info for an answer if its not please say so)


GaryV(Posted 2010) [#2]
Are you wanting it to just match the Windows theme? If so, a manifest file is what you want. Just save ti with a name that matches the name of the exe you compiled.


InvincibleWall(Posted 2010) [#3]
Um i'm not sure I understand that code, is it BlitzPlus or another version?

what I'm trying to do it use the gadget system buttons but be able to mask their grey color so I can replace it or replace it outright with a new image or color


GaryV(Posted 2010) [#4]
That is XML which is what Windows uses for manifest files. This is required if your want your app or game to take full advantage of the Malibu Barbie themes that Windows XP-7 uses.

If you are wanting to create your own GUI system, then you should look at the code archives or toolbox, there are some in there and it will be easy to change the graphics to suit your particular needs.


InvincibleWall(Posted 2010) [#5]
um how do you post a picture,

I would like to show you a SS of what i'm doing


Serpent(Posted 2010) [#6]
see the 'forum codes' link: Forum Codes

for an image you would use

you'll need to host the image on an image-hosting website or something first...

EDIT: failed img tag demonstration lol


InvincibleWall(Posted 2010) [#7]


=\ TESTING

failed


InvincibleWall(Posted 2010) [#8]
TESTING again




InvincibleWall(Posted 2010) [#9]
SUCCESS!!

anyway I created a window
then 4 buttons on the window
and then a canvas on the window

but I can't find anything that will change the look of those buttons
I would like to continue using the GUI buttons but if I can't change how they look I won't


PS: I'm very new at this so please try and explain in painfully specific detail


Sauer(Posted 2010) [#10]
If I recall correctly, B+ just takes what your default windows theme is for the buttons. If you want more elaborate buttons, you have to use a third-party GUI library or use a normal graphics window with images as buttons.

If I'm wrong someone will correct me but as far as I know there's no way to skin buttons with default B+ commands.


InvincibleWall(Posted 2010) [#11]
Thank you
That is what I thought too but was making sure I wasn't wasting my time creating image buttons when GUI could be changed


Stamm(Posted 2010) [#12]
I think you could also create the manifest for blitzcc.exe so it would work when testing it via runtime
Then if your program is finished you could create the manifest for your created exe, I think this should work

Aunty edith says it works for the blitzcc.exe

Last edited 2010