Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Reskinning Blue GUI 2

Author
Message
Redmotion
22
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Mmm mmm.. Marmite
Posted: 22nd Sep 2006 17:36
Is it possible to reskin all the components/gedgets for Blue GUI 2 so that it doesn't look like windows xp and can fit in nicely with the look of my game?

BLACKMESA:SOURCE - mod for HL2 - Texture Artist
BIRTHSTAR:FRONTLINE - Texture & Environment Artist
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 22nd Sep 2006 17:47
Well, not completely, but it is possible to use this:

setGadgetShape
setGadgetShape handle gadget, str maskFile

Description:
Sets the shape of a gadget (ie. oval, rounded corners etc.). Normally all windows have a rectangular shape, but you can change this using setGadgetShape to any shape you wish. A mask file is used to determine which areas of the gadget should be made transparent and which should be opaque.

Or the color:
setGadgetColor
setGadgetColor handle gadget, color background, color text

Sets the background and text colour of gadgets which support custom-colours. The following gadgets currently support custom colours:

- Button
- Label
- Panel
- Edit
- RichEdit (background colour only)
- Checkbox
- RadioButton
- ListBox
- ComboBox

The colour values can be generated using the RGB() function.

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 1st Oct 2006 00:01
Alternatively you can draw your own gadgets using the canvas gadget type. This means that you can still get and handle events as with other BlueGUI gadgets and combine them with other supplied gadget types, but you control how they are drawn.


BlueGUI Windows Plugin

Login to post a reply

Server time is: 2025-05-17 16:46:11
Your offset time is: 2025-05-17 16:46:11