Commit Graph

244 Commits

Author SHA1 Message Date
Michael R Sweet
a529510e5b More documentation updates...
Fl_File_Chooser did not handle some cases for filename
completion (STR #376)

Fl_Help_View didn't properly compute the default maximum width
of the page properly, resulting in non-wrapped text in table
cells (STR #464)

Fl_Text_Editor no longer tries to emulate the Emacs CTRL-A
shortcut to move to the first column, since there is a key for
that and the widget does not emulate any other Emacs keys (STR
#421)

Fl_File_Chooser always disabled the OK button when the user
pressed DELETE or BACKSPACE (STR #397)

Added Fl_Browser::swap() methods (STR #459)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-26 20:52: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
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
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
6abb22c005 Dump the shiny demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-05 12:25:01 +00:00
Michael R Sweet
7363c4bdd6 Dump the non-working shiny demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-05 12:24:31 +00:00
Michael R Sweet
101fa5b640 Fix mapping of Apple keys to CTRL keys on OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-05 21:14:19 +00:00
Michael R Sweet
8a2aa0a0d1 Add thin up box with plastic style.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-18 22:12:24 +00:00
Michael R Sweet
00cb676e11 Copyright update for 1.1.3 release (not quite yet, but soon...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30 21:46:07 +00:00
Michael R Sweet
9f67d66c3a Fix size_range() bug under OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 21:30:55 +00:00
Michael R Sweet
56b465073b Update dependencies and the change log.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-10 19:54:44 +00:00
Michael R Sweet
85c952004a Remove the obsolete browserop.cxx test program, which wasn't being built
anyways and is causing confusion.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-02 21:39:58 +00:00
Michael R Sweet
5f5d68561f Fl_File_Input::value("") didn't work.
The window close callback also needed to set the filename to "".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-20 15:49:24 +00:00
Matthias Melcher
66dabdb8f5 Added callbacks to Fl_Text_Editor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05 06:45:41 +00:00
Michael R Sweet
9e0efc1e88 First fixes for 1.1.2 - Fl_Scrollbar shouldn't take keyboard focus,
move Fl_Slider focus stuff to main handle() method, use Fl_Light_Button
in scroll demo.

Bump version numbers to 1.1.2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 12:53:41 +00:00
Michael R Sweet
5d33456506 Comment out debug statements...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-27 18:01:30 +00:00
Michael R Sweet
7ef44a5266 Fix editor syntax highlighting (bug #613089)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-26 20:43:03 +00:00
Michael R Sweet
e04a3734e7 Apply patch from George Garvey to make Fl_Text_Display/Buffer based on
NEdit 5.3...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-20 19:59:45 +00:00
Michael R Sweet
11bf9b28da Move Fl_Help_Dialog to fltk_images library.
Add "Additional Libraries" section to docos as needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-16 01:35:34 +00:00
Matthias Melcher
6698be1be8 Mac OS X: modified Fl_Preferences::Node::search to correctly handle groups
inside the root group and to allow for relative and absolute path names.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-05 20:44:36 +00:00
Michael R Sweet
b700c8c088 Fix Fl_Menu_Button focus problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-01 22:39:33 +00:00
Michael R Sweet
ec494401c1 Make sure all strings can be localized in the dialogs.
Move the "preview" button over so there is room for localization.

Fix the order of buttons in convenience dialogs.

Update "ask" to use the fl_input function.

Fix 4-bit BMP file loading.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-30 16:58:16 +00:00
Michael R Sweet
ad29f94f86 Use double-buffered window for CubeView...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-20 17:40:37 +00:00
Michael R Sweet
5ab5efff11 Add tooltips to the output widgets to see if we can figure out why
tooltips don't work for a user...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2598 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-20 16:15:29 +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
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
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
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
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
c48c20c49c Fix path for default document (Matthias, did you change this? If so,
just include your own copy of demo.menu which includes the different
path when running from CW...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-15 23:39:22 +00:00
Michael R Sweet
d0f18c45b5 Boy, aren't WIN32 compilers *so* much fun.
Fix more export problems, make some more static inline methods regular
functions, don't use FL_NORMAL_SIZE in a static initializer since BC++
doesn't seem to support it...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 21:25:39 +00:00
Michael R Sweet
8025bf7251 Fl_File_Chooser::value("foo") now checks if the pathname is a directory
and doesn't strip the trailing one if so.

Fl_File_Chooser::value(n) now returns a directory name without the
trailing slash.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 18:19:00 +00:00
Michael R Sweet
1be87f0798 Ignore fluid-shared and all exe files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:04:30 +00:00
Matthias Melcher
319c89ab3c minor changes to make FLTK compile as a DLL in CodeWarrior
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-11 22:43:53 +00:00
Matthias Melcher
7dc80d17b0 MacOS: wait(0) would not handle all pending events.
The OpenGL demos were showing a significant delay in handling UI events.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-11 01:10:15 +00:00
Matthias Melcher
2d30a9e6fa Small changes to make Metrowerks CodeWarrior for Windows work.
See seperate posting with CodeWarrior project file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-29 00:10:05 +00:00
Michael R Sweet
686aea65d4 Add missing file.
Update dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:19:42 +00:00
Michael R Sweet
8efe8dcc23 Don't need to manually register image formats in these programs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:10: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
Matthias Melcher
9c29ecde90 MacOS:
Pixmap Draw fix: pixmap would always draw from 0, 0
gl_font implemented
FL_FOCUS fix: would not send FL_FOCUS when window activated
window classes fixed: modal() and non_modal() should work much better
glut fix: uninitialised 'display' callback made glpuzzle crash

Please send bug reports


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-27 04:29:39 +00:00
Matthias Melcher
e9f34465e0 Remired CR/LF pairs :-/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-26 03:36:57 +00:00
Matthias Melcher
2967d781d7 Added gl_font calls to Cube demo for gl_font implementation on MacOS (later).
Renamed variable 'todo' in preferences.fl to 'tasks' to make global search for Todo items easier.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-26 02:01:33 +00:00
Michael R Sweet
04f6fbbe03 Make sure DIRECTORY is undef'd for BC++.
Try to get rid of flickering in CubeView demo...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-13 19:36:01 +00:00
Michael R Sweet
91aa5847ba Bug fixes from Sebastien.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-13 18:18:33 +00:00
Michael R Sweet
ddd6ab5d83 Fix some editor problems; still have a few bugs that need to be resolved
before 1.1.0...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-10 21:04:20 +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
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