Commit Graph

1249 Commits

Author SHA1 Message Date
Greg Ercolano
7382173223 Solves STR #1895 by making the recalc method and structure
protected (accessible to derived widgets).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-15 15:23:33 +00:00
Pierre Ossman
de2e11d743 Stop declaring fl_default_cursor as it no longer exists.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30 09:40:33 +00:00
Manolo Gouy
da5dff32ea Sets the return type of Fl_Image_Surface::image() to its real value, Fl_RGB_Image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-18 01:22:16 +00:00
Pierre Ossman
f58b1a91b3 Add ability to set custom icons for windows. STR #2816.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 11:39:32 +00:00
Pierre Ossman
332dc1b7ac Add method to set any custom cursor, based on a Fl_RGB_Image object.
Also change our fallback cursors to use this method, so that fallback
cursors are handled in a platform independent manner. STR #2660.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 11:17:57 +00:00
Pierre Ossman
ed7983f5b5 Add ability to convert a Fl_Pixmap into a Fl_RGB_Image.
This is very convenient as a lot of other functions only accept
a Fl_RGB_Image. Adding this functionality also required a bit
of spring cleaning in the the drawing routines. STR #2659.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-12 13:28:04 +00:00
Pierre Ossman
0cfc2554c6 Support for full screen over multiple monitors.
The API follows that of EWMH, which gives you a good control
over which monitors to use.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-11 09:10:53 +00:00
Manolo Gouy
baebff2227 STR #3088: make Fl_Native_File_Chooser use the standard GTK file dialog when available.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-07 12:01:59 +00:00
Manolo Gouy
44a1407ba2 Improved documentation of enum Fl_Native_File_Chooser::Option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10178 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-31 08:22:34 +00:00
Manolo Gouy
b8cc8eb48d Reset file header and footer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 16:21:46 +00:00
Manolo Gouy
423ef813f0 Removed compilation warning of signed/unsigned comparison.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 17:03:08 +00:00
Manolo Gouy
07dd8ba328 Added copy/paste from/to FLTK applications of graphical data.
Added Fl_Image_Surface class to draw into an Fl_Image object.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:47:21 +00:00
Manolo Gouy
85af2efe09 Simpler definition of the fl_create_offscreen() macro on the X11 platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10158 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:00:25 +00:00
Greg Ercolano
1b1f02a365 Fix STR #3086, missing virtual dtor when ABI >= 10303.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-22 15:38:27 +00:00
Greg Ercolano
46521bf437 Implements STR #2621: Add line numbers to Fl_Text_Display.
Applied LZA's patch and included some mods to address TODO items and ABI issues.

Also update CREDITS with LZA and a few other notably absent names.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 06:56:59 +00:00
Fabien Costantini
54b0123eab Added a new portable sleep API(ABI compatible). Now features a flexible multi-usage sleep() api accepting decimals, msleep() for millisecs only, usleep() for microsecs. Updated Makefiles, cmakefiles, vs2008, vs2010 with the new Fl_sleep add-on. Documented new API. still needs to be added in Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:10:12 +00:00
Greg Ercolano
ebef1faf26 Hmm, reverted some of my doc changes in r10134 -- could swear the option
in question also affected widget focus in a broader way, but apparently not..



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10136 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-29 07:48:46 +00:00
Greg Ercolano
3a14af20b3 Small doc modifications to clarify Fl::OPTION_ARROW_FOCUS
and interrelate docs for Fl_Input_::tab_nav().



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-29 02:56:34 +00:00
Manolo Gouy
6c92cc9a8d Fix STR#3063: compilation using Mac OS 10.4
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 13:57:09 +00:00
Greg Ercolano
a973a183a7 Added docs to Fl_Tabs as per STR#1174, and some doc improvements.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-23 17:36:59 +00:00
Greg Ercolano
c5d5ba1cf5 Applying the etorres gleam patch. STR #2672.
TODO: Xcode 4 ide needs fl_gleam.cxx added
      Test of Visual Studio IDE mods (which were hand-modified)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-25 04:24:41 +00:00
Manolo Gouy
56ac442c93 Better separate printer-specific code using virtual Fl_GDI_Printer_Graphics_Driver::draw(Fl_Bitmap*...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-22 14:51:50 +00:00
Manolo Gouy
e43bf8a1b2 Completed the implementation of Fl_Sys_Menu_Bar that now accepts all calls of its parent class Fl_Menu_.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-11 17:59:20 +00:00
Manolo Gouy
f4e2292f80 Added some missing Doxygen comments in the Fl_Sys_Menu_Bar class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-11 13:55:42 +00:00
Manolo Gouy
b01cbd577b Improvement of the Fl_Sys_Menu_Bar class in relation to STR #3047:
- menu shortcuts, including function keys, are correctly handled
- the mac system menus and FLTK menus share Fl_Menu_Item's, thus 
many member functions of the parent Fl_Menu_ class apply equally
to an Fl_Sys_Menu_Bar.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-10 22:24:27 +00:00
Albrecht Schlosser
df2a448ee3 Clarify docs of Fl_Widget::measure_label().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-08 01:10:44 +00:00
Albrecht Schlosser
a6a51c1444 Rename Fl::scheme_is() to Fl::is_scheme().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-31 21:51:53 +00:00
Greg Ercolano
1ba5c254f5 More Fl_Tree doc improvements.
Only docs changed here, no code changed..
one method's definition moved to match similar method organization.

Some redundant docs (for const vs. non-const) changed
by referring the non-const method to the const one, to reduce size.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-24 19:03:15 +00:00
Albrecht Schlosser
ea23ff1b63 Small documentation fixups.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10076 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-21 14:00:43 +00:00
Albrecht Schlosser
1aba94f136 New method Fl::scheme_is(const char *name).
This is a convenience method to support easier implementation of
scheme-specific code in draw() methods and elsewhere.

Also improved Fl::scheme(const char *name) documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10075 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-21 13:29:15 +00:00
Greg Ercolano
abdc834705 o Added draw_item_content() to Fl_Tree_Item,
a volatile method that can be overridden by
  subclasses to take drawing control of tree item's content.

  This replaces the old "item_draw_callback()" technique
  added a few months ago as an ABI feature; turned out the
  new technique is a better way to go.

o The examples/tree-custom-draw-items.cxx demo adjusted
  accordingly.

o Added missing docs for some methods that had none,
  including label_[xywh]().

o Added related methods needed to implement this, including:
  	Fl_Tree_Item_Array::replace()
  	Fl_Tree_Item::replace()
	Fl_Tree::root(item)
        Fl_Tree::add() variations
	Fl_Tree_Item::drawbgcolor()/drawfgcolor()


o Carefully worked the FLTK_ABI_VERSION macros so as to be
  ABI compatible with 1.3.0.

o Verified 1.3.0 ABI compatibility with ABI Compliance Checker 1.99.8.5:
  http://ispras.linuxbase.org/index.php/ABI_compliance_checker




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10071 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-20 21:23:24 +00:00
Manolo Gouy
a170c95787 Better way to force linking of Fl_Gl_Device_Plugin.o whenever Fl_Gl_Window.o is linked,
that doesn't use the "volatile" attribute (suggested by Albrecht).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-16 15:38:06 +00:00
Greg Ercolano
b849a1d2d9 ABI fixes.
These are problems "ABI Compliance Checker" found with the recent
Fl_Tree mods.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-16 00:58:58 +00:00
Manolo Gouy
86f2214b28 Fix the issue reported in "Fl_Sys_Menu's add method throws errors" of fltk.general
(http://www.fltk.org/newsgroups.php?s29083+gfltk.general+v29086)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10056 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-14 10:27:16 +00:00
Albrecht Schlosser
49e4b8e3fa Fix clang support on Win64 (STR #3027).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-11 13:02:25 +00:00
Manolo Gouy
e543d2c763 Cleaner definition under Mac OS of the fl_default_cursor global variable that doesn't hide its type.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-07 15:31:28 +00:00
Albrecht Schlosser
8e30fc438c Made Fl_Help_View::handle() public and Fl_Help_View::draw() protected
to enable inheritance and for consistency (STR #2834).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-30 14:18:18 +00:00
Greg Ercolano
d36882e67e Adds horizontal scrollbar to Fl_Tree as an ABI 1.3.3 feature.
***************************************************************
NOTE: You MUST uncomment the FLTK_ABI_VERSION in Enumerations.H
      to use these changes.
***************************************************************

Also: separated tree size calculation from draw() code,
so that one can cause the tree to recalculate immediately
after making modifications to the tree by calling Fl_Tree::calc_tree().

Numerous improvements to docs for the tree as well, enough
to create a rather large diff.

Large internal changes were needed to do this properly.
The following was added to the CHANGES file:

	- Fl_Tree: various related changes:
	    o Added horizontal scrollbar
	    o Separated draw() and tree size calculation
	    o Added new public methods:
	        > resize()           -- uses optimized dim calc, avoids tree recalc
		> next_item()        -- added parameters: direction, visibility
		> extend_selection() -- added parameters, improved algorithm
		> calc_dimensions()  -- calc tix/y/w/h, tox/y/w/h and scrollbars
		> calc_tree()        -- calc tree_w/tree_h
		> recalc_tree()      -- schedules calc_tree()
		> first_visible_item(), last_visible_item(), next_visible_item()
		> first_selected_item(), last_selected_item(), next_selected_item()
	    o Added protected variables:
	        > _tix/y/w/h      -- tree widget 'inner' dimension
		> _tox/y/w/h      -- tree widget 'outer' dimension
		> _tree_w,_tree_h -- entire tree hierarchy width/height
	    o Deprecated:
	        > item_clicked() -- use callback_item() instead
		> first_visible() -- use first_visible_item() instead
		> last_visible() -- use last_visible_item() instead

	- Fl_Tree_Item: various related changes:
	    o Added Fl_Tree ptr: needed for auto-recalc when item modified directly
	    o Added new methods tree(), recalc_tree()
	    o Added new ctor that accepts Fl_Tree*
	    o draw() parameters changed to include tree size calculations
	    o Deprecated:
	       > ctor using Fl_Tree_Prefs parameter (Fl_Tree* version better,
	         and must be used for 1.3.3 ABI features to work correctly)
	       > next_displayed() -- use next_visible() instead
	       > prev_displayed() -- use prev_visible() instead

	- test/tree: added tests for newly added features




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-15 18:59:02 +00:00
Greg Ercolano
88cea3c82d o Added Fl_Tree::item_draw_callback(), letting one define a custom draw function for Fl_Tree_Item's.
o Added examples/tree-custom-draw-items.cxx to demonstrate its use.
o Fixed small doc error for recent Fl_Tree::get_selected_items()



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-10 04:33:44 +00:00
Greg Ercolano
33ab9cfed1 Fl_Tree:
o Added new method Fl_Tree::get_selected_items()
	o Modified Fl_Tree_Item_Array to usable in a general way (i.e. beyond Fl_Tree's internal use)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-06 20:44:47 +00:00
Manolo Gouy
1ad6b09de7 Fix mac-specific STR#2999. Use PostScript font name to ask the system for a font, and full font name
to display a font name.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-29 12:46:51 +00:00
Manolo Gouy
83e4329695 Added member function Fl_Sys_Menu_Bar::update().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-05 15:20:18 +00:00
Manolo Gouy
dc2f7ba034 Document the fl_sys_menu_bar global Mac OS-specific variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-05 15:06:39 +00:00
Manolo Gouy
ce0e298a8a Removed some of the warnings mentioned in [fltk.coredev] New warnings with FLTK 1.3.x svn r9991
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-25 08:55:01 +00:00
Greg Ercolano
497570c4fc STR# 2973: removing ABI guard as per fltk.coredev discussion on Sep 21 - 23
with Manolo (Subject: ABI question)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-23 20:26:54 +00:00
Greg Ercolano
5d4fed1ef9 STR #2860: Mods for full screen support.
Applied the fltk-1.3.x-screen_num.patch



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-22 02:33:17 +00:00
Greg Ercolano
2082d7e197 Fixes STR# 2973: collection of Sun compiler fixes.
Applied str_2973_r9979_sun-fix-warnings-7.patch (with small mods)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 16:41:23 +00:00
Greg Ercolano
67ed1a8da9 STR# #2973: applied patch str_2973_r9958_sun-fix-errors-5.patch verbatim.
src/Fl_Tree_Item.cxx -- solve: "Fl_Tree_Item.cxx",    line 614: Error: Initializing int& requires an lvalue.
    FL/Fl_Preferences.H  -- solve: "FL/Fl_Preferences.H", line 196: Error: Fl_Preferences::RootNode is not accessible from 0
    FL/Fl_Tree_Item.H    -- solve: "Fl_Tree_Item.cxx",    line 614: Error: Initializing int& requires an lvalue.
    test/unittests.cxx   -- solve: "unittests.cxx",        line 95: Error: The type "UnitTest*[]" is incomplete.
            


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-16 20:25:14 +00:00
Greg Ercolano
4e6779bc49 Added code example for ossman's new add_clipboard_notify(),
and updated CHANGES.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-13 22:57:30 +00:00
Pierre Ossman
1d6cc80d59 STR 2636. Add ability to get notifications whenever the
clipboard changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-11 12:54:40 +00:00
Manolo Gouy
eaa6084f9a Prevent unwanted classes IActiveIMMApp and XUtf8FontStruct from appearing in Doxygen doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9958 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-02 15:05:58 +00:00
Greg Ercolano
3e96dfe855 Small doc typo fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9956 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-12 15:46:57 +00:00
Greg Ercolano
1b4a5a1d96 Small edits to last commit for clarity.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-05 18:21:58 +00:00
Greg Ercolano
a00dd72b8f Elaborate on Fl_Tab's transparent region (behind and to the right of tabs),
and some example code on how to keep tab heights constant. (Thanks to Ian MacArthur's post on fltk.general)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-05 18:05:44 +00:00
Greg Ercolano
0aba84051a Include code examples for use of path form of fl_arc()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-22 12:01:11 +00:00
Ian MacArthur
ed04fc6774 Attempt to fix UTF8 encoding of WIN32 Native File Chooser BROWSE_DIRECTORY options
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-06 12:11:08 +00:00
Greg Ercolano
406a22487f Adding simple access to input widget's selection_color()..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-16 05:02:18 +00:00
Manolo Gouy
6b69461ea9 Renamed src/Fl_Sys_Menu_Bar.cxx to src/Fl_Sys_Menu_Bar.mm because objective-c code is used.
Some code is transferred from Fl_cocoa.mm thus reducing somewhat this very large source file.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16 14:02:42 +00:00
Greg Ercolano
9fc45db999 As per notes from STR#2948:
Moved top_window_offset() to being a member of Fl_Widget (was Fl_Window)
    and moved its code near implementations of top_window() and window().



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 21:16:16 +00:00
Greg Ercolano
3fe3f24427 Solve STR#2948: Add new method Fl_Widget::top_window() to return the widget's top-level window.
Docs for existing Fl_Widget::window() revised to clarify the difference between these two methods.

Docs for window() also moved from .H -> .cxx as per CMP (docs should be where code implementation is).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 20:51:24 +00:00
Greg Ercolano
936f01be5c While suggesting a new top_window() method for STR#2948,
it's realized that for consistency, the recently added window_offset() method
(a few days ago) should be renamed to top_window_offset().



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 20:13:12 +00:00
Greg Ercolano
6bcd9390f8 Solves STR #2939; adding when() support to Fl_Tabs.
Also added a general Fl_Tabs code example to the docs.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08 20:18:40 +00:00
Greg Ercolano
d5404dea25 Fix for STR #2944 [2]: Fix Apple-specifc nested window problem for Fl_Gl_Window's.
Added new method Fl_Widget::window_offset(x,y)
		       to access the top-level window offset of the current widget.

		       Open to alternative names for the new method.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08 18:24:17 +00:00
Greg Ercolano
ba0c61b961 Small color documentation clarification/improvements:
o Added some references to the FLTK colormap diagram in obvious places (Fl_Color docs)
    o Added info regarding the 'reserved' colors
    o Added quotes to clarify RGBI description: "RGB" and "I"



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-02 16:47:57 +00:00
Greg Ercolano
ee0af8c6a7 Documenting the public methods Fl_Tabs::push()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29 03:37:04 +00:00
Greg Ercolano
2aefc1f60c Added docs for undocumented public 'which()' method.
Added a \todo marker for undocumented public 'push()' method.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-26 01:55:01 +00:00
Greg Ercolano
65aefad242 Expanded docs for Fl_Browser_ to define the supported
keyboard navigation behavior.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 21:24:18 +00:00
Greg Ercolano
ff6dc202ae Small doc fixes for new tab_cell_nav() methods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 08:14:08 +00:00
Greg Ercolano
81c20e30a4 o Added tab_cell_nav() method to control Tab/Shift-Tab navigation of table cells.
o Added move_cursor(R,C,shiftflag). Needed allow Shift-Tab not to create a reverse selection.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 07:55:09 +00:00
Manolo Gouy
3e7386137e Introduced new Fl_Native_File_Chooser option USE_FILTER_EXT.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-19 15:19:58 +00:00
Manolo Gouy
914e7f9b09 Mac OS text input: removed the Fl::marked_text_length() function that's not necessary.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-08 11:58:19 +00:00
Manolo Gouy
b22744aac0 Mac OS text input: a single FL_KEYBOARD event is now sent when processing dead keys.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-02 15:46:00 +00:00
Manolo Gouy
49f8a3cfc9 Fix STR#2928: alt+e on US keyboard not processed correctly as shortcut on Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-28 21:05:29 +00:00
Manolo Gouy
834c714f26 Mac OS: added support for internationalization of the application menu.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-25 16:28:49 +00:00
Manolo Gouy
482c4a5e0a Mac OS: added support for the text input feature introduced in OS 10.7 "Lion" where pressing and holding
some key opens a window with possible accented characters. This feature is used by the Fl_Input_ and
Fl_Text_Editor widgets. User-defined text input widgets can optionally use this feature, but the default
behavior is to not use it. Fl_Secret_Input turns it off, for example.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-13 15:25:37 +00:00
Manolo Gouy
d879e4b2e8 Added support for JIS (Japanese) keyboards under Mac OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-26 19:44:56 +00:00
Manolo Gouy
cf672dba0d Mac OS text input: defined a small API that user-defined text editing widgets can use to signal marked text.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-24 11:45:07 +00:00
Manolo Gouy
46abc078b4 Mac OS: improved text input support with visible display of marked text in text widgets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-17 17:44:15 +00:00
Manolo Gouy
466cf80f6f Properly Doxygen-comment fl_beep() and the associated enumeration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-11 17:06:41 +00:00
Manolo Gouy
6432f87743 Set to version 1.3.2
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9742 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-09 18:45:57 +00:00
Manolo Gouy
dc65e2f3fa Fixed warnings with Doxygen 1.8
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-09 17:45:24 +00:00
Greg Ercolano
c853380472 Continued fix for STR#2889
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-23 20:07:22 +00:00
Manolo Gouy
674b2475b9 Documentation: repair some instances of documented functions that did not appear in the index.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 14:45:42 +00:00
Manolo Gouy
cff8941836 Fix STR#2881: the new static function Fl_RGB_Image::max_size(size) allows to control the maximum
memory size allowed when creating an Fl_RGB_Image.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-09 16:02:08 +00:00
Matthias Melcher
8701434312 Upgrade version number to 1.3.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 21:13:54 +00:00
Matthias Melcher
78039ecb55 Replaced 10302 with 10301 for FLTK_ABI_VERSION
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 20:46:14 +00:00
Manolo Gouy
00ed897277 Documented the fl_open() utility function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-19 11:23:51 +00:00
Manolo Gouy
406bafecc6 Documented the fl_fopen() utility function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-19 09:23:05 +00:00
Manolo Gouy
702b452540 Fix STR#2857: screen_xywh() mouse pointer functions may initially return wrong data.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-18 12:56:31 +00:00
Manolo Gouy
74496aa2cc Removed several deprecation warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-27 12:49:39 +00:00
Manolo Gouy
e59cab29d3 More accurate documentation of when the PostScript graphics driver uses vectorial fonts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-20 11:23:38 +00:00
Greg Ercolano
9ddc9f70a8 Changed example code to make widths[] array static, as per
problems reported in fltk.general thread on or around 09/12/12 ("Subject: Fl_Browser columns")..



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-17 22:44:54 +00:00
Manolo Gouy
5fab123cd1 Corrected typo in doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-17 09:18:06 +00:00
Manolo Gouy
fdb8fdfb2a Mac OS X: don't use the HAVE_SCANDIR_POSIX preprocessor variable because it has an
OS version-dependent value.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-14 09:23:22 +00:00
Manolo Gouy
bf6024175d Fixed compilation under Mac OS X 10.8 "Mountain Lion".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-01 08:43:20 +00:00
Greg Ercolano
71a2e6dd32 Doc fixes for resize() and fullscreen_off():
added variable names to prototypes so doxygen will doc them properly.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-26 00:40:37 +00:00
Greg Ercolano
dd966cb135 Doc fixes for Fl_Window::size_range().
Fixes STR#2863.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-26 00:30:25 +00:00
Matthias Melcher
398acd9c2a STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24 04:37:22 +00:00
Greg Ercolano
e607c90877 Added docs to Fl_Sys_Menu_Bar to refer to fl_mac_set_about().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-23 15:31:38 +00:00
Greg Ercolano
adf9aff218 Removed errant D=0 docs that were not relevant to Fl_RGB_Image (thanks manolo).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-13 17:47:03 +00:00