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

void UI::Panel::set_pos ( const Point  n  )  [inherited]

Move the panel. Panel's position is relative to the parent.

Definition at line 235 of file ui_panel.cc.

References UI::Panel::update().

Referenced by UI::Tab_Panel::add(), center_to_parent(), UI::Textarea::collapse(), UI::Textarea::expand(), UI::Panel::fit_inner(), handle_mousemove(), move_inside_parent(), move_to_mouse(), and UI::UniqueWindow::UniqueWindow().

      bool nd = _needdraw;
      update(0, 0, _w, _h);
      _x = n.x;
      _y = n.y;
      update(0, 0, _w, _h);
      _needdraw = nd;

Generated by  Doxygen 1.6.0   Back to index