Пример #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();
     }
 }
Пример #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();
     }
 }