Manolo Gouy
1a9b72429e
Improved how the system-dependent global variable fl_gc is declared
...
with or without declaring the FL_INTERNALS preprocessor variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Ian MacArthur
fef14a7a58
Fix trivial documentation discrepancy in Fl_Round_Button
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
28c559aa3f
Added missing declaration of the fl_find() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Greg Ercolano
0fbe0257ab
Fixed problem with Fl_Table::add() as per thread on fltk.general
...
entitled "Fl_Table::add() doesn't work properly?"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Greg Ercolano
4f4a8fc3c7
Modifications to all LGPL headers for STR #2685 .
...
(to clarify static exception LGPL by changing license references)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Greg Ercolano
6fa9df7e90
Fixing STR #2679 ; Fl_Table makes use of FLTK's Fl::scrollbar_size() global.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
258949918c
Added reference to print_window() to the doc of the Fl_Printer class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
b95f1c40bb
Corrected typo in Doxygen data.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
75c9d386fa
Fix STR #2657 : repaired indentation error in fluid-output code.
...
Also changed copyright year to 2011.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
7feb5a9dfe
Added "Show hidden files" check button to the file chooser panel.
...
This had been previously done in r.8282 and r.8286 without accounting for
the existence of the Fl_File_Chooser.fl file. With this commit, files
Fl_File_Chooser.{cxx, H} are properly generated by Fl_File_Chooser.fl
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8785 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
b87078e02d
Fix STR #2656 : removed compilation warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
9846e7879c
Fix constructors for VC++ DLL builds (STR #2645 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
0c8f264df0
Add FL_EXPORT to several classes to fix MS VC++ dll builds (STR #2632 ).
...
Remove FL_EXPORT from fl_clip_region() since this is an inline function
on all platforms (and issued a warning when building fltkdll with MS VC++).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
ea020f0081
Fix STR #2640 : Fl::w() and Fl::h() are documented to return the width and height of the
...
main screen's work area (system-occupied space excluded); Fl::screen_xywh() functions
instead compute the full width and height of a screen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8724 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
8a03632e25
Documentation updates.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
2a9d1e7bec
Fix STR #2638 . The X11 part is simplified as suggested by Bill.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
fce1e80ee3
Fix potential crash in fl_xid() on Linux (STR #2635 ). This would
...
crash if called when a window is not shown().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
b87a0b7390
Added missing FL_EXPORT class declarations.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
bcdf4a4be1
Mac OS: simplified by removing Fl_X::contains_GL_subwindow() function.
...
This operation is now performed within Fl_cocoa.mm
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Greg Ercolano
6871a6512a
Fl_Tree mods for handling escaped item menu names.
...
Docs clarified.
Also, tree-simple example's callback handler brought up to date.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
3b76848435
Documentation updates, also fixing STR #2574 , trying to make clear
...
which events invisible and inactive widgets can get.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
06e17886ed
Documentation fixes and a few indent corrections.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
65b9610a96
Mac OS: exact implementation of the Fl::screen_dpi() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
08b93ec972
Reverted changes done in svn r 7788 for STR #2420 ("Tab-Navigation focuses
...
non-active_r() widgets"). This must be investigated further, and if necessary,
solved differently. STR #2420 will be reopened...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
9ff9cf1230
Added Fl_Paged_Device::print_window() to print a window with its title bar and frame.
...
Added Fl_Window::decorated_w() and Fl_Window::decorated_h() that return the size
of a window with its title bar and frame.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
3f984b0b86
Corrected typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Ian MacArthur
be6df55717
More attempts to clean up WIN32 handling of UTF16 surrogate pairs.
...
In particular, I have added a new function to src/fl_utf.c called fl_ucs_to_Utf16() which
converts a single 32-bit Unicode value into one (or more) UTF16 cells.
This is needed in the win32 char-by-char text width() logic, and I suspect may also be useful in the OSX code in some places.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
0c02f2dabd
Added Fl_Printer::driver(void) function that can be useful.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
265f213d23
Added function Fl_Printer::set_current() that may be useful.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
281489f849
Documentation updates and typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
c6fb27e56d
Mac OS: added field subwindow to Fl_X class that is true if this is a subwindow.
...
Useful when deleting a window because subwindows share their xid with their parent
window (unlike under MSWIn or Xlib), so subwindows should not delete their xid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
385b40988d
Fixed Fl_Device destructor (made it virtual). This eliminates the compiler
...
"warning: 'class Fl_Device' has virtual functions but non-virtual destructor"
on Mac OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
1366cc68d3
PostScript support: simplified the Fl_PostScript_Graphics_Driver class by removing the
...
draw_scaled_image(_mono)() member functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
80fffdc369
Set member functions draw_scaled_image(_mono)() of class Fl_PostScript_Graphics_Driver
...
private.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
dfc067ecfc
Fix STR #2587 : under Xlib, the X input method must be reset by the Fl::compose_reset() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
7aa48e19b9
Fix STR #2575 : use the screen that intersects most of the window when made fullscreen.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
160a0ee461
Improved the Doxygen documentation of Enumerations.H. Not finished yet.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
5185932f5b
Mac OS: modified the Doxygen doc of the fl_mac_os_version global variable
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
f7d7eff7ad
STR 2580: Fl::add_fd() now calls fl_open_display() because that is necessary for the fd event
...
to be recovered by the event loop. Before main() is called, only fl_mac_os_version is
initialized.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
1a4fd8ecc3
The Mac OS Fl_Display_Device constructor now calls fl_open_display(). Thus, all
...
Mac-specific initializations will be done even before main() is started.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
10a07138b8
Fixed two doc typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Albrecht Schlosser
94e5f2e1fc
Un-inlined Fl_Window::icon() methods to make them easier to extend w/o
...
breaking the ABI. See discussion in STR #2563 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
27987c6ee0
Made struct matrix a subclass of Fl_Graphics_Device class to avoid collision
...
with application-defined names.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Manolo Gouy
d8822aa74a
Fl_Device: removed class_name(char *) member function and set class_name(void) virtual.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
14 years ago
Fabien Costantini
c7fff91435
Fixed FL_EXPORT missing would fail MSVS builds.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
15 years ago
Greg Ercolano
723fe666cf
Document NULL item behavior, small code mods for same.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
15 years ago
Manolo Gouy
f5f0cf9908
Added scale(), translate(), and rotate() functions to the Fl_Graphics_Driver class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
15 years ago
Manolo Gouy
199b32d921
Added virtual width(), height(), descent() and text_extents() functions to the Fl_Graphics_Driver
...
class to prepare for the future definition of graphics drivers that fully deal with text measurement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8442 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
15 years ago
Albrecht Schlosser
2c129b4833
Added a default window title function for common dialogs (STR #2562 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
15 years ago
Greg Ercolano
d0d159d17d
Selection color fixes, widget screenshot added to top of docs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
15 years ago