Logo Search packages:      
Sourcecode: widelands version File versions  Download package

void UI::Panel::set_handle_mouse ( bool  yes  )  [inherited]

Enable/Disable mouse handling by this panel Default is enabled. Note that when mouse handling is disabled, child panels don't receive mouse events either.

Args: yes true if the panel should receive mouse events

Definition at line 505 of file ui_panel.cc.

References UI::Panel::pf_handle_mouse.

Referenced by UI::Textarea::Textarea().

      if (yes)
            _flags |= pf_handle_mouse;
            _flags &= ~pf_handle_mouse;

Generated by  Doxygen 1.6.0   Back to index