Masking/Skinning Buttons
BlitzPlus Forums/BlitzPlus Beginners Area/Masking/Skinning Buttons
| ||
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) |
| ||
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. |
| ||
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 |
| ||
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. |
| ||
um how do you post a picture, I would like to show you a SS of what i'm doing |
| ||
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 |
| ||
![]() =\ TESTING failed |
| ||
TESTING again![]() |
| ||
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 |
| ||
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. |
| ||
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 |
| ||
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 |