Michael R Sweet
e1fa5dc88b
Don't try to generate a preview image of a directory.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24 23:37:54 +00:00
Matthias Melcher
990415bd04
STR #1028 " set size ranges for filechooser 'favorites' dialog and for help dialog
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24 20:48:58 +00:00
Matthias Melcher
3e9b10363d
STR #1027 : FLUID size_range controls would not set the 'modified' flag
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24 20:41:03 +00:00
Matthias Melcher
42b1d09681
STR 1026: Text input filed had NO_BOX as its background, so the moving cursor would not be erased.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-19 21:14:23 +00:00
Matthias Melcher
83d58a96b2
STR 1025: fixed illeagal acces to delted object. It was meant to set the dirty flag in the parent of course.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-19 21:10:48 +00:00
Michael R Sweet
b303985d92
Fix char * issues with constant strings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-19 12:06:09 +00:00
Michael R Sweet
6e88ede6a4
Remove libsupc++ stuff, since it doesn't work on OSX 10.4 or with
...
other (broken) GCC installs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-18 04:02:29 +00:00
Matthias Melcher
eefa09e632
STR #1023 : some more test programs did not load the OS default colors
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-15 10:16:08 +00:00
Matthias Melcher
2036009919
STR #1007 : removed one superfluous ReleaseDC. All demos are running nicely again. I did not see any rendering mistakes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-15 07:41:17 +00:00
Matthias Melcher
49fb8bc5c0
Fonts test program now starts using the correct color scheme
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-14 14:32:48 +00:00
Matthias Melcher
56bcac9859
WIN32, STR #1007 : Added some code that looks a lot, but is actually very littl, that keeps track of all window classes that were registered to avoid registering the same class twice.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-14 07:30:32 +00:00
Matthias Melcher
02ab74fcee
Fixed x-offset problem in Help_Widget (STR #998 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-13 08:43:28 +00:00
Matthias Melcher
c526a7ad2f
Clipboard will persist if owner window is hidden (STR #1019 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12 23:51:36 +00:00
Matthias Melcher
fe934da8b2
How did 79 get into the comment? I don't know.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12 23:12:06 +00:00
Matthias Melcher
2b6586f64d
STR #1007 : Applied second patch by hand. OP: could you please check if all changes were made correctly? Thanks!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12 23:03:34 +00:00
Matthias Melcher
55380298b5
Fix to ambigous function call in my previous FLUID changes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09 18:44:41 +00:00
Matthias Melcher
576fd78bde
STR #985 : This is a medium size change in the way that FLUID manages widget label sizes. I moved the 'preset' functionality from the 'widget size' menu into the grid setting window. The menu now only changes selected widgets while the setting panel modifies newly created widgets. Settings are stored in the preferences.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09 11:36:36 +00:00
Michael R Sweet
fcb8f9e056
Remove unused ptr variable.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09 11:16:21 +00:00
Matthias Melcher
820b67bc56
This change will make sure that top-level windows will fit inside the screen that contains the original x and y.
...
The previous version would reposition windows in the screen that currently contains the mouse. That feature made it impossible to position tool windows on a second monitor, etc. .
This change does not affect popup windows which will still pop up in the screen that has the mouse pointer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09 09:52:16 +00:00
Matthias Melcher
bde4916c7e
STR #1013 : yet another attempt at fixing the precision count in Fl_Valuator. Does this work for everyone?
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-08 20:57:27 +00:00
Matthias Melcher
022415c310
STR #1016 :
...
Fixed some more missing modification flag cases in FLUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-08 08:27:21 +00:00
Matthias Melcher
edcc1980a1
STR #1010 : if a widget callback is generated inside a widget class, the static callback uses the parent() function to find the 'this' pointer, instead of the 'user_data()' member, which would be NULL anyways
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-05 10:32:39 +00:00
Matthias Melcher
f0d44ed955
STR #1014 : FLTK's CR/LF conversion would crash if the clipboard was empty
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-05 10:09:14 +00:00
Matthias Melcher
09783875e4
FLUD: This fixes the problem that the children of a Widget_Class_Type are positioned with absolute coordintes. The patch adds another button to the FLUID interface named 'Relative' to the right of the widget position. It is only visible if a Widget_Class_Type is selected. If checked, code will be added that creates an Fl_Group at 0, 0 and later repositions it and all its children into the final position.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-30 21:57:23 +00:00
Matthias Melcher
aa897faeb3
FLUID: Grouping and ungrouping would not work inside an Fl_Widget_Class_Type
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-30 21:25:47 +00:00
Matthias Melcher
e3ae773842
Re-Fixed STR 884. I did put the change into the FLUID file, but accidentally into the wrong line, where it got lost.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 21:27:48 +00:00
Matthias Melcher
dc6357bf1a
Various Pixel bugs:
...
STR #993 , STR #990 , and a few others
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 21:16:38 +00:00
Matthias Melcher
e9ba94e22d
Fixed snapping for interactive resizing of right and bottom border.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:42:39 +00:00
Matthias Melcher
8c479b5ea6
F2 and F3 (move up/down) would not set the "changed" flag
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:25:22 +00:00
Matthias Melcher
a2effb7c2b
Fixed C++ style comments in plain C files (STR #997 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:16:36 +00:00
Matthias Melcher
d952d9b9d6
Fixed signedness of argument to sscanf
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:11:48 +00:00
Matthias Melcher
ef2f6bd456
Slight changes to Fl_Sys_Menu_Bar making it more transparent for multi platform developers. Again, thanks Natevw for the patch.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:05:38 +00:00
Matthias Melcher
03654fb48d
The newly introduce Fl_Widget_Class_Type in Fluid would cause a null pointer when a Menu Item was trying to find the top parent widget.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 19:57:34 +00:00
Matthias Melcher
6ae2a95a8c
This is the text for the previous commit.
...
Fixed reading of corrupt Jpegs. The previous fix would work somewhat on VC6, but should not have worked... . The new fix looks unfamiliar, but seems to work fine. Thanks for the patch to Natevw
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 19:39:02 +00:00
Matthias Melcher
f5c58cc8d3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 19:36:59 +00:00
Dejan Lekic
dc1b3aaf1a
Update of "CHANGES" file with information about STR#995 .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-27 05:28:02 +00:00
Dejan Lekic
3c96dd4d85
Fix of cross-compiling (host: *-linux-* , target: *-mingw32) problem.
...
Patch provided by Amir Shalem <amir@boom.org.il> in STR#995 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-27 05:25:50 +00:00
Matthias Melcher
53e3d7582b
Fixed dirent list by making room for the additional '/' character on directory names. FLTK does not care about the internals of the dirent structure. We only support the member d_name. All other members are non-standard anyways on not available on Win32.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-26 20:06:29 +00:00
Matthias Melcher
16719ceb8c
Reverted to the correct version.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-24 14:14:32 +00:00
Matthias Melcher
74fe8ccdf2
Typos
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-24 13:47:48 +00:00
Michael R Sweet
1db26430c2
Fix widget spacing to conform to the HIG.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-24 11:40:23 +00:00
Matthias Melcher
cd1de720b7
FLUID now knows if a static callback is already declared in a class and won't declare it 'extern' (STR #776 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-23 11:28:13 +00:00
Matthias Melcher
7e02be0309
Project settings in FLUID now also set a project as 'modified'.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-23 08:37:21 +00:00
Matthias Melcher
4ba366f7d7
Bordersize was calculated wrong for borderless windows
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-21 22:28:57 +00:00
Matthias Melcher
ac65443882
Fixed CR to CRLF conversion. Thanks for the patch, Alessandro.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-21 22:05:48 +00:00
Matthias Melcher
5856b3b9be
Some actions in FLUID would not set the "changed" flag.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-21 21:55:22 +00:00
Matthias Melcher
61fb41fd7f
This commit fixes one aspect of bug STR #984 . However, since Allesandro took his patch back, I would like to first run this one by the developers before I fix the rest on the list.
...
This patch is different to Alessandro's in that it checks if data was actually changed and the n setting the modflag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-20 20:30:56 +00:00
Michael R Sweet
c1ba87140e
Fix new trailing slash usage, and restore correct OSX filesystem listing
...
(added filter to hide /dev and /.vol)
src/Fl_File_Browser.cxx:
- Fl_File_Browser::load(): use getfsstat() API on OSX, and don't
bother adding a trailing slash to directories since we already
have them!
src/filename_list.cxx:
- fl_filename_list(): Add 3 bytes (two possible slashes + nul byte)
to temporary buffer, and document why we are using memcpy() instead
of strcpy().
src/filename_isdir.cxx:
- fl_filename_isdir(): Add check for trailing directory separator
before wasting time doing a stat() call.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-18 14:08:17 +00:00
Matthias Melcher
eca40efb6e
This change is controversial. It changes the behavior of fl_filename_list
...
slightly by adding a forward slash after every directory name on every
supported OS. Included in this patch is a change in the code that
lists mounted volumes on OS X Mac.
Apple users, please check. Open FLUID, open the file dialog and
clear the current path. You shoudl see a list of mounted volumes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 21:56:22 +00:00
Matthias Melcher
760bca71ab
Silly scope bug. Thanks, gcc
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 18:09:20 +00:00