This is an example of how to use and create a basic GUI. This example shows how to initialize a GUI class with methods for painting and mouse interractions and attributes.
#include "../c.library.h"
{
    
    
    
    
    
    
    
{
    
    
    
    
    
    
    
    
    if(c)
    {
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        bang_class = c;
        
        bang_sym_background_layer = 
gensym(
"background_layer");
 
    }
}
{
    
    
    
    
    if(x && d)
    {
        
        
        
        
        
        
        
        
        
    }
     
    return (x);
}
{
    
    
}
{
    
    
    
    
    
}
{
    
    newrect->
width = pd_clip_min(newrect->
width, 15.);
 
    
    if((
int)newrect->
width % 2 == 0)
 
    if((
int)newrect->
height % 2 == 0)
 
}
{
    float size;
    
    
    
    
    
    if(g)
    {
        
        
        
        {
        }
        else
        {
        }
        
        
        
    }
    
    
}
{
    
    
    
    
    if(senders)
    {
        
        
    }
    
    
    
}
{
    
    
    
}
{
    
}
{
    
}
{
    
    
    
}