Commit Graph

1133 Commits

Author SHA1 Message Date
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
Greg Ercolano
8116b1d6cb Improved docs for Fl_RGB_Image() ctor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-13 13:13:40 +00:00
Manolo Gouy
2e2e637c2f Added declaration of fl_decode_uri(char*) to filename.H.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-10 09:38:29 +00:00
Greg Ercolano
df5c8cc76f Fixed some keynav problems:
No focus, hitting down would skip first item
    Enter key to toggle was falling through to other widgets
    Removing an item that has focus clears item focus (to prevent wild ptr)

Added new methods:
	Fl_Tree::get_item_focus()
	Fl_Tree::first_visible()
	Fl_Tree::last_visible()
	Fl_Tree::is_vscroll_visible()

Simplified + fixed Fl_Tree_Item::next_displayed()

Fixed Fl_Tree_Item::visible_r(), was skipping item if it was a closed branch.

tree demo: fixed button ordering for "Test Suggestions" button



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-29 13:34:39 +00:00
Greg Ercolano
b547a4f5dc Fixed doc typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-28 15:39:12 +00:00
Greg Ercolano
34716f86a0 Added three methods and dox to Fl_Tooltip:
margin_width()	-- controls margins around tooltip's text
	margin_height()	-- controls margins above and below tooltip's text
	wrap_width()	-- controls maximum width of text before wordwrapping is enforced

These are read-only for the current release, 
and read/write as an ABI feature.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-16 23:19:37 +00:00
Greg Ercolano
f9d8abbf7b o Added color() methods to get/set color of input field.
o ABI feature: change input and up/down buttons from 'private' to 'protected'



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-16 07:25:11 +00:00
Greg Ercolano
7e66b6ee3c Added screenshot for Fl_Spinner docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-11 12:12:00 +00:00
Greg Ercolano
31f320e2c6 o Added new 0xffffffff 'transparent' color behavior for the item's bg color;
with this as the default color, Fl_Tree::color() can control the tree's background.
  Tests added to the test/tree application.

o test/tree.fl modified:
    o Added a 'Test Suggestions' button to document various tests
    o Added tests for new 'transparent' color behavior
    o Added test for STR#2832 to check if items can be drawn to the /right/ of child widgets

o Added new methods to Fl_Tree_Prefs:
    item_labelfont()     -- obsoletes labelfont()
    item_labelsize()     -- obsoletes labelsize()
    item_labelfgcolor()  -- obsoletes labelfgcolor()
    item_labelbgcolor()  -- obsoletes labelbgcolor()

o Added 'Fonts and Colors' section to Fl_Tree docs

o Fl_Tree_Item ABI feature added: using bitflags instead of chars
  to keep the class small, as it gets instanced a lot. (fast + LIGHT)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-09 21:26:32 +00:00
Greg Ercolano
ebf71d633b Documentation improvements:
o Added fl_text_extents() to the 'Drawing things in FLTK' section
	o Added 'see also' sections to all the text measuring functions in that section
	o Added detail to fl_text_extents() docs regarding it not handling FLTK symbols,
	  as non-public comment for that method indicates.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-08 16:15:34 +00:00
Manolo Gouy
547fc0a3f0 Added Fl_Graphics_Driver::vertex_no(), vertices() and vextex_kind() accessor functions useful
to implement some virtual functions of new graphics drivers.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-02 13:44:52 +00:00
Manolo Gouy
1229ac8808 Fix STR#2831: regression in Fl_Pixmap drawing under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-01 14:33:30 +00:00
Greg Ercolano
165cd2b63b Fixes STR#2832; support labels on tree child widget()s.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-30 17:14:15 +00:00
Greg Ercolano
474feee1db o Added FL_TREE_ITEM_HEIGHT_FROM_WIDGET option to item_draw_mode()
to allow widgets to control the size of items in the tree
  (instead of vice versa).

o Added item_draw_mode(int) to allow for easier bitflag maintenance,
  since enums don't seem to be typesafe yet.

o Tree demo modified to demonstrate this feature.
  An important feature for adding large widgets to tree items.
  Will probably add an example, 'tree-of-tables' to demo this usage.

o Small doc fixes.

o Had to rename FL_TREE_ITEM_DRAW_WIDGET_ONLY to FL_TREE_ITEM_DRAW_DEFAULT.
  Its meaning for the bit fields changed when new bit fields were added.
  (The prev name just didn't make sense in the new context. Since it was
  just a few svn commits old and an unreleased ABI feature, it shouldn't
  affect anyone not in R&D)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9404 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-27 02:03:48 +00:00
Greg Ercolano
bb8f51ea1a Fixes STR #2796
Prevent situations where user finds themselves scrolled past bottom of tree.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9400 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 04:45:03 +00:00
Fabien Costantini
d90b170c8d Fixed more warnings in VC2010 32+64 bits builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9395 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 03:34:26 +00:00
Matthias Melcher
e2d3d400cd Reverted flags in Fl_Widget to protected.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9388 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-23 20:12:06 +00:00