GLPaint change brush size
<p>I am new to iPhone application development and currently working on a simple paint application for iPhone. I use GLPaint source code to start with. I tried to change the brush size using the following ways. </p>

<p>I created a UIViewController class and linked it to GLPaint.PaintingView and added different buttons to indicate different brush size.</p>

<ol>
<li><p>Tried to dynamically pass images with different images. But initWithCoder was called only when the paint view loads and so the brush image @"Particle.png" is not getting changed</p></li>
<li><p>Tried extracting the logic in initWithCoder to another method that takes in brush string as parameter. So that I could call the extracted method while selecting a brush button. Since the brush buttons are in another View/Viewcontroller, the change in image is not applied.</p></li>
</ol>

<p>Is there any method to change the brush size just like "(void)setBrushColorWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue" that changes color?</p>

<p>Any help will be very much useful. Thank you.  </p>
