~ubuntu-branches/ubuntu/karmic/fltk1.1/karmic

« back to all changes in this revision

Viewing changes to fluid/Fl_Window_Type.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-05-22 13:57:06 UTC
  • mfrom: (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050522135706-mchag24yf42lu7bu
Tags: 1.1.6-5
* Revert previous change, which seems to have been ineffective for some
  reason, in favor of commenting out the problematic Makefile rule
  altogether.  (Closes: #310151.)
* debian/control: Go back to specifying the URL as part of the
  description rather than via a non-standard field that doesn't seem to
  have caught on.  (Closes: #310240.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
 
// "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.9 2004/04/11 04:38:56 easysw Exp $"
 
2
// "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.10 2004/11/20 15:42:24 easysw Exp $"
3
3
//
4
4
// Window type code for the Fast Light Tool Kit (FLTK).
5
5
//
527
527
extern Fl_Menu_Item Main_Menu[];
528
528
extern Fl_Menu_Item New_Menu[];
529
529
 
 
530
// Update the XYWH values in the widget panel...
 
531
static void update_xywh() {
 
532
  if (current_widget && current_widget->is_widget()) {
 
533
    widget_x_input->value(((Fl_Widget_Type *)current_widget)->o->x());
 
534
    widget_y_input->value(((Fl_Widget_Type *)current_widget)->o->y());
 
535
    widget_w_input->value(((Fl_Widget_Type *)current_widget)->o->w());
 
536
    widget_h_input->value(((Fl_Widget_Type *)current_widget)->o->h());
 
537
  }
 
538
}
 
539
 
530
540
// move the selected children according to current dx,dy,drag state:
531
541
void Fl_Window_Type::moveallchildren()
532
542
{
558
568
  ((Overlay_Window *)(this->o))->redraw_overlay();
559
569
  modflag = 1;
560
570
  dx = dy = 0;
 
571
 
 
572
  update_xywh();
561
573
}
562
574
 
563
575
int Fl_Window_Type::handle(int event) {
795
807
}
796
808
 
797
809
//
798
 
// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.9 2004/04/11 04:38:56 easysw Exp $".
 
810
// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.10 2004/11/20 15:42:24 easysw Exp $".
799
811
//