PDA

View Full Version : GCRect drawing object




swilker
Aug 6, 2011, 09:39 PM
:eek:
Please help.. I want to release a drawing object and or draw over it.. I have a popup with the drawing object in it. I made it by creating a class and then setting the popup to that class. The code in the class is:

- (id)initWithFrame:(CGRect)frame {
if (self = [super initWithFrame:frame]) {
// Initialization code
}
return self;
}

- (void)drawRect:(CGRect)rect {

//draw some stuff blah blah blah

}

I pass variables using a global delectation and the

extern float gPhy, gEmo, gInt;

When i release the popup and return change the globals the graph stays the same. Help!



Ashwood11
Aug 6, 2011, 09:49 PM
No codes permitted in this forum. Use the Code Sharing and Software Promos forum.