summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-04-01Fix STR #2598 with OP patch.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01Mac OS: fixes in STR #2588 the warning message "_createMenuRef called with ↵Manolo Gouy
existing principal MenuRef already associated with menu". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30Mac OS: Make the Fl::event_key() function distinguish between left and right ↵Manolo Gouy
modifier keys. Also, don't rebuild the application menu if one is already there. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30Documentation updates and typos.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30Removed global variable appleMenu.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29Fix STR #2588. FLTK was subclassing a very important system-defined class ↵Manolo Gouy
NSApplication. This created conflict with other libraries that do the same. This STR reports that Tcl/Tk is one such library. The fix removes any NSApplication subclass usage in FLTK, and requires to initialize the NSApplication-subclassing library before calling fl_open_display(). In this condition an FLTK application can also use an NSApplication-subclassing library such as Tk. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29Added info about where to find Mac OS virtual keycodes.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29Set svn properties.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29Minor change.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-28Mac OS: simplified the handling of text input:Manolo Gouy
use the FLTextView subclass of NSTextView only for Mac OS < 10.5 because it's not necessary for Mac OS >= 10.5 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-28Mac OS: added field subwindow to Fl_X class that is true if this is a subwindow.Manolo Gouy
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
2011-03-27Enhanced documentation of Fl::event_inside() to mention the restrictionsAlbrecht Schlosser
WRT subwindows and when using the window itself as the widget argument. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-26Mac OS: added gl_texture_reset() function to be called when deleting an ↵Manolo Gouy
Fl_Gl_Window git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-26Mac OS: Fixed bug where gl_draw() would fail after deletion of an Fl_GL_Window.Manolo Gouy
The fix invalidates the pile of string textures after each Fl_Gl_Window deletion. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25Fix STR #2595. Mac OS. When deleting a subwindow, don't delete the Cocoa window Manolo Gouy
(xid) attached to it because it is in fact the Cocoa window of its parent window. I check that by making sure that none of the windows in the window list uses this Cocoa window. Is there a better algorithm ? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25Fix 2nd issue of STR #2594: Fl::focus() now informs Mac OS when the focus Manolo Gouy
changes window. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25Fl::focus(): allows the focus to be set to an Fl_Window widget.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25Mac OS: implement the Cocoa equivalent of Carbon's kEventWindowHidden handler.Manolo Gouy
Positive effect visible with the clock demo. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-24Fix STR #2594: the focus after creating a new window was not set correctlyManolo Gouy
because some code present in Fl_mac.cxx was not reflected in Fl_cocoa.mm. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22PostScript support: simplified the Fl_PostScript_Graphics_Driver class by ↵Manolo Gouy
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
2011-03-22Mac OS: correct handling of fl_draw_image() call with L > W*D when printing.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-21Fix STR #2587: under Xlib, the X input method must be reset by the ↵Manolo Gouy
Fl::compose_reset() function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-20Fix STR #2589: incorrect cohabitation of modal and non-modal windows.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-12Fix STR #2575: use the screen that intersects most of the window when made ↵Manolo Gouy
fullscreen. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04Mac OS: modified the definition of the fl_mac_os_version global variable to ↵Manolo Gouy
allow v 10.10.10 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-02Changed copyright year to 2011Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-01STR 2580: the first Fl::add_timeout() call now calls fl_open_display() ↵Manolo Gouy
because that is necessary for timeout events to be recovered by the event loop. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-01STR 2580: Fl::add_fd() now calls fl_open_display() because that is necessary ↵Manolo Gouy
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
2011-02-28The got_events global variable is now updated when an event is processed by ↵Manolo Gouy
do_queued_events git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-26Suppress warnings in fl_init_xim. Only the very first warning messageAlbrecht Schlosser
will be issued (STR #2578). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-25Removed extraneous '\n' from Fl::warning() calls in src/Fl_x.cxx.Albrecht Schlosser
Note: '\n' is added in the default Fl::warning() handler function and should not be in the format string. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-25Un-inlined Fl_Window::icon() methods to make them easier to extend w/oAlbrecht Schlosser
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
2011-02-24Made struct matrix a subclass of Fl_Graphics_Device class to avoid collisionManolo Gouy
with application-defined names. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-24Mac OS only: allows to print a menu window.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-23Fl_Device: removed class_name(char *) member function and set ↵Manolo Gouy
class_name(void) virtual. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-23Fl_Text_Display: avoid blinking by painting the full widget background only ↵Manolo Gouy
to the printer. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-22Fl_Text_Display widget: added a call to paint all the widget area with its ↵Manolo Gouy
background color when it's fully redrawn, to avoid thin grey lines that appear when this widget is printed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-22Corrected typos.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-21Say goodbye to weird comctl32.lib link clause in vc20xx builds. Now embeds ↵Fabien Costantini
it if it is supported, so no need to specify more than fltk libs in new fltk projects ! Makes it similar to other platforms linkage options and will probably improve learning curve of fltk new users. Improvements could be implemented for even easier/transparent linkage (fltk libs, fltk dlls?) of fltk apps. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-21Removed inadequate use of fl_color() function.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-21Better horizontal positioning of right-to-left text.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-20Fix STR #2569 cont'd: put back MSWindows version of ↵Manolo Gouy
Fl_Native_File_Chooser::filters() that had been erroneously removed by r.8378 that merged include files (it was previously an inline function). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-20Fix STR #2569: put back Mac OS version of ↵Manolo Gouy
Fl_Native_File_Chooser::filter_value() and filters() that had been erroneously removed by r.8378 that merged include files (these were previously inline functions for Mac OS only). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8453 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-20Fl::set_fonts() under Mac OS: it seems that we want the full name rather ↵Manolo Gouy
than the PostScript name for each font. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-20Fl::set_fonts() under Mac OS: added missing delete statement.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-19Small mod for NULL behavior of show_item(item,yoff). (STR#2517)Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-19Document NULL item behavior, small code mods for same.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-19Fl::set_fonts() under Mac OS adds now all available fonts sorted in ↵Manolo Gouy
alphabetical order. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8447 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-19Fix STR #2564: X11 preferred font encoding should now be iso10646-1.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-19Fixed Fl_PostScript_Graphics_Driver::rtl_draw() that didn't work well under ↵Manolo Gouy
MSWindows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8445 ea41ed52-d2ee-0310-a9c1-e6b18d33e121