What does EGDC_COUNT mean???

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.
Post Reply
jl0206
Posts: 55
Joined: Mon Jun 07, 2004 4:56 am

What does EGDC_COUNT mean???

Post by jl0206 »

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 »

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 »

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 »

Ok thanks very much
Post Reply