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

« back to all changes in this revision

Viewing changes to test/fullscreen.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2007-02-21 16:56:13 UTC
  • mfrom: (2.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20070221165613-tgsyru29aprq97yj
Tags: 1.1.7-3
* debian/po/pt.po: new (European) Portuguese translation for
  libfltk1.1-dev, courtesy of Pedro Ribeiro <p.m42.ribeiro@gmail.com>.
  (Closes: #410733.)
* Declare (preexisting) compliance with Standards-Version: 3.7.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
 
// "$Id: fullscreen.cxx,v 1.4.2.3.2.3 2004/04/11 04:39:01 easysw Exp $"
 
2
// "$Id: fullscreen.cxx 4666 2005-11-28 15:35:18Z matt $"
3
3
//
4
4
// Fullscreen test program for the Fast Light Tool Kit (FLTK).
5
5
//
34
34
// can avoid this by making the Fl_Gl_Window a child of a normal
35
35
// window.
36
36
//
37
 
// Copyright 1998-2004 by Bill Spitzak and others.
 
37
// Copyright 1998-2005 by Bill Spitzak and others.
38
38
//
39
39
// This library is free software; you can redistribute it and/or
40
40
// modify it under the terms of the GNU Library General Public
51
51
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
52
52
// USA.
53
53
//
54
 
// Please report all bugs and problems to "fltk-bugs@fltk.org".
 
54
// Please report all bugs and problems on the following page:
 
55
//
 
56
//     http://www.fltk.org/str.php
55
57
//
56
58
 
57
 
#include <config.h>
 
59
#include "config.h"
58
60
#include <FL/Fl.H>
59
61
#include <FL/Fl_Single_Window.H>
60
62
#include <FL/Fl_Hor_Slider.H>
142
144
  Fl_Window *w = (Fl_Window *)p;
143
145
  int d = ((Fl_Button *)o)->value();
144
146
  w->border(d);
 
147
#if defined(WIN32) || defined(__APPLE__)
 
148
  int wx = w->x(), wy = w->y();
 
149
  w->hide(); w->show();
 
150
  w->position(wx, wy);
 
151
#endif
145
152
}
146
153
 
147
154
int px,py,pw,ph;
240
247
}
241
248
 
242
249
//
243
 
// End of "$Id: fullscreen.cxx,v 1.4.2.3.2.3 2004/04/11 04:39:01 easysw Exp $".
 
250
// End of "$Id: fullscreen.cxx 4666 2005-11-28 15:35:18Z matt $".
244
251
//