Commit Graph

1425 Commits

Author SHA1 Message Date
Michael R Sweet
43519f1264 Add Cygwin check for scandir(); fix from Ken Yarnall.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-19 18:11:24 +00:00
Michael R Sweet
614e835fb9 Fix rescaling of tables (again)...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-18 15:19:24 +00:00
Michael R Sweet
dff050d64f Changelog update...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-17 21:34:25 +00:00
Michael R Sweet
7167432779 Support table centering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-17 21:28:54 +00:00
Michael R Sweet
ab53ef9a44 Fix FLUID image problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-16 20:10:21 +00:00
Michael R Sweet
a2c193c777 One more browser redraw fix from Ken.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-16 19:51:31 +00:00
Michael R Sweet
e3100a5eb9 Fix table column scaling...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2589 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-16 11:36:08 +00:00
Michael R Sweet
f9a0613202 Fl_Help_View didn't support HTML comments.
Fl_Help_View didn't add the cellpadding when doing colspan's...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-15 19:38:53 +00:00
Michael R Sweet
6c3f9a03d1 Resize the text display widget when the buffer is changed.
Don't stop a resize if we are not visible (holdover from 2.0 code...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-15 17:26:46 +00:00
Michael R Sweet
d3c1d6b8ad OK DLLs now work again under VC++...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-14 17:05:38 +00:00
Michael R Sweet
e136d5e145 More FL_EXPORT fun...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-14 16:49:38 +00:00
Michael R Sweet
1aecada52c DLL changes (still some more to go...)
Move BMP, GIF, and PNM image loaders to fltkimages project.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-14 16:19:48 +00:00
Bill Spitzak
019f933251 Fixed tabs.fl
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-13 22:47:35 +00:00
Bill Spitzak
ab9c8fe152 Typo found by Albrecht Schlo�er fixed. This would crash fltk when a
window is iconized.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-13 22:43:59 +00:00
Michael R Sweet
f0ea022d0e Use box function to redraw Fl_Browser_, Fl_Input_, and Fl_Slider.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-13 15:42:44 +00:00
Michael R Sweet
0c1ff39ccd Fix from Albrecht for old cast code that didn't get changed from "w" to
"wi"...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 20:48:19 +00:00
Michael R Sweet
5ecf5cde98 Fix modal() handling of FL_RELEASE events.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 20:45:28 +00:00
Michael R Sweet
c6b1b2c7b6 Make sure cursor switches between I and pointer as needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 20:24:31 +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
1860641362 Fix more compile errors.
Redraw Fl_Input_ background using the box() function + clipping.

Bump to 1.1.0rc6.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 19:42:55 +00:00
Michael R Sweet
f78c91e372 OSX compile fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 19:30:44 +00:00
Michael R Sweet
0c6c69ffbc Add missing header to tabs program.
Fix dependency for help demo...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 02:11:03 +00:00
Michael R Sweet
42bfef91a7 Put new modal test in the right source file...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 00:43:12 +00:00
Bill Spitzak
4c1997b416 Added test for modal window
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-10 16:27:46 +00:00
Michael R Sweet
7b6e55deaf Remove unnecessary void cast.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09 23:49:52 +00:00
Michael R Sweet
b2e9308751 More shadowed variables in FLUID, plus use snprintf, strlcpy, and strlcat.
Don't use extra warning flags for normal compiles.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09 22:57:00 +00:00
Michael R Sweet
050919103f More shadow variable changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09 03:17:30 +00:00
Michael R Sweet
a6b935289e Move the rest of the image file formats (except for XBM and XPM) to
the fltk_images library; saves about 16k in the FLTK core library on my
Intel system.

Fix a memory leak bug in most of the fl_set_fonts*.cxx implementations;
as a result, the Fl_Fontdesc structure now has a fontname member to old
the human-readable font name.

Lots of fixes for shadowed variables, etc.

Use snprintf, strlcpy, and strlcat in more places.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09 01:09:49 +00:00
Michael R Sweet
27a54dc22b Fl_Text_Display::resize() should be public...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-05 18:03:58 +00:00
Michael R Sweet
7e59022ea4 Add EXEEXT to end of FLUID name.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-05 17:58:16 +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
685100b122 Add default cursor as data the Fl_Window tracks individually (with the
default being the original global default...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-01 02:15:43 +00:00
Michael R Sweet
063d67de86 Add image() methods to Fl_Menu_Item.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-01 02:02:03 +00:00
Michael R Sweet
7038a9eeae Send FL_LEAVE events before FL_ENTER events.
Only change the cursor when the widget is activated.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 18:40:50 +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
1cea00ad00 Don't paste if there is no data to paste.
Change the cursor in Fl_File_Input based on the location in the field.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 18:10:03 +00:00
Michael R Sweet
7bde142766 Fl_Input_ and Fl_Text_Display now change the mouse pointer to the I beam
when the mouse enters them...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 15:10:32 +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
7b0ade0138 "install" now depends on "all" instead of the no longer defined $(PROGRAM)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 14:11:21 +00:00
Michael R Sweet
4fac733ed7 Oops, doc/foo should be documentation/foo...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 14:07:24 +00:00
Michael R Sweet
a5110a375d Don't allow paste inside readonly() input widgets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-29 22:55:33 +00:00
Michael R Sweet
1cfc6385dd BMP image loader fixes.
JPEG with Cygwin fix.

Make sure that all generated files are removed with a "make distclean".

Make sure we remove the autoconf cache directory when building the
source distribution.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-26 14:22:02 +00:00
Michael R Sweet
7ce42e2592 When installing FLUID under Cygwin, make sure we keep the .exe extension.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-25 17:07:06 +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
749ebab917 Don't need line style stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-24 12:16:57 +00:00
Michael R Sweet
827bf4dc51 Use better looking check mark from Albrecht Schlosser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-24 12:15:25 +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
c22732b9e0 OK, we'll do one more rc release since so many of the build things have
changed...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-20 23:39:08 +00:00