PDA

View Full Version : NULL object ?



PICTRIX
08-17-2008, 03:30 AM
May I judge the NULL object in number 0 of points of objects?



LWItemInfo *item;
LWObjectInfo *objinfo;

null_count = 0;
id = item->first( LWI_OBJECT, NULL );
while ( id ){
if ( objinfo->numPoints( id ) == 0 ){
null_count++;
}
id = item->next( id );
}



Does "null_count" count only the NULL object?

Jarno
08-17-2008, 11:27 PM
I believe that to be the correct method, yes.

---JvdL---

PICTRIX
08-18-2008, 01:13 AM
Jarno-san ,

I wish to express my gratitude for your answer.
It tries by this.
Thank you !

tyrot
08-18-2008, 02:05 AM
dear pictrix

im so happy that you are getting your hands dirty with layout finally :) expecting new gems from you..

best

PICTRIX
08-18-2008, 02:33 AM
Dear tyrot-san , ^^;