Commit Graph

191 Commits

Author SHA1 Message Date
Michael R Sweet
13ae564f03 Add color definitions for "dark red", etc.
Change "text" and "selecion" methods to return char *, not const char *,
since they return a changeable copy of the text.

Add range checking to style lookup in Fl_Text_Display.

Add syntax hilighting to editor example.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-09 13:35:49 +00:00
Michael R Sweet
c651bc29a3 filechooser.gif is gone, long live Fl_File_Chooser.jpg...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-07 17:23:37 +00:00
Michael R Sweet
c1fe08471c filechooser.gif is gone, long live Fl_File_Chooser.jpg.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-07 17:21:43 +00:00
Michael R Sweet
861ad9769b New file chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-07 15:06:32 +00:00
Michael R Sweet
085eccc439 Spelling error...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-30 12:12:44 +00:00
Michael R Sweet
62424b33c5 Update docos to describe int/float settings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-25 12:17:18 +00:00
Michael R Sweet
6fb964c36e Add -sgi_version,sgi1.1 to the IRIX DSO command.
Add Fl_Shared_Image.html to the list of HTML files to install.

Change C++ command to C in src/flstring.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-19 17:44:56 +00:00
Matthias Melcher
dc5fa8454c Fl_Preferences: fixed delete/free confusion, updated docu and sample on buffer size issue (buffer needs to allow for additional byte for trailing zero)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-17 21:17:05 +00:00
Michael R Sweet
8b6acd43eb Fix tooltip documentation (too much & quoting... :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 21:05:14 +00:00
Bill Spitzak
80d05eb962 Updated tooltip documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 14:01:38 +00:00
Michael R Sweet
e2084610ad Fix link errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-10 15:42:44 +00:00
Michael R Sweet
c56bb65a97 Add documentation for readonly() and input_type().
Fix "make distclean" so that it removes all of the library files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-08 12:44:52 +00:00
Michael R Sweet
b010bc55c4 Add sort function to file chooser.
Document sort function and label strings for chooser.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 15:24:34 +00:00
Michael R Sweet
ae0a956f2e Add sort function as optional argument to Fl_File_Browser::load().
Add docos for sort functions and changes to fl_filename_list() and
Fl_File_Browser::load().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 14:31:10 +00:00
Michael R Sweet
a237472c70 Update fl_filename_list() to accept a sort function to use, and export
fl_alphasort, fl_casealphasort, fl_casenumericsort, and fl_numericsort.

Still need to document this and provide hooks in the file chooser and
browsers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 11:11:01 +00:00
Matthias Melcher
508a9abbc8 Update some FLUID documentation, no snapshots though.
Tiny bug in fluid.cxx that would still show the wrong
message if it was unable to load a file from the history.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 04:23:33 +00:00
Michael R Sweet
94a9fb879f Fix backspace "bug" in file chooser - now treat delete and backspace the
same, eliminating any filename completion value.

Added relative argument to fl_file_chooser() and fl_dir_chooser(); both
default to 0 (return absolute paths)

Give focus to the filename field in the chooser when show() is called.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-01 12:41:21 +00:00
Michael R Sweet
f58d0e15d7 Add docos for Fl_File_Input.
Add Fl_Preferences to docos.

Update screenshot for file chooser.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-01 00:55:45 +00:00
Matthias Melcher
adb6fc4eeb added binary support and procedural names to
Fl_Preferences, updated FLUID, update documentation.

Attempted to strip all Win32 CR.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-30 22:25:18 +00:00
Michael R Sweet
44bb5f60de Add Fl_Preferences class to base library.
Add FLTK_DATADIR definition to config.h for system-wide configuration
data.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-28 16:41:17 +00:00
Michael R Sweet
b3f01efb17 Add note about images in menu items.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-26 10:33:03 +00:00
Michael R Sweet
c90c981570 Add -g option to fltk-config.
Fix NULL filename bug in fl_file_chooser().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-24 12:14:57 +00:00
Michael R Sweet
8d187b30e5 Actually use the MEDIA option when generating PS and PDF docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-20 21:07:18 +00:00
Michael R Sweet
74942d0537 Fix links in docos...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-19 11:53:40 +00:00
Michael R Sweet
7e8ec10e6d Add missing docos for Fl_Progress.
Add Fl_File_Chooser::directory_label, filename_label, and filter_label
static string pointers for labels (allows for I18N of the file chooser).

Fix typos in other docos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2098 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-18 20:37:29 +00:00
Michael R Sweet
9ca9171e7a Fl_Text_Buffer docos.
Reformat function reference (still need to add rest of drawing
functions...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-18 19:10:56 +00:00
Michael R Sweet
989b0cd372 Update changelog.
Add missing methods to Fl_Valuator docos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 12:14:27 +00:00
Michael R Sweet
8e3cdc0ac1 Propagate events from the tooltip window to the widget we are tooltipping
for...

Add "tooltips" resource for default state of tooltips.

Fix another tooltip cycling problem.

Fix default help and argument processing (didn't have the right min
chars for matching, and didn't list new options)

Update docos to list new tooltip resource and list of standard arguments.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-14 02:43:48 +00:00
Michael R Sweet
dc355ebb54 Add Fl::dnd_text_ops() methods.
Fl_Input now conditionally supports DND out via run-time option.

Fl_Input now clears selection if you click inside the selection when
DND is turned on.

Added support for scheme, dndTextOps, and visibleFocus resources under
X11.

Documented all X resources supported under X11...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-13 22:17:46 +00:00
Michael R Sweet
7482426735 Make Fl_Output a subclass of Fl_Input, and add input_type and readonly
methods/constants to support Fl_Output as a special case of Fl_Input
(you can do everything but change the text in Fl_Output...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-11 11:52:43 +00:00
Michael R Sweet
ef36be385e Redefine FL_ color values to use the color cube.
Add FL_BACKGROUND_COLOR, FL_BACKGROUND2_COLOR, and FL_FOREGROUND_COLOR,
and use them instead of FL_GRAY, FL_WHITE, and FL_BLACK, respectively.
(FL_GRAY defined to FL_BACKGROUND_COLOR for back-compatibility)

Add fl_rgb_color(uchar g) inline method to map 8-bit grayscale to
24-bit RGB color.

Doco updates for all of this...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-11 10:46:19 +00:00
Michael R Sweet
126def8800 Update docos for all configure options.
Bump version numbers to 1.1.0b13.

Need to include <config.h> (via "flstring.h") in src/Fl.cxx to
get Fl_Window::hide() to call fl_destroy_xft_draw()...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2066 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 16:26:33 +00:00
Michael R Sweet
4586bf0fcc Tooltip fixes: ignore keyboard events, immediately disable new tooltips,
show tooltips for box widgets.

Add docos for Fl_Widget::tooltip() methods.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 17:20:24 +00:00
Michael R Sweet
17374b20bb Update fl_beep() to use the PC speaker for FL_BEEP_DEFAULT.
Add docos for fl_beep...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 09:38:15 +00:00
Michael R Sweet
ed45695bf5 Add Fl_BMP_Image.html to list of HTML files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2055 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-03 22:46:04 +00:00
Michael R Sweet
14e6251b80 More HTML fixed from Alexander.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-27 12:40:59 +00:00
Michael R Sweet
ba95cce4a8 Fix HTML errors...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 18:51:07 +00:00
Michael R Sweet
6c796f88c7 Rename all remaining functions that don't start with fl_ to
fl_foo. (filename_xyz becomes fl_filename_xyz, down becomes
fl_down, define_FL_PLASTIC_BOX becomes fl_define_FL_PLASTIC_BOX,
etc.)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:08:42 +00:00
Michael R Sweet
37a6529627 Update migration docos for 1.1.x.
Reupdate the 2.0 documentation, which MUST be processed by HTMLDOC for
the web site...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 18:30:16 +00:00
Michael R Sweet
1d451aada0 Finish changes to FLUID chapter...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-24 21:51:32 +00:00
Michael R Sweet
e07da88179 Doco updates for 1.1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-24 17:26:00 +00:00
Michael R Sweet
285dd4020e Working on the FLUID chapter, to do a new FLTK 1.1.0 beta release...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-22 22:40:10 +00:00
Michael R Sweet
da2e0f27de Remove unused images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-02 15:35:40 +00:00
Matthias Melcher
9f3e38fb4d Updated OSIssues documentation for Mac
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-27 18:31:54 +00:00
Matthias Melcher
7a6ed8c941 - added DDrag'N'Drop support for MacOS
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-26 00:34:55 +00:00
Matthias Melcher
2cde58f966 Update documentation to contain DND stuff.
I am missing a decent Linux machine. Could someone please check
if DND works smoothly on those machines?

Just run the 'Input' test and mark and drag text out of the
text widgets into another app. Then drag'n'drop text into the FLTK
widgets. Finally drag text from one widget into another widget
within the same FLTK app.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1972 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-24 21:09:51 +00:00
Michael R Sweet
50274f8d85 Update copyright in FLUID "about" window.
Update fltk-config to support all C++ file extensions.

Make background of FLTK logo transparent.

Disable overlays if the scheme is set.

Fix table cell formatting in Fl_Help_View.  Still need to resolve an
issue with column widths vs. table widths.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-20 13:02:27 +00:00
Michael R Sweet
71f9afb6cb Use +O2 for compiler on HP-UX.
Show where we are installing.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1961 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-15 18:15:46 +00:00
Michael R Sweet
b31ff32ee9 More link fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-13 21:26:04 +00:00
Michael R Sweet
af16ba7e8b Fix links in FLTK docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-13 03:33:53 +00:00