Coding Guidlines

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
ritz
Quite a regular
Quite a regular
Posts: 49
Joined: Wed Jan 12, 2005 12:06

Coding Guidlines

Postby ritz » Tue Nov 30, 2004 07:14

Hello,

I have seen following convention for member variables of CEGUI widgets.

Each member variable starts with d_, Where as coding guidlines document "OGRE Code Review HOWTO" says it should start with "m_".

Can any body please tell me why it is so.

Rgds
Ritz

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Coding Guidlines

Postby CrazyEddie » Tue Nov 30, 2004 11:37

Hi,

CEGUI is not part of Ogre. I use the d_ specification, and Sinbad uses m_; it's just a personal preference.

CE.

PS. This is more of a General Discussion topic. From next Monday I'm going to be much more strict about this...


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests