MyGUI #define Conventions

nikki

13-08-2008 05:37:02

Hello!

I think it would be better if you add 'MYGUI_' before your #defines, becaue its causing clashes with other libraries. For example, in 'MyGUIMacros.h':-
#define DEFAULT ((int)-1)
Is causing problems with OgreAL because it does this:-
enum AudioFormat
{
DEFAULT,
MONO_CHANNEL,
STEREO_CHANNEL,
QUAD_CHANNEL,
MULTI_CHANNEL_51,
MULTI_CHANNEL_61,
MULTI_CHANNEL_71
};

Altren

14-08-2008 13:55:37

Sorry, we'll fix this soon.

Altren

19-08-2008 15:49:27

Done

nikki

21-08-2008 16:21:10

Good! MyGUI is already my favourite GUI library (even more than the 'real' widget toolkits like GTK+ and all), and its getting better and better! :)

Probably I'll contribute some skins one day. :roll:

my.name

21-08-2008 20:23:14

=)