test html validator plugin
test html validator plugin
(10 posts) (3 voices)-
Posted 2 years ago #
-
more code:
#import "CocosNode.h" #import "Camera.h" #import "Grid.h" #import "Scheduler.h" #import "ccMacros.h" #import "Director.h" #import "Support/CGPointExtension.h" #import "Support/ccArray.h" #import "Support/TransformUtils.h" @interface CocosNode (Private) -(void) step_: (ccTime) dt; // lazy allocs -(void) actionAlloc; -(void) childrenAlloc; -(void) timerAlloc; // helper that reorder a child -(void) insertChild:(CocosNode*)child z:(int)z; // used internally to alter the zOrder variable. DON'T call this method manually -(void) _setZOrder:(int) z; -(void) detachChild:(CocosNode *)child cleanup:(BOOL)doCleanup; @end @implementation CocosNode @synthesize visible; @synthesize parent, children; @synthesize grid; @synthesize zOrder; @synthesize tag; @synthesize vertexZ = vertexZ_; #pragma mark CocosNode - Transform related properties @synthesize rotation=rotation_, scaleX=scaleX_, scaleY=scaleY_, position=position_; @synthesize transformAnchor=transformAnchor_, relativeTransformAnchor=relativeTransformAnchor_; // getters synthesized, setters explicit -(void) setRotation: (float)newRotation { rotation_ = newRotation; isTransformDirty_ = isInverseDirty_ = YES; } -(void) setScaleX: (float)newScaleX { scaleX_ = newScaleX; isTransformDirty_ = isInverseDirty_ = YES; } -(void) setScaleY: (float)newScaleY { scaleY_ = newScaleY; isTransformDirty_ = isInverseDirty_ = YES; } -(void) setPosition: (CGPoint)newPosition { position_ = newPosition; isTransformDirty_ = isInverseDirty_ = YES; }Posted 2 years ago # -
code:
#import "CocosNode.h" #import "Camera.h" #import "Grid.h" #import "Scheduler.h" #import "ccMacros.h" #import "Director.h" #import "Support/CGPointExtension.h" #import "Support/ccArray.h" #import "Support/TransformUtils.h" @interface CocosNode (Private) -(void) step_: (ccTime) dt; // lazy allocs -(void) actionAlloc; -(void) childrenAlloc; -(void) timerAlloc; // helper that reorder a child -(void) insertChild:(CocosNode*)child z:(int)z; // used internally to alter the zOrder variable. DON'T call this method manually -(void) _setZOrder:(int) z; -(void) detachChild:(CocosNode *)child cleanup:(BOOL)doCleanup; @end @implementation CocosNode @synthesize visible; @synthesize parent, children; @synthesize grid; @synthesize zOrder; @synthesize tag; @synthesize vertexZ = vertexZ_; #pragma mark CocosNode - Transform related properties @synthesize rotation=rotation_, scaleX=scaleX_, scaleY=scaleY_, position=position_; @synthesize transformAnchor=transformAnchor_, relativeTransformAnchor=relativeTransformAnchor_; // getters synthesized, setters explicit -(void) setRotation: (float)newRotation { rotation_ = newRotation; isTransformDirty_ = isInverseDirty_ = YES; } -(void) setScaleX: (float)newScaleX { scaleX_ = newScaleX; isTransformDirty_ = isInverseDirty_ = YES; } -(void) setScaleY: (float)newScaleY { scaleY_ = newScaleY; isTransformDirty_ = isInverseDirty_ = YES; } -(void) setPosition: (CGPoint)newPosition { position_ = newPosition; isTransformDirty_ = isInverseDirty_ = YES; }Posted 2 years ago # -
images and code are working ok now
Posted 2 years ago # -
strong
- underline
Posted 2 years ago # -
blockquote klhj ljkh lkjh lkj
asdasda kljh lkjh lkh lkj hlkjh lkjh lkjh lkjh lkj hlkjh lkjh lkjh lkjh lkj hlkj hlkjh lkjh lkjh lkjh lkjhlkjhlkjh ljkh lk kjh lkh lkjh lkj lkjh lkj hlkj lkj lkj kljhlkhjlkjhlkjhlkjh lkjh lkj sdfPosted 2 years ago # -
em
- ul
- ol
- li
- em ul ol li
Posted 2 years ago # -
- item
- item2
- item3
Posted 2 years ago # -
Posted 2 years ago # -

seems to work
here's some backticked code testing:
//create the string of data for the sign depending on the existence of the seconnd line site name if (metData.SiteInfo.StationNameSecondLine == "") { stringData = string.Format("{0}" + newLineString + "Temp {1:0}" + DEGSTRING + "F" + temperatureTrendString + newLineString + "Wind {3:0}mph " + windDirectionStr + ((metData.SiteInfo.DisplayWindchill) ? newLineString + "Windchill {2:d}" + DEGSTRING + "F" : "") + newLineString + "Pres {4:0.0}" + inchesStr + "Hg" + pressureTrendString, metData.SiteInfo.StationNameFirstLine, metData.Temperature, (int)Math.Round(metData.WindChill), metData.WindSpeed, metData.Pressure); } else { stringData = string.Format("{0}" + newLineString + "{1}" + newLineString + "Temp {2:0}" + DEGSTRING + "F" + temperatureTrendString + newLineString + "Wind {4:0}mph " + windDirectionStr + ((metData.SiteInfo.DisplayWindchill) ? newLineString + "Windchill {3:d}" + DEGSTRING + "F" : "") + newLineString + "Pres {5:0.0}" + inchesStr + "Hg" + pressureTrendString, metData.SiteInfo.StationNameFirstLine, metData.SiteInfo.StationNameSecondLine, metData.Temperature, (int)Math.Round(metData.WindChill), metData.WindSpeed, metData.Pressure); }Posted 2 years ago #
Reply
You must log in to post.