If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
jl0206
Posts: 55 Joined: Mon Jun 07, 2004 4:56 am
Post
by jl0206 » Tue Jun 15, 2004 1:48 pm
In the tutorials of user interface . I see the EGDC_COUNT , but the API doc don't explain what it is . Could you tell me!
jox
Bug Slayer
Posts: 726 Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany
Post
by jox » Tue Jun 15, 2004 1:58 pm
The amount of gui default colors like EGDC_3D_DARK_SHADOW, EGDC_3D_SHADOW, EGDC_3D_FACE etc.
EGDC stands for "Enumeration Gui Default Color"
See IGUISkin.h
Manakel
Post
by Manakel » Tue Jun 15, 2004 6:28 pm
It s a way of insuring up compatibility.
If you loop with EDGC_COUNT or use it when checking arguments in your code , your code will stay reusable even if some new GUI default color are added
jl0206
Posts: 55 Joined: Mon Jun 07, 2004 4:56 am
Post
by jl0206 » Wed Jun 16, 2004 11:20 am
Ok thanks very much