Exemplo n.º 1
0
 virtual void on_mouse_button_up(int x, int y, unsigned flags)
 {
     if(m_quad1.on_mouse_button_up(x, y) ||
        m_quad2.on_mouse_button_up(x, y) )
     {
         force_redraw();
     }
 }
Exemplo n.º 2
0
 virtual void on_mouse_button_up(int x, int y, unsigned flags)
 {
     if(m_poly1.on_mouse_button_up(x, y))
     {
         force_redraw();
     }
     if(m_poly2.on_mouse_button_up(x, y))
     {
         force_redraw();
     }
 }