summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-12-01STR #1095: Drag'n'drop on WIN32 was only possible using the left mouse ↵Matthias Melcher
button. Added support for the middle and right button. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-01Added multi screen awareness to WIN32 version of Fl_Window::fullscreen()Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-29Fix mouse wheel handling on OSX (this works with MightyMouse on OSX 10.4.3Michael R Sweet
using the standard mouse wheel event...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-29Fix compile error with Sun C++ compiler.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-28STR #1064: Added code to underline spaces in underline chunks. Also fixed ↵Matthias Melcher
wrong character code for Center Dot (bulets) on Mac OS Quartz git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-28Even better fullscreen code on OS X that resize a window to fit a single ↵Matthias Melcher
screen in multi screen setups. It still will not position over the main menu bar. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-28STR #1082: Made sur that "fullscreen" on Mac does not cover the top menu ↵Matthias Melcher
bar. If you still must do that, you can use the screen interface to get the true screen size of the main screen and resize the window accordingly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-28STR ##1081, 1083, 1084: in a previous change that improved timer behaviour, ↵Matthias Melcher
the idle management was accidentaly removed from the code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-28STR #1075: After all windows in an application were hidden by the Command-H ↵Matthias Melcher
shortcut, FLTK would not be notified about the Command key beeing released. To fix this , I update the mofier keys when a window is shown again. There may be better ways to do this, but it seems to be working reliably for the apps I tested. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-28STR #1098: fl_measure now round fractional sizes up instead of down, so that ↵Matthias Melcher
an area that is create with the values returned from fl_measure will be large enough to hold the same text generated with fl_draw. Or in short: OS X Tooltips will not wrap... . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27Fix uninitialized variable warnings.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27Update dependencies.Michael R Sweet
Eliminate compiler warnings in Fl_GIF_Image.cxx. Add X11 icon code to sudoku example. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27VC++ 2005 Support, drop old files, add icons for SudokuMichael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27Fix a resize issue with X11.Michael R Sweet
Add missing Id keywords to input_choice. Add sudoku to demo program. Add on-line help to sudoku game, and put all of the cells in the main window so that the keyboard navigation is sane. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-26Mousewheel fixes.Michael R Sweet
src/Fl_mac.cxx: - Disable MightyMouse code for the moment - it is crashing on my PowerBook... src/Fl_Scrollbar.cxx: - Fl_Scrollbar::handle() should only return 1 for mousewheel events that it uses. test/sudoku.cxx: - More tweaking. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-25Fix mousewheel handler bug (using wrong variable in initial check)Michael R Sweet
Add sudoku game app (fun for the holidays! :) Use "-Os -g" as the default optimization settings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-25OSX fixes...Michael R Sweet
src/Fl.cxx: - Don't compile in static functions that aren't used. src/Fl_mac.cxx: - Coding style... src/Fl_Sys_Menu_Bar.cxx: - Fix FL_META handling - FL_META incorrectly set the CTRL modifier, and it was not possible to get all combos of modifiers. The new coding should work properly for all combos... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-09Fl_Text_Display::wrap_mode() would crash if no buffer wasMichael R Sweet
associated with the widget (STR #1069) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-07Resorted functions. VC6 did not give a required warning/errorMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-07Scrollbar now reacts to horizontal scroll wheels if it is a horizontal ↵Matthias Melcher
scroll bar. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-07Don't draw plastic boxes that are 0x0 pixels in size or smallerMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-07STR #1062: updated code to resize the preview panel of the file chooser and ↵Matthias Melcher
hide it entirely if unused git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-07STR #1063: Applied Allesandro's plastic box patch. Looking great.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-06Added missing comma in Mac OS X codeMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04Fix speling misteaks :)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04STR #1060: first attempt at fixing the dreaded MightyMouse issue on OS X. Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04Moved 'flush' before 'idle' in main loop fl_wait to make redraw action quicker.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04STR #1061: fixed Fl_Window::cursor for subwindows and GL windows on WIN32Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #1052: Made check buttons readable as wellMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #1052: Cursor in Fl_Text_Display is now by default FL_FOREGROUND_COLORMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #1052: Changed to dot inside the round check box (radio style buttons) ↵Matthias Melcher
to FL_FOREGROUND_COLOR git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #1052: The outline drawing of not existing images is now in foreground ↵Matthias Melcher
color instead of black git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #1052: reworked coloring of clocksMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #1052: using foreground color instead of black in Check BrowserMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #1050: OS X: The new event handler code did not handle "high level" ↵Matthias Melcher
Apple events except "Quit". Added the neccessary AE handler call in the main loop. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #1051: fl_wait() would only flush damaged window areas if there were any ↵Matthias Melcher
messages pending. Since FLTK does redraws even if there is no WM_PAINT pending, this was not working all the time. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02STR #968: Under X11, FL_DND_* now returns the string "<unknown>" inMatthias Melcher
Fl::event_text(). It seems to be impracticle and disturbing to the dnd process if we try to retreive DND data before the actual drop. I'll be happy to include a better solution should anyone come up with one, of course ;-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-01STR #1059: OSX: applications could not reset the click count, so a trippleMatthias Melcher
click with reset could be interpreted as a double click, then a tripple click, instead of double click, then a single click M Fl_mac.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-01STR #1057: A window that is needed to correctly manage a timer on WIN32 ↵Matthias Melcher
(personally, I would like to mark this WTF ;-), was actually visible. I resized it to 0x0 ixels, but if that fails, we fall back to the old 1x1 pixels. I also removed the "default" positioning since that messes up the default window stacking for pedantic users. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-01STR #1056: fixed a slight offset in the Fl_File_Chooser that kept resizing ↵Matthias Melcher
from working correctly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-30Updated the default label and text colors of all widgets to useMichael R Sweet
FL_FOREGROUND_COLOR instead of FL_BLACK (STR #1052) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-18STR #unfiled: when using Fl_Menu_::add, the 'flags' field of the last entry ↵Matthias Melcher
in a newly allocated local buffer would not be cleared. If the flag happened to be FL_SUBMENU, this would lead to crash in 'find_item'. The new code clears the entire field. And yes, this has cost me a few hours :-P git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-13Remove unnecessary includes ("flstring.h" is included by the parentMichael R Sweet
file and includes <string.h> and <ctype.h>...) Add changelog entry. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-13STR #1012 (Xft): added provided Xft code and cleaned itMatthias Melcher
up a little. Event though the author mentions a few flaws, this is far better than what we had in here before and makes the Xft support actually usable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-12Fl_Value_Input now uses the screen-absolute position instead ofMichael R Sweet
the window-relative position when dragging the value; this avoids some jumping conditions (STR #1037) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-12Rework event loop handling on all platforms for better timer and idleMichael R Sweet
processing (STR #861) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4589 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-10STR #1047 (Mac only): This is an additional fix to the event conversionMatthias Melcher
that I did to the Mac version a while ago. It makes the menus work as expected again. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-09STR #1044 (Mac only): The font number 12 and 15, usually assigned toMatthias Melcher
the fonts 'Symbol' and 'Webdings', are not translated from ISO to MacRoman anymore. This fixes the problem of not having the correct bullet in the Fl_Help Widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25Ported FLTK 2 changes to event system on OS X back to FLTK 1Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25STR #973: popup menus now pop up fully visible in the current screen if ↵Matthias Melcher
possible and useful. In detail, menus in a menubar will pop up above the title if they would cut into the screen bottom. Submenus will show the *last* item to the right of the parent instead of the first. Finally, Pulldowns with title will simply apppera over the title instead of under the title. There are two exceptions: Menus that have a selected item will not be modified, so the selected item is visible. Hence an Fl_Choice will never have a 'fixed' menu. If putting the menu high would intersect the top frame of the screen, we leave the menu at the bottom. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121