Commit Graph

658 Commits

Author SHA1 Message Date
Michael R Sweet
e532d183e4 The documentation for fl_xyline() showed the wrong prototypes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-22 15:32:33 +00:00
Michael R Sweet
8448f781be Doco updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 19:44:59 +00:00
Michael R Sweet
a11a31ff78 Range check Fl_Text_Buffer::search_forward().
Don't use png_read_destroy() - it doesn't free all memory.

Add uncache() method to image classes.

Memory/initialization bugs in Fl_File_Chooser (valgrind)

Make sure both Fl_Window constructors have default cursor initialization
code...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-05 17:50:25 +00:00
Michael R Sweet
9456baab50 Fix some problems with the filename field and handling selections in the
root directory (Fl_File_Chooser).

Add documentation for the fl_cursor() function.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 18:33:49 +00:00
Michael R Sweet
35308e5c22 Added Fl::get_boxtype() method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 14:57:02 +00:00
Michael R Sweet
d240b98ff6 Add missing color function documentation.
Fix Fl_Tabs document WRT coloring of the tabs and pane.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-25 12:46:12 +00:00
Michael R Sweet
d453884e0f Add wrap() method and bit for Fl_Input_, and make word wrap dependent
on this (wrap margin is the width of the widget less box borders)

Don't select the text in value() for a readonly() (output) field.

Display a caret instead of a vertical bar for the cursor in output fields.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-23 16:28:19 +00:00
Michael R Sweet
745cd4204a Make newButton and previewButton public, so that you can hide/disable them
as desired.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-23 15:14:17 +00:00
Michael R Sweet
57cef6a4bd Remove extra 3 pixel offset when the size is below a certain amount;
instead, use a constant +1 offset.

Add another bit to flags_, VISIBLE_FOCUS, which provides
per-widget keyboard focus control.  The default is for all
widgets to participate in keyboard focus navigation.  Use the
set_visible_focus(), clear_visible_focus(), and visible_focus()
methods on Fl_Widget to control this.

Clean up the Fl_Widget documentation and add missing stuff.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-23 15:07:33 +00:00
Michael R Sweet
3346a9fee7 Change the Fl_Group current, add, and remove methods so they are no longer
inline; this should make shared libraries work better on all platforms.

Link FLUID against shared libraries, too, so that the installed fluid is
also using shared libraries (still make a statically linked fluid for the
build)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:03:31 +00:00
Michael R Sweet
16046bf4dd Add Fl::remove_handler() method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 15:14:38 +00:00
Michael R Sweet
031fef8635 File chooser updates - ../ and ./ map properly, now show ".." in the
directory list, added custom filter stuff, added filter_value() methods.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-01 21:14:20 +00:00
Michael R Sweet
6a6e4ab66c Separate the extra image functions into fltk_images.
Add new fl_register_images() function to register the extra file formats
with Fl_Shared_Image.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:04:37 +00:00
Michael R Sweet
4a6299fbcc Add FLTK_1_0_COMPAT symbol for 1.0.x compatible names.
Document this in the migration appendix, and add a section on keyboard
focus.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-24 15:22:57 +00:00
Michael R Sweet
1f30c63d32 add_check() example was wrong.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-13 12:08:49 +00:00
Michael R Sweet
34e35db71f Prefer fl_push_clip() over fl_clip().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-11 20:58:12 +00:00
Michael R Sweet
c3cde61e98 Add documentation for using styles in text editor.
Add placeholder for style attributes - hidden + underlined - for
future use.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-09 18:28:49 +00:00
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
Michael R Sweet
a71a0d21b1 Fix link in preface...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-29 19:00:05 +00:00
Michael R Sweet
a721b4ad00 Doco and makefile updates from SGI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-15 02:17:19 +00:00
Michael R Sweet
5ec539b918 Doco fixes from Alexander.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-15 02:06:19 +00:00
Michael R Sweet
d725a22d43 Only build man pages by default in documentation directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-07 18:05:32 +00:00
Michael R Sweet
37154d08fe Add missing Fl_BMP_Image docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-07 15:29:45 +00:00
Michael R Sweet
e0bfbbd558 Add Fl_BMP_Image class and docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-06 17:51:12 +00:00
Michael R Sweet
2d6a98560e Doco and dist file updates.
Add fltk-config man page.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-06 13:40:32 +00:00
Michael R Sweet
64b4177ef4 Copyright updates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01 15:11:33 +00:00
Michael R Sweet
b7c23bc5e1 CVS ignore files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-21 15:37:39 +00:00
Michael R Sweet
a2e149d132 "make clean" should not delete makedepend, since we now track this
in CVS (makedepend contains local dependencies, not <stdio.h> and
so forth)...

The configure script didn't add -fpermissive or -fno-exceptions to
the CFLAGS and CXXFLAGS variables.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 19:23:32 +00:00
Michael R Sweet
8408e863de Fl_Help_View now ignores links when the link callback returns NULL, and
displays a sensible error message when the URI scheme isn't handled.

Fl_File_Icon no longer tries to load icon files that don't exist.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-17 14:27:03 +00:00
Michael R Sweet
40750fb352 Documentation makefile should be using --batch option, not list all
HTML files on a single line.

Fl_Wizard.html still had a title and background color.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-14 20:13:36 +00:00
Michael R Sweet
30f8cef212 Use correct image filename...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-13 17:12:35 +00:00
Michael R Sweet
cd9639c212 Update documentation screenshots (still have some to go...)
Cleanup some demos and the color chooser.

Restore code in Fl_Window::hotspot() to keep the window on the screen.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 21:33:34 +00:00
Michael R Sweet
a910371403 Documentation updates, mainly to fix typos, mark constants with TT, and
clean up the osissues.html file for all OS's.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 15:20:27 +00:00
Matthias Melcher
0ee1fb7b1b Added Carbon event handling for Mac OS X gaining support for the
Mose Wheel, Key Modifiers, etc. .
Added some documentation (please check: English is not my native
language)
Changed line pattern to look a little nicer.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 07:50:37 +00:00
Michael R Sweet
96d499704a Update paragraph 4 of the FLTK license exemptions; basically, justify/
explain the reason for specifying a program uses FLTK, and drop the
requirement for include the FLTK license...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 02:20:15 +00:00
Michael R Sweet
fdcdc8fd46 Multiple fixes from Sebastien.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-11 16:03:13 +00:00
Michael R Sweet
76affdbfd3 Add docos for the thread methods (awake, lock, thread_message, and unlock)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-08 21:24:07 +00:00
Michael R Sweet
3a0fe79164 Bug fixes and doco updates care of Sebastian.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-03 18:29:49 +00:00
Michael R Sweet
09daf20b81 Documentation updates galore (up to chapter 7, still need to do chapter
8 and 9, tweek the appendices, and recapture the screenshots...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 19:24:00 +00:00
Michael R Sweet
c78dcd55ec More doco updates.
Enable tooltips by default, and don't enable them when setting the
tooltip value, since that will negate any changes a program might
make when displaying the file chooser dialog, etc.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-28 20:43:44 +00:00
Michael R Sweet
d211b12af7 Add Fl::version() and Fl::event() methods.
Doco updates (use <!-- NEW PAGE --> instead of <HR break>, plus more
Fl_Text_Buffer docos)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-28 18:00:17 +00:00
Michael R Sweet
4dc5732a3e Image class docos.
Start of text buffer docos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 04:55:48 +00:00
Michael R Sweet
772f94ca1a More docos (many files just copied, so the content isn't right yet...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 02:09:45 +00:00
Michael R Sweet
372ec09b3d Add missing doco file...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-26 23:50:30 +00:00
Michael R Sweet
ecd2c821be Doco updates.
Remove unneeded files from the makefiles directory.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-26 21:40:14 +00:00
Michael R Sweet
e016a249b2 Add horizontal scrollbar to Fl_Help_View.
Tweek table "squeezing" code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-24 04:12:56 +00:00
Michael R Sweet
84e38d4d91 Move header installs to new FL/Makefile, which is generated by
configure.

Comment out symlink stuff for Cygwin, and (hopefully) soon for OSX, too.

Add uninstall targets where needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 21:25:35 +00:00
Michael R Sweet
13e7d76397 WIN32 fixes for the new image stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 20:59:59 +00:00
Michael R Sweet
8b5a03d3a2 More CygWin stuff, and a fix for WIN32 with the new fl_beep() function.
Add a new "migration" appendix to the FLTK manual.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-18 12:48:38 +00:00
Michael R Sweet
ab1e093308 Don't use -lsupc++ with gcc 2.96; just tried it on RH 7.2 and that
library isn't present or needed.

PNG image support updates for Fl_Help_View and Fl_File_Icon; didn't
handle transparency properly.

Support KDE 2.x icons.

Separate image/load_system_icons code from main Fl_File_Icon sources,
so that apps that don't use load_system_icons() won't need the image
libraries...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17 15:27:15 +00:00
Michael R Sweet
74bff0b300 Doco updates (more to come)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-05 01:07:34 +00:00
Michael R Sweet
68fb9f7910 Don't allow extra boxtypes to override user-defined boxtypes.
Change the help link function to get both the widget and pathname.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-27 03:29:25 +00:00
Michael R Sweet
d1605088ae "alldocs" target to build everything, including HTML...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-24 17:04:30 +00:00
Michael R Sweet
19518ebe35 Make Fl_Widget::parent() work with Fl_Group pointers...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-22 21:15:11 +00:00
Michael R Sweet
a6ffe9abc0 Fix the editor demo and associated documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-18 19:21:45 +00:00
Michael R Sweet
2c61d60470 Documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 20:25:36 +00:00
Michael R Sweet
6a4714ce12 Fl_FileXYZ -> Fl_File_XYZ
Fl_HelpXYZ -> Fl_Help_XYZ

Fl_File_Chooser now supports directory choosing.

Added fl_dir_chooser() function.

Now set FLTK_DOCDIR env var in test/demo.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 14:38:59 +00:00
Michael R Sweet
743cd4f95d HelpView/HelpDialog updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-10 03:09:43 +00:00
Michael R Sweet
9a528400f0 Doco updates.
Add directory-only support to Fl_FileBrowser.

Update button and menu drawing code for check and radio buttons.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-04 13:13:29 +00:00
Michael R Sweet
9d81d971f7 Fl_HelpDialog and Fl_HelpView widgets.
"help" demo.

Minor doco updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 19:43:49 +00:00
Michael R Sweet
b0e56bb248 Documentation...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:31:29 +00:00
No Author
3cb5ebe0e8 This commit was manufactured by cvs2svn to create branch 'branch-1.1'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-01 21:24:49 +00:00
Michael R Sweet
da83aa4eb4 HTMLDOC book file for docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-10 00:30:01 +00:00
Michael R Sweet
58c1428b71 Fl_Tabs, not Fl_Tab
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-09 23:59:52 +00:00
Michael R Sweet
f50ac7f22e Fix Mesa test in configure script.
Update changelog.

Update revision number for manual.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-07 14:34:22 +00:00
Michael R Sweet
336996c7ab Update documentation files to eliminate most of the warnings
and errors reported by HTML Tidy.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-06 16:25:05 +00:00
Michael R Sweet
8626976d99 Document that fl_line_style() must be called after fl_color() on WIN32
systems (at least) since fl_color() will destroy the extended pen
created by fl_line_style().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-15 23:22:31 +00:00
Bill Spitzak
97234fb3e2 Replaced remaining _WIN32 symbols with WIN32
Stuff from work:

Removed reference to unused GL/glu.h header file, which is missing on
some Linux systems.

Fl_Gl_Window has a new method to allow you to get and set the context:

  void Fl_Gl_Window::context(void*, int destroy = 0)
  void* Fl_Gl_Window::context() const;

  Return or set a pointer to the GLContext that this window is
  using. This is a system-dependent structure, but it is portable to
  copy the context from one window to another. You can also set it to
  NULL, which will force FLTK to recreate the context the next time
  make_current() is called, this is useful for getting around bugs in
  OpenGL implementations.

  If destroy_flag is true the context will be destroyed by fltk when
  the window is destroyed, or when the mode() is changed, or the next
  time context(x) is called.

Some cleanup of Fl_Gl_Choice to move most of the system dependent
#ifdefs into Fl_Gl_Choice.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-03-14 17:20:02 +00:00
Michael R Sweet
86b5507486 Configure script changes to support man pages, HTMLDOC, AIX/QNX with
strings.h, etc.

Add check for strings.h in fluid/factory.cxx.

Add directories and man page rules to makeinclude.in

Rename man page sources; these are formatted to the correct extensions.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-02-12 15:12:14 +00:00
Bill Spitzak
4fb627c3d8 fl_curve uses a much better algorithim to figure out how many pieces
to cut the curve into.

Right-ctrl does not delete selected text in Fl_Input, until you type a
composed character.

Added simple fltk.3 and fluid.1 manual pages and "make install" in the
documentation directory installs them.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-01-28 06:57:33 +00:00
Michael R Sweet
94788c4628 Copyright 2001.
FLTK 1.0.11.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-01-22 15:13:41 +00:00
Michael R Sweet
421fd3985f Fix to allow Fl.cxx to compile with older C++ compilers (no variable
declaration in while() constructs...)

"cp" doesn't always support "-f".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-21 18:15:14 +00:00
Bill Spitzak
f5375b6ab6 Fl_Gl_Window does not set drawbuffer(BACKBUFFER) for single-buffered
windows.

Fl_Input::replace(...) correctly updates the display if the replaced
region does not include the mark, point, or selected region.

Added Fl::add_check(...), Fl::remove_check, and Fl::has_check. These
are similar to idle callbacks but are only called just before it waits
for new events. They can be used to watch for changes in global state
and respond to them.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-12 08:57:30 +00:00
Michael R Sweet
a7826cdc80 Updated the version numbers in spec and list files.
Added HP-UX shared library support in fltk.list.

Fixed error in documentation - Fl_Browser_ is derived from Fl_Group,
not Fl_Widget.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-06 13:59:46 +00:00
Michael R Sweet
26ce73d012 Doco and header updates for 1.0.10.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20 14:53:52 +00:00
Bill Spitzak
23689de7fb Changes & additions for OS/2 from Alexander Mai
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-08-19 19:03:46 +00:00
Bill Spitzak
42cf3ff815 Added documentation for GL_SWAP_TYPE
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-07-10 07:32:10 +00:00
Bill Spitzak
1150141ead Changed the name of the new function from "add_interval_timeout" to
"repeat_timeout", which is shorter and more accurately describes what
it does.

GLUT_STROKE_*_ROMAN in glut.h are defined as 0,1 on WIN32 to match the
glut header files there.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1232 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-21 17:36:36 +00:00
Michael R Sweet
23594d8374 Added maximum_size() docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-20 21:01:37 +00:00
Bill Spitzak
f7e4caec25 Whoops, I screwed up the timeout callbacks a bit.
add_timeout will now do the callback at time t after the call to
add_timeout, like before.

add_interval_timeout is a new call that measures time from when the
last timeout was called.  This has slightly less overhead and allows
accurate spacing of timeouts.

Patch from Stuart Levy so the *last* widget in an Fl_Pack may be
resizable.  This should be compatable because resizable didn't do
anything before so there was no reason to set it.

Makefiles for no-cygwin from Paul Baxter (see README.win32 for info).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-20 05:47:38 +00:00
Bill Spitzak
be106a0977 Cleanup of the timeout and Fl::wait() code. This one calls the clock
function less than half as much, which resulted in a noticable
improvement in a flip book program I was working on.  The code looks
nicer, too, and I am reasonably certain it works the same.

Fl::wait(time) with a time greater than the system can handle (24.855
days on NT, the same on some Unix systems) will now act as though the
time is infinity.  Before it would do unpredictable things.

"USE_POLL" now compiles and works, although it is disabled by default.
poll() is an alternative to the Unix select() call which is available on
Linux and Irix, but I don't know if it is faster, you can try it by
editing config.h.

I tried making the NT USE_ASYNC_SELECT code do translate/dispatch of
the select events on the assumption (based on experience) that not
doing this to every event gives NT fits.  This appears to work but I'm
not sure if it fixes anything.

X version does not crash if Fl::wait() is called when the display is
closed (it will not return unless you have a timeout or fd callback
set up, though).

Fixed up the documentation for all of this, including getting rid of
some completely misleading documentation.

Now I need to get this stuff into 2.0...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-18 00:38:41 +00:00
Bill Spitzak
4dd096e7b5 Added has_timeout() and has_idle() calls as suggested by Eric Sven Ristad.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-16 07:28:03 +00:00
Bill Spitzak
4ab82443bd Added a bunch of missing FL_EXTERN's to glut.h (I have not really
tested this, but I believe this is why I keep getting mail about glut
not linking on win32.  If anybody can check this please do so!)

Fix for sliders so that clicking on one with a small (or zero)
slider_size will not move the slider.

I put Fl_Button.H in fl_shortcut.cxx so that it gets the FL_EXTERN for
fl_old_shortcut() (and also assures the declarations match).

Fixed xpaint link in the documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-15 05:37:40 +00:00
Bill Spitzak
b95dc9dde2 Fixed include files for subclasses of Fl_Input
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-08 07:45:20 +00:00
Michael R Sweet
f87393aaa1 OK, now version 1.0.9
Updated email addresses to point to fltk.org domain...

Updated README and CHANGES files accordingly.

Updated makeinclude and Makefile files to put -L../lib before the
LDFLAGS/GLDFLAGS to avoid problem reported by Alexander.

documentation/Makefile wasn't including makeinclude.

Updated FLUID about window to show version 1.0.9.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-05 21:21:24 +00:00
Bill Spitzak
9743763c7f Small patch to remove a compiler warning from gcc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-05-17 07:09:26 +00:00
Bill Spitzak
d5b47034a7 Added Fl::first_window(window) to change which window is at the top of
the window list.  This window is used as the "parent" of any modal
windows you create so it is a good idea to be able to change it.
Normally it is whatever window got the last event.

Fixed Fl_Menu::global handler to use first_window so if a modal window
pops up in response it is parented to the window containing the
menubar rather than the current top window.  This was an annoying bug!

Copied fl_line_style() and the line_style demo over from fltk 2.0
because I am tired of mailing this code to people.  Better to advertise this
as "added fl_line_style() function to set line thickness, dash patterns,
and end caps".

Fixed the documentation for these changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-05-13 20:03:20 +00:00
Michael R Sweet
2099173761 Forgot to update revision number (lucky 13!)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-28 18:17:14 +00:00
Michael R Sweet
0e6e2393bf Typos reported by Alexander Mai
Fl_Browser_ docos finished.

Added Fl_Group::init_sizes() description.

Added links for common widgets in chapter 3 (?)

Fixed formatting problems in subclassing and FLUID chapters.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-28 18:15:26 +00:00
Michael R Sweet
5d7d40fd35 Dropped use of -fomit-frame-pointer, as I've just discovered that it
prevents the use of libsafe.  Also, the code size savings are negligable
(96 bytes for FLUID)

Added I18N docos to FLUID chapter.  We probably need to expand discussion
a lot more in the 2.0 docos.

The EPM list installed the static FLTK library with execute permission,
which caused EPM to strip the library, making it impossible to link
against... :(


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-27 00:17:54 +00:00
Michael R Sweet
4b561b6e90 Updated copyright notices for all of the 1.0.x files.
Updated the configure script for *BSD and GCC 2.95 (-fno-exceptions)

Added install rule to documentation directory.

Dumped old packages directory; added traditional RPM spec file and EPM
list file (that replace all of the packages stuff)

The FLUID man page is now "fluid.1" for the formatted page and "fluid.man"
for the non-formatted page, since only IRIX uses pack'd formatted man pages.

Whew!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-25 22:17:00 +00:00
Michael R Sweet
22418bb1e9 Compose table was too big to include in the key table - moved it to
a separate table...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-03-16 14:35:51 +00:00
Michael R Sweet
a73c7f58e6 Documentation updates for 1.0.8.
FLUID GUI tweeks (OK and Cancel use now consistent, spacing now consistent,
Courier font for code, etc.)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-03-15 18:57:07 +00:00
Michael R Sweet
cd2d7cc7ee JPEG compression for PS manual.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-02-29 21:35:47 +00:00
Michael R Sweet
aee4def606 Updated version to 1.0.8.
Applied colors patch.

Updated doco makefile for current version of HTMLDOC.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-02-25 03:44:22 +00:00
Bill Spitzak
666d041224 Fixed the changes I made yesterday so that int/float input fields do not
eat Alt+letter key combinations.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-02-22 00:56:53 +00:00
Bill Spitzak
b583a643de Forgot to commit the header files and fixed documentation!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-02-21 10:45:59 +00:00
Bill Spitzak
e7f42fa15f Fixed bug on Win32 where programs would stop paying attention to keys.
What actually happens is that GetKeyState() returns garbage for the
"windoze" keys if you hit them to pop up the start menu.  It now calls
GetAsyncKeyState(), which works.
Also this version calls TranslateEvent on all events before calling
DispatchEvent(), which is apparently what Win32 expects.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-12-15 04:58:27 +00:00
Bill Spitzak
243525a903 Put in a meta tag that is supposed to stop search engines from searching
the documentation (this is so a search for fltk does not produce hundreds
of hits on the documentation).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-07-31 08:01:20 +00:00
Michael R Sweet
bc5a58036a Fixed link to XPaint...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-07-29 13:26:02 +00:00
Michael R Sweet
82eb2381e6 Updates for 1.0.4.
Added changes to event documentation for FL_DRAG and FL_KEYBOARD.

Added WIN32 stuff to Cosmo/Optimizer example code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-06-12 13:53:34 +00:00
Michael R Sweet
2f942e1c4a Updated version numbers to 1.0.3.
Fixed browser bug in item_width() - would read past the end of the string
under certain circumstances.

Fixed browser resize bug - wasn't updating bounding box during check, so
it could get in an infinite loop.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-05-01 15:08:22 +00:00
Bill Spitzak
2f22abf4e2 Compose for Icelandic thorn character is "TH" or "th". Also fixed the
comments in Fl_Input.cxx and fixed the documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-20 04:43:24 +00:00
Michael R Sweet
df8016354c Updated documentation version & edition.
FLUID makefile referenced LDFLAGS, but we only define CFLAGS and CXXFLAGS.

Fl_Browser::item_height() didn't handle blank lines (returned 2 for the
height).  Also, didn't use textfont() when figuring out text height.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-19 14:01:23 +00:00
Bill Spitzak
add808d7c2 Changes to Fl_Menu_::add() so that you should be able to add to any menu,
including one that was set with menu().  It copies the static menu if
necessary and keeps track of the size of the menu so it can reallocate
the array exactly when necessary.

This should make modifying the items in a menu much more predictable and
usefule.

I don't know if these changes will go cleanly into 2.0.  Probably not.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-19 07:01:24 +00:00
gustavo
4a9596d9da Broken link in docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-05 18:11:57 +00:00
Michael R Sweet
a5778a1864 Updated README and distribution packages to use v1.0.1.
Updated makefiles and makeincludes to use DSONAME and GLDLIBS.

Updated configure.in to use DSONAME instead of LIBNAME.

Updated editor example code in documentation.

Added ANSI C++ changes to make things compile with the latest EGCS
compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 15:26:44 +00:00
Michael R Sweet
b5f85fd9d6 Changed PostScript output to Level 1 for maximum compatibility.
Fixed some more typos and formatting problems.


git-svn-id: file:///fltk/svn/fltk/trunk@415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 20:18:38 +00:00
Bill Spitzak
b6115887c8 Changes to dial so that counter-clockwise motion is supported if you
set angle2 < angle1.  Deleted the unimplemented direction() control.
Fixed the documentation, this new code allows any 2 values for the
angles as long as abs(a-b)<=360.


git-svn-id: file:///fltk/svn/fltk/trunk@399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 08:17:43 +00:00
Carl E. Thompson
f7e1ff7742 Changes Fl_Dial to use XForms defaults for angles
-Carl


git-svn-id: file:///fltk/svn/fltk/trunk@397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 00:13:52 +00:00
Michael R Sweet
29fe7acb04 Fixed fluid manpage (no ESP heading)
Added preformatted manpage for IRIX.


git-svn-id: file:///fltk/svn/fltk/trunk@390 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 19:00:55 +00:00
Michael R Sweet
4ddb739c13 Updated docos to match code.
git-svn-id: file:///fltk/svn/fltk/trunk@389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 18:42:05 +00:00
Michael R Sweet
2a72ddc805 Updated addresses to point to fltk.org...
git-svn-id: file:///fltk/svn/fltk/trunk@382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 17:11:15 +00:00
Carl E. Thompson
e42ff9a65c This adds support for the Fl_Dial::angles() method. This seems to work
correctly, but it is likely that someone who remembers their high school
math could make it _much_ more efficient (I just hacked away 'till it
worked).

-Carl


git-svn-id: file:///fltk/svn/fltk/trunk@376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-08 21:44:32 +00:00
Michael R Sweet
16d264d393 Update revision number and author list for manual.
git-svn-id: file:///fltk/svn/fltk/trunk@367 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 19:50:46 +00:00
Michael R Sweet
b13c3932e4 Removed references to JPEG library in docos and config files. Not needed
(except for jpeg_image.cxx, which isn't built by default).


git-svn-id: file:///fltk/svn/fltk/trunk@361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 18:11:37 +00:00
Michael R Sweet
a2f1bdefe4 Added manpage for FLUID.
git-svn-id: file:///fltk/svn/fltk/trunk@357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 16:05:17 +00:00
Bill Spitzak
c15a36003d Fixed description of Fl_Menu_::size()
git-svn-id: file:///fltk/svn/fltk/trunk@347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-26 07:14:34 +00:00
Bill Spitzak
709366d65c Fixed documentation of Fl_Menu_Item::size()
git-svn-id: file:///fltk/svn/fltk/trunk@346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-26 07:12:39 +00:00
Bill Spitzak
82877b2eb6 Fix for Curtis so that the height of a title of a popup menu is not
affected by the height of the Fl_Menu_Button.


git-svn-id: file:///fltk/svn/fltk/trunk@340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-25 19:09:11 +00:00
Michael R Sweet
baaa7760a0 CubeView.h instead of CubeView.hpp
test/glpuzzle.cxx instead of test/glut.cxx


git-svn-id: file:///fltk/svn/fltk/trunk@335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 16:32:46 +00:00
Michael R Sweet
1c32b0e995 Fixed bad links.
git-svn-id: file:///fltk/svn/fltk/trunk@331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 14:18:56 +00:00
Michael R Sweet
912a02144a Reenabled JPEG compression (now works).
git-svn-id: file:///fltk/svn/fltk/trunk@328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 22:17:48 +00:00
Michael R Sweet
4488dcf505 Added missing GIF for CubeView demo.
git-svn-id: file:///fltk/svn/fltk/trunk@327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 22:13:56 +00:00
Michael R Sweet
c33c7ff0b8 Now don't enable XDBE under SunOS or IRIX 6.3 or earlier.
Added HP C++ compiler warning options.

Added HP-UX check with (v)snprintf() - HP-UX has them, but doesn't have
prototypes...


git-svn-id: file:///fltk/svn/fltk/trunk@311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 20:53:35 +00:00
Michael R Sweet
d91bdb6022 Updated docos for FL_DLL usage.
git-svn-id: file:///fltk/svn/fltk/trunk@306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 15:11:34 +00:00
Michael R Sweet
3b5208b4b5 Updated documentation for OS/2, Cygnus, and MingW32 instructions.
Added Craig P. Earls to author list on FLTK Programming Manual.


git-svn-id: file:///fltk/svn/fltk/trunk@291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 14:11:45 +00:00
Michael R Sweet
36417b2fff Updated documentation revision to 3.
git-svn-id: file:///fltk/svn/fltk/trunk@283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 17:48:56 +00:00
Michael R Sweet
078a33180c Ampersand wasn't quoted in compose character table.
git-svn-id: file:///fltk/svn/fltk/trunk@282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 17:46:57 +00:00
Michael R Sweet
bf870685d4 Removed extra "events" target from enumerations.html.
Added missing #include <FL/Enumerations.H> to Fl_XColor.H.


git-svn-id: file:///fltk/svn/fltk/trunk@279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 22:27:52 +00:00
Bill Spitzak
fd86dad21e Fixed documentation for Fl::grab()
git-svn-id: file:///fltk/svn/fltk/trunk@269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-03 08:54:17 +00:00
Bill Spitzak
8009fef12c Put Fl::grab() into it's own source file. Rewritten as suggested so that
it takes a window pointer, and grab(0) releases.  You can now call grab
repeatedly with the same or different values without it failing.  The old
Fl::grab() and Fl::release() are emulated in inline functions in Fl.H

Added Fl_Menu_::copy(Fl_Menu_Item*), which will be useful for fluid, although
that use is nyi.

Fixes and cleanup to the code for Fl_Menu_::add(...).


git-svn-id: file:///fltk/svn/fltk/trunk@268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-03 08:43:35 +00:00
Michael R Sweet
44f8e8e32a Added a section on damage() for widget writers.
git-svn-id: file:///fltk/svn/fltk/trunk@266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 20:38:57 +00:00
Michael R Sweet
8c2b800488 Updated README and intro.html for a complete discussion on setting
alternate compilers and options.


git-svn-id: file:///fltk/svn/fltk/trunk@263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 20:22:20 +00:00
Michael R Sweet
6882323172 Updated Fl_Chart to allocate entries dynamically. The previous "scrolling"
behavior can be restored by calling Fl_Chart::maxsize(), otherwise entries
can be added until you run out of memory.


git-svn-id: file:///fltk/svn/fltk/trunk@262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 20:15:00 +00:00
Bill Spitzak
4c53a5d8f4 Added optimization for SGI builds (mike: please run autoconf before making
a distribution).
Documentation fixes.


git-svn-id: file:///fltk/svn/fltk/trunk@259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-31 07:43:16 +00:00
Michael R Sweet
4b8754ace4 Updated Fl_Browser documentation
Added widget hierarchy to Appendix A.

Fixed doubled-up fl_input and fl_choice links (names are not
case sensitive...)

Added FLUID tutorial from Craig P. Earls (none of the sources yet,
just the docos and images)


git-svn-id: file:///fltk/svn/fltk/trunk@258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-30 17:30:09 +00:00
Michael R Sweet
92ab051e21 Updated symbols image, and fixed a few more typos.
git-svn-id: file:///fltk/svn/fltk/trunk@250 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 14:24:00 +00:00
Bill Spitzak
59c96f5463 Fixes to documentation.
Restored the lines drawn around symbols, it uses fl_color_average to
pick a dark line color that is still deactivatable.  Requested by CE.


git-svn-id: file:///fltk/svn/fltk/trunk@249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 08:45:11 +00:00
Michael R Sweet
b983b285cc Lots of documentation fixes, and added a new image for the Fluid chapter.
git-svn-id: file:///fltk/svn/fltk/trunk@244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:36:02 +00:00
Michael R Sweet
dc70b69502 Updated documentation with changes from Bill.
Added new image files for buttons.


git-svn-id: file:///fltk/svn/fltk/trunk@237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-19 20:53:39 +00:00
Michael R Sweet
01937a1cf8 Added button images for documentation.
git-svn-id: file:///fltk/svn/fltk/trunk@236 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-19 19:29:47 +00:00
Michael R Sweet
514737e6a0 Fixed header file name.
git-svn-id: file:///fltk/svn/fltk/trunk@229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-17 23:17:34 +00:00
Michael R Sweet
46f509f7de More image updates, minor typos, etc.
git-svn-id: file:///fltk/svn/fltk/trunk@227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-14 22:14:01 +00:00
Michael R Sweet
a98c49d088 Fixed bad typo that caused HTMLDOC to crash...
git-svn-id: file:///fltk/svn/fltk/trunk@226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 21:17:47 +00:00
Michael R Sweet
fae4b6ae7e Final changes for next beta release - typos and more updated images.
git-svn-id: file:///fltk/svn/fltk/trunk@224 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 20:55:40 +00:00
Michael R Sweet
4df8d6d80a Updated screenshots for current release.
git-svn-id: file:///fltk/svn/fltk/trunk@223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 20:12:41 +00:00
Michael R Sweet
56a6355291 Added index file for HTML source files.
git-svn-id: file:///fltk/svn/fltk/trunk@220 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 19:29:10 +00:00
Michael R Sweet
d7b88a3bcc Updated all links so they work between files.
Revision 1.


git-svn-id: file:///fltk/svn/fltk/trunk@219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 19:28:54 +00:00
Michael R Sweet
30fa233681 Updated chapters so they have names.
Removed spreadsheet chapter (for the moment).


git-svn-id: file:///fltk/svn/fltk/trunk@218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 17:48:12 +00:00
Michael R Sweet
d448f9a9cc Documentation update.
Changed documentation makefiles so docos aren't built by default.


git-svn-id: file:///fltk/svn/fltk/trunk@216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 16:25:17 +00:00
Michael R Sweet
07766e7d72 Fixed various typos and added a Fluid organization chart image
contributed by Craig Earls.


git-svn-id: file:///fltk/svn/fltk/trunk@207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 15:35:04 +00:00
Michael R Sweet
0a36d98420 Yay, change all copyright notices to be 1998-1999.
git-svn-id: file:///fltk/svn/fltk/trunk@201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 19:18:01 +00:00
Michael R Sweet
5f731445e7 Updated icon() example.
git-svn-id: file:///fltk/svn/fltk/trunk@197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 17:46:16 +00:00
Michael R Sweet
367f908d8e "Final" changes for first draft of 1.0 documentation.
git-svn-id: file:///fltk/svn/fltk/trunk@187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 16:36:11 +00:00
Michael R Sweet
ea2cbbd553 Updated makefiles for documentation.
git-svn-id: file:///fltk/svn/fltk/trunk@179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29 14:59:00 +00:00
Michael R Sweet
87dd7f0d23 Revised documentation files.
git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29 14:21:17 +00:00
Michael R Sweet
20adb6834b Added makefile for documentation.
git-svn-id: file:///fltk/svn/fltk/trunk@176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29 14:18:27 +00:00
Michael R Sweet
f9039b2ae2 Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 18:21:25 +00:00