Commit Graph

1770 Commits

Author SHA1 Message Date
Michael R Sweet
388a864ef7 Makefile and configure script support for image libs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-06 00:18:49 +00:00
Michael R Sweet
c1525a2062 Add copies of the JPEG, PNG, and Z libraries...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-05 14:12:39 +00:00
Michael R Sweet
24fcc5aa29 The fltk-config script did not include the "-mno-cygwin" option
under CygWin (STR #434)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-05 13:20:28 +00:00
Michael R Sweet
8d6e6e40c5 Fl_Help_View::find() did not check for a NULL value (STR #442)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 23:27:48 +00:00
Michael R Sweet
dbcc6cab01 Fix FLTK symbol - need to use complex polygons for concave shapes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 23:21:52 +00:00
Matthias Melcher
47276e733d In order to make the whitte text field at the bottom left of the
Help Dialog clearer, I added a magnifying glass in front of the
field sybolising "search".

I made the scaleable magnifying glass available as a symbol via
"@search"

I added yet another symbol that draw a vectorized version of
the FLTK logo. Available via "@FLTK".

Lastly, I changed the 'symbol' test program to show the additional
symbols, and added a slider to changae the relative symbol size.

I hope the new symbols look good enough on other platforms, too. I
tested only OS X.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 06:49:34 +00:00
Michael R Sweet
0384c86957 Changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-19 12:26:01 +00:00
Matthias Melcher
6d3a6c8a5b Fixed Mac NumLock mixup (Macs do not have a PC style NumLock)
Added keylookups and keycodes for FL_Menu and FL_Delete keys.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-19 01:50:31 +00:00
Michael R Sweet
5e81201a04 Fl_File_Icon::draw() did not support drawing of complex polygons
in icon descriptions.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-14 15:58:52 +00:00
Michael R Sweet
849c90e53b The configure script now offers options for JPEG, PNG, and ZLIB
libraries (STR #416)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-09 12:09:39 +00:00
Michael R Sweet
3d443a6f17 Typo fix (= and not - for assignment)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-08 14:11:59 +00:00
Matthias Melcher
e85d7a8752 The first menuitem in a menulist would not honor teh MENU_INVISIBLE flag.
I added the function Fl_Menu_Item::first() whi returns the first visible
menuitem, just like ::next() returns the next visible item, and added the
::first() call in the Menu code.

first() is an inline function that calls next(0). I updated next() to
correctly handle list where the current item is invisible.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-07 19:23:12 +00:00
Matthias Melcher
8b298e1b9b Documentation fix (STR #412).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3447 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-07 17:17:24 +00:00
Michael R Sweet
eeef51de66 Fl_Text_Buffer::replace() now range checks its input (STR #385)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 20:33:26 +00:00
Michael R Sweet
c3fea65696 Fl_Widget::handle() doco update (STR #399)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 14:52:43 +00:00
Michael R Sweet
213be08972 FLTK now builds with the current release of MinGW (STR #325, STR
#401, STR #402)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 14:49:51 +00:00
Michael R Sweet
ca116a1b6c FLTK now honors the numlock key state (STR #369)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 01:08:50 +00:00
Michael R Sweet
888ca55da6 The Fl_Text_Display widget did not redraw selections when focus
changed (STR #390)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-26 02:42:10 +00:00
Michael R Sweet
7b4c016ef9 Tweek plastic background image for softer background (similar to OSX 10.3)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-25 21:06:19 +00:00
Michael R Sweet
848f54d636 Doco changes.
Start of fixes for word wrap + proportional text.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-24 01:30:45 +00:00
Michael R Sweet
dc2eec2f54 VC++.NET fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-17 14:44:39 +00:00
Michael R Sweet
3e73271c5b Add NULL checks for browser strings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-16 02:18:13 +00:00
Michael R Sweet
998f74be9f Fl_Scroll now uses a full redraw when the scheme is set to
plastic and the box type is a frame (STR #205)

Fl_Window::resize() did not work properly with KDE 3.2 (STR
#356)

FLTK didn't delete font bitmaps when the last OpenGL window was
deleted, preventing future text from displaying (STR #310)

FLUID didn't include a full initialization record for the
trailing NULL menu items (STR #375)

Fl_Browser::item_width() did not properly handle format
modifiers (STR #372)

Fl_Browser::item_height() did not handle columns properly (STR
#371)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-15 22:58:19 +00:00
Michael R Sweet
e643c17eea Fl_Gl_Window's on WIN32 now prefer accelerated pixel formats
over generic formats (STR #382)

Fl_Window::resize() did not work on some systems if the window
was not shown (STR #373)

FLUID did not write the user_data type if the user_data field
was empty (STR #374)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-13 21:02:41 +00:00
Michael R Sweet
4aa09c6c6a Typo in srcdist script.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-12 10:13:38 +00:00
Michael R Sweet
03a4621432 Documentation updates (STR #365)
The value(const Fl_Menu_Item*) method was not implemented for
Fl_Choice (STR #366)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-29 02:47:09 +00:00
Michael R Sweet
13fbd26b99 Fl_Pack didn't draw child widget labels the same way as
Fl_Group, causing display problems (STR #360)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3400 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-25 01:39:36 +00:00
Michael R Sweet
04af81c07e Use fl_red/green/bluemask/shift for undefined pixmaps.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-25 01:22:56 +00:00
Michael R Sweet
1477ff9268 Changelog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3398 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-24 04:11:44 +00:00
Michael R Sweet
8d515ed840 fl_read_image() fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-24 04:10:24 +00:00
Michael R Sweet
2605c0a320 1.1.5rc1 updates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3394 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 15:02:54 +00:00
Michael R Sweet
180ee665c9 Update VC++.NET configuration to match VC++ 6.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 05:17:02 +00:00
Michael R Sweet
a3d0905c9e Copyright updates and prep for 1.1.5rc1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 04:39:01 +00:00
Michael R Sweet
6bed8ffce8 Update Fl_Scroll background image fix...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 03:50:38 +00:00
Michael R Sweet
26dcd2e085 Fix fl_scroll() on WIN32 (STR #315)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 01:40:12 +00:00
Michael R Sweet
77aca2728f Fix drive letter entry for file chooser (STR #339)
Fix linker warnings with VC++


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 21:35:45 +00:00
Michael R Sweet
76d03987d5 Fl_Menu now uses the boxtype to redraw the menu background (STR
#204)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 00:54:51 +00:00
Michael R Sweet
616c919d37 Fl_Scroll now shows the background image when a framed box type
is used and the Fl_Scroll is a direct decendent of a window (STR
#205)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 00:37:03 +00:00
Michael R Sweet
1a71339155 Point to vcnet directory, not visualc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-08 00:20:40 +00:00
Michael R Sweet
317105381d VC++.NET support
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-07 20:06:17 +00:00
Michael R Sweet
b4b95029e8 Added a new_directory_tooltip string pointer to allow
localization of the file chooser's new directory button (STR
#340)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 19:33:11 +00:00
Michael R Sweet
af0c12aae6 Add Fl_Menu_::find_item() method (STR #316)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 19:19:41 +00:00
Michael R Sweet
9202d0798e The Fl_Widget copy operator definitions were not conditionally
compiled properly (STR #329)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 18:37:20 +00:00
Michael R Sweet
aa00aba5c1 FLUID's Layout functionality did not move child widgets when
laying out group widgets (STR #319)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 18:32:52 +00:00
Michael R Sweet
7fdbfc61be More doco updates.
FLUID's Layout->Center In Group functionality did not properly
handle widgets that were children of a Fl_Window widget (STR
#318)

The Fl_Text_Display destructor did not remove the predelete
callback associated with the current buffer (STR #332)

Fixed several bugs in the MacOS X Fl::add_fd() handling (STR
#333, STR #337)

The Fl_Text_Display widget did not display selections set by the
application (STR #322)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 17:38:36 +00:00
Michael R Sweet
4e0450ea36 FLUID crashed if you did layout with a window widget (STR #317)
Fl_Scroll::clear() didn't remove the child widget from the
Fl_Scroll widget (STR #327)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 02:47:26 +00:00
Michael R Sweet
70ca1d156b Fl_Value_Slider::draw_bg() didn't always apply the clipping
rectangle (STR #235)

fl_filename_relative() returned the wrong string if the absolute
pathname was equal to the current working directory (STR #224)

Fl_Help_Dialog didn't correctly restore the scroll position when
going forward/back in the link history if the file changed (STR
#218)

glutGetModifiers() did not mask off extra state bits, confusing
some GLUT-based applications (STR #213)

Fixed mouse capture problems on MacOS X (STR #209, STR #229)

Fl_Sys_Menu_Bar is now built into the library for MacOS X (STR
#229)

Fl_Menu_ now provides item_pathname() methods to get the
"pathname" of a menu item, e.g. "File/Quit" (STR #283)

Fl_Text_Display now provides cursor_color() methods to get and
set the cursor color (STR #271)

Fl_Scroll didn't honor FL_NO_BOX (STR #305)

FLUID declaration blocks didn't support public/private
definitions (STR #301)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-11 05:17:12 +00:00
Michael R Sweet
c5d30baf60 Documentation updates (STR #245, STR #250, STR #277, STR #281)
Fl_Preferences incorrectly created the preferences directory
before necessary (STR #247)

The WIN32 project files still defined the (obsolete) FL_STATIC
constant (STR #279)

Fl_Text_Display::buffer() did not support NULL values, making it
impossible to clean up text buffers from a subclass (STR #295)

Fl_Text_Display did not support a NULL unfinishedStyleCB
function (STR #241)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-01 02:05:02 +00:00
Michael R Sweet
2cbbe8180d Fix Fl::background2() (STR #255)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-29 22:39:52 +00:00
Michael R Sweet
6d84fa98b7 Fix CTRL+something "-" - wasn't tracking the proper CTRL key
state (STR #264)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-29 22:16:11 +00:00