Commit Graph

751 Commits

Author SHA1 Message Date
Matthias Melcher
49df7f85d8 Additions to the Database Editor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-01 20:53:21 +00:00
Matthias Melcher
c35463fdbe Starting to add a GUI to manage the IDE database.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-27 22:38:25 +00:00
Matthias Melcher
5f1ca6a2b0 Added the IDE database file to the SVN, hoping that even without a visual editor yet, I can keep it consitent.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-27 14:28:22 +00:00
Matthias Melcher
1c38efe1a3 VisualC library naming scheme fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 16:31:17 +00:00
Matthias Melcher
597e726f91 Removed VisualC projects file in old naming convention.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 16:00:57 +00:00
Matthias Melcher
5fdf6300dd Added argument-less constructor in Fuid Widget Class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:40:10 +00:00
Matthias Melcher
4a802a3159 Fixed menu item counting issue in Fluid (STR #2322), Added Fl_Menu_::find_item by callback
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:03:21 +00:00
Matthias Melcher
60c1ccd33e Working VisualC suport in IDE's (dll's are still missing). Fixed a few warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-25 23:29:42 +00:00
Matthias Melcher
7f395e6e44 Added VisualC IDE as it is autogenerated by Fluid. This is still somewhat experimental.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-25 21:21:04 +00:00
Matthias Melcher
d22a237445 Partially working generator for VisualC 6.0 IDEs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-25 09:31:30 +00:00
Matthias Melcher
f3b09c3de5 Much improved automated Xcode3 IDE built. These are the files for creating the IDE. I will replace the Xcode 3 IDE itself in the next step.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 21:38:02 +00:00
Matthias Melcher
a618179b9f Fixed double include in ide support
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 10:03:58 +00:00
Matthias Melcher
e7b48eee5b Supporting an application icon in Fluid IDE support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 22:38:04 +00:00
Matthias Melcher
7b74a91bfd Fixing some indentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7119 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 21:43:18 +00:00
Matthias Melcher
b5ea344b95 Fixed format once more in Fluid unique ID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 21:35:14 +00:00
Matthias Melcher
2f82fd0663 Mixed bag. Please see CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 21:14:47 +00:00
Manolo Gouy
0786bea02e Tentative repair of cast from pointer to unsigned int that breaks 64-bit compilations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 11:46:35 +00:00
Matthias Melcher
529382001f Fixed lost top item in Fluid's tree browser (STR #2233)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 21:29:09 +00:00
Matthias Melcher
6cea1f402d Small fixes to Fluid IDE support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7105 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:51:48 +00:00
Matthias Melcher
3b7e794719 Improved IDE support: Fluid now compiles fine under Xcode (and all framework on which it depends).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 11:02:51 +00:00
Albrecht Schlosser
7ea3819b28 Fixed case of included header files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18 15:40:43 +00:00
Matthias Melcher
0f45c3e5ac IDE support file generation from within Fluid. These files are not yet linked in - simply add them to the Fluid project for testing (uses Fl_Plugin to link themselves in atomatically).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18 13:05:02 +00:00
Matthias Melcher
795b2c6356 Added jpeg loading from memory. Added jpeg Fl_Widget->image() support for Fluid - but linking to fltk_images is required if this feature is used!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18 11:38:42 +00:00
Matthias Melcher
fb1b0fab0a Added new type 'Binary Data' to Fluid. Use this to include an arbitrary file as a byte array into your source code. Changes to load jpegs etc. from program memory will follow.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-15 16:43:51 +00:00
Albrecht Schlosser
6fe1ac09f4 makedepend updates for all source directories (except src/xutf8).
src/Makefile:	adjusted WIN32 and Mac dependencies
test/Makefile:	dto.

Todo: src/xutf8/makedepend needs to be checked. There are obviously functions
and headers that are included in a platform dependent way.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-27 20:16:38 +00:00
Matthias Melcher
092c86c704 This is a very simple implementation of the host side of plugins. Plugins can be linked at compile time to extend Fluid with new command line options. A sample plugin will follow soon.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7024 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 00:20:26 +00:00
Matthias Melcher
38c15442a4 Changed widget bin closing behavior when pressing ESC (which IMO should quit the app, not the widget bin).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-25 20:53:22 +00:00
Matthias Melcher
07a18370ad Added Fl_Tree source code, demo files, and documentation. Thanks, Greg!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14 15:49:12 +00:00
Matthias Melcher
1238d1576b Very crude extension of Fluid 1 to read Fluid 2 files (and possibly write them back as Fluid 1 files, but not Fluid 2!). Also, I started a README that points out the differences between FLTK 1 and FLTK 2 and tries to give some help in designing a downward compatible FLTK 3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-10-02 19:08:55 +00:00
Greg Ercolano
fa53716876 Added extra tooltip indicating Ctrl-J can be used to create
newlines in properties editor fields for Label: and Tooltip:.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6900 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-25 20:42:42 +00:00
Matthias Melcher
e0831b530f Empty functions in Fluid no onger create an implementation (STR 2259)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-23 20:08:30 +00:00
Matthias Melcher
bcd43ecb7d Fixed Fluid dependency on X11 (STR #226)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-23 19:24:34 +00:00
Albrecht Schlosser
5a8e28d30b Fluid printing used wrong colors under Windows (STR #2195)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-27 15:51:21 +00:00
engelsman
88a23466e3 fluid: fix erroneous declaration of user-defined static function (STR #2011)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-27 20:05:03 +00:00
Fabien Costantini
49bb1ab55d Fluid: fixed Help dialog would open the non handled frame version (index.html) instead of the non framed version (main.html) of the documentation, thus making necessary to click to the redirected non-framed page. Now fluid opens directly the non framed documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-20 08:47:18 +00:00
Fabien Costantini
a33d0a6d29 STR#2035 fix : Changed all 1998-200[0-8] dates to 1998-2009 for supported fltk files (this excludes i.e the png subdir).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 14:52:45 +00:00
Fabien Costantini
8a53f05688 STR50 fix attemp. Added a new check_redraw_corresponding_parent() function to redraw the corresponding tab of a Fl_Tabs or Fl_Wizard group. tested with single, multiple selection. Compared to the proposed patch this version only add one function similar to redraw_overlays() without modifying the Fl_Type class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-03 15:44:06 +00:00
Matthias Melcher
167d767e0f Changed the copyright to 2009 for header files. Still todo: src and test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Matthias Melcher
6b3f61e3ff In the configuration setp, LIBNAME (which contains the local path of the library as seen from the src directory) was used wrong. I added LIBBASENAME, the true library name without the path, and replaced LIBNAME wherever it was used wrongly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 19:45:46 +00:00
Ian MacArthur
17e38137d8 STR #2093 - fix typo (name case) FCNTL.H should be fcntl.h, affecting some mingw builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-29 17:06:31 +00:00
Fabien Costantini
8e9c1d1ab0 fixed fluid template would not save correctly under quartz.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 23:07:45 +00:00
Matthias Melcher
8a20846803 STR 1992: Fixed Fluid textcolor output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 20:11:30 +00:00
Matthias Melcher
395129dfdb STR #1991: Fixed wrong default value of Fl_Spinner in Fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 19:52:12 +00:00
Matthias Melcher
e8f467b9e3 Updating fl_utf8.h references. Fixing copyright date in .fl files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19 17:40:20 +00:00
Matthias Melcher
b670807ce0 Fixed Copyright date
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19 00:17:01 +00:00
Matthias Melcher
4e8e8b9f02 More Doxygen comment support for Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18 21:11:28 +00:00
Matthias Melcher
c232e9822d This is a stab at supporting Doxygen comments from withing Fluid. Just double click on a function, class, or declaration and you will be able to add a comment. Comments welcome.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17 22:43:15 +00:00
Fabien Costantini
ae697b80b2 Doxygen documentation : took the opportunity to update copyright info as we modified already in batch almost all sources, added also a fil doxygen command to class headers to harmonize with original matt Fl_Widget dox. format.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16 07:26:22 +00:00
Fabien Costantini
d55dfeb5e9 Doxygen documentation. Fixed somes typos and also H4 remanent misplaced tags and comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 17:46:42 +00:00
Fabien Costantini
c7f4b8c930 merged modification from my private branch after successful regression testing on win32,cygwin/mingw, mac osx, linux.
Fl_win32.cxx and Fl_x.cxx modified for:
======================================
 - STR# 2029 fix: async select using USE_ASYNC_SELECT def. would not work. Obsoleted and commented as discussed
 - STR# 2032 fix: fl_ready would load wsock dll unnecessarily. Bad indents corrected

fluid.cxx modifed for:
======================
Added a local portable Fl_Process class to fluid enabling popen encapsulated win32 impl. based on CreateProcess() to work as expected in non console apps, so that exec command output window is now also implemented in win32, also permitting testing add_fd()/remove_fd() API relying on winsock on win32.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-02 12:03:30 +00:00
Matthias Melcher
3d6201a610 Made the 'align' flags somewhat more typesafe and the associated functions more self explenatory. The large commit results from a new run of Fluid of the Fluid .fl files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-15 20:32:01 +00:00
Michael R Sweet
ba2e9f3375 Make --post create a basic Mac OS X application bundle with a shell script
that executes the bundled program.

Change the defaults for Quartz, threading, large file support, XDBE, Xft,
and Xinerama to "yes".

Remove the old Mac OS X resource fork file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13 21:39:07 +00:00
Matthias Melcher
7c8f5cc888 First attempt at consistently using Fl_Font as a type for the font index and Fl_Font_Size as a type to measure font height (or rather size).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 19:09:28 +00:00
Matthias Melcher
8683ea2c81 Adding keyboard shortcut to Fl_Value_Input and Fl_Text_Editor
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6111 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 14:19:58 +00:00
Matthias Melcher
8d6b757bfe Fl_Value_Input is not derived from Fl_Input_. Fixing Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 23:54:47 +00:00
Matthias Melcher
8198e51799 Added support for keyboard shortcuts to Fl_Input_ derived widgets (STR #1770). Code added for Fluid. Documentation updated.
This commit must be considered partial because there is no shortcut handling for Fl_Text_Display derived widgets or Fl_Value_Input which is derived form Fl_Valuator.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 23:33:17 +00:00
Matthias Melcher
232ef4e159 Updated 1.3 with changes from 1.1.9
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-12 19:16:19 +00:00
Matthias Melcher
7d013249f7 First checkin simply updating a few version numbers and copyright dates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-27 21:38:44 +00:00
Matthias Melcher
6b53adbf41 STR 1896: updated categories in the KDE desktop files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-16 12:07:41 +00:00
Matthias Melcher
9c538a4b2e STR 1883: Attempt to fix installation of binaries in .app bundle on platforms other than OS X. Must be tested with Cygwin and on Linux!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 15:26:08 +00:00
Matthias Melcher
5382d3c8d5 STR 1795: applied patch to fix Icon path settings. Will try on my Linux machine next.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 14:43:34 +00:00
Matthias Melcher
69e3530aba Missing pixmap
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6014 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-05 09:27:49 +00:00
Matthias Melcher
cc1de33950 STR #1741: fixed and improved on missing 'public' attribute in consecutive classes in FLUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-04 22:18:40 +00:00
Matthias Melcher
a1f96ffea0 STR #1776: FLUID now tries to find a previously declared callback to avoid declaring one as 'extern'. I also replaced many 'public' Light_Buttons with pulldown menus which offer either 'local'/'global', or 'private'/'public'/'protected', depending if the item is outside or inside a class. I took great care to make this change transparent to previous .fl files. Downward compatibility is only problematic if the new 'protected' keyword is used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-04 21:45:49 +00:00
Matthias Melcher
8cbd953687 STR #1751: changing the window size in FLUID now sets the 'modified' flag
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:18:20 +00:00
Matthias Melcher
3c62765e3a #1706: changed test/tile to expose issues with reversed order of 'show'. Changed Fluid to disallow a widget class inside a widget class, because Fluid has no subwindow support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 09:35:42 +00:00
Michael R Sweet
73d01dd659 Fix all compiler warnings from various build systems.
Fix vsnprintf() implementation to properly handle long and long long ints.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 00:01:06 +00:00
Matthias Melcher
dba81e6fca Removed obslete .cvsignore files (STR #1683)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-17 15:56:57 +00:00
Matthias Melcher
e42fac099f Annoyed by the limitation in Fluid to generate keyboard shortucts for either Mac or Win32/Linux, I added a Project option. If checked, all keyboard shortcuts containing the modifier FL_CTRL or FL_META will instead be writte as FL_COMMAND|shortcut. This will generate FL_META shortcuts on the Mac and FL_CTRL shortcuts on the PC.
This is compatible to old Fluid files. The .fl file will not change (except for the project wide setting itself) and no information is lost. As the only limitation, it is not possible to write any combination of FL_META and FL_CTRL while "use FL_COMMAND" is set.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-10 12:06:31 +00:00
Matthias Melcher
6df72e8979 STR #1623: restored the unloved POSTBUILD command because the reulting executable is still better than the automatically foregrounding one. The 'right thing' is to create a bundle anyways.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:03:25 +00:00
Michael R Sweet
00c66abc0e Update copyright years and use "#ifndef" instead of "#if !defined".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 18:43:10 +00:00
Matthias Melcher
8ea59b412e Fixed Watcom compiler setup without verification using a patch by mnieuw
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 17:02:41 +00:00
Michael R Sweet
1dd28f6e4b Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-10 14:31:12 +00:00
Michael R Sweet
58cfbc6c82 Use INSTALL_BIN instead of CP for Mac OS bundles...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 21:46:02 +00:00
Michael R Sweet
44b2ff35cf Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Michael R Sweet
3fb13c36d7 Don't open display when generating source code for Fl_Help_View
widget (STR #1318)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 20:09:53 +00:00
Matthias Melcher
e36d3a07ce - Fluid avoids writing unsopported combinations of the
"when()" flags (STR #1501)
- Fl_Browser_ would allow keyboard callbacks even though
  "when()" was set to "never" (STR #1501)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 20:32:54 +00:00
Matthias Melcher
504ba253d4 Fixed Scroll crash in Fluid Live Mode (STR #1524)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 11:28:47 +00:00
Michael R Sweet
68e1aa9757 Making a child group visible in a Fl_Tabs or Fl_Wizard widget now
selects that tab/pane.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-04 15:06:30 +00:00
Michael R Sweet
e806450644 Use strspn() to look at full words (better "o" detection)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-03 02:56:36 +00:00
Michael R Sweet
2ab7525eb3 Treat all "Window" classed widgets as window widgets.
Don't automatically include non-FLTK headers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-20 00:34:48 +00:00
Michael R Sweet
2d2b24b781 Fix dead pixel in FL_GTK_UP_BOX/FRAME (STR #1471)
Use FL_COMMAND modifier in FLUID menus (CTRL for non-OSX, CMD for OSX)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-14 04:35:24 +00:00
Michael R Sweet
7b15f5b159 Fix install-linux target in test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-07 11:32:22 +00:00
Michael R Sweet
7febae3f9e Add GTK thin up/down box/frame types.
Update the GTK round up/down box types.

Update radio/check box drawing for gtk+ scheme.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-03 02:35:12 +00:00
Michael R Sweet
174c006fd5 Update "o" variable detection code to handle more cases (STR #1429)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24 19:24:12 +00:00
Michael R Sweet
6a01d2cf69 Fix handling of public/private stuff for widget classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 18:34:17 +00:00
Matthias Melcher
36d32a9ec9 Decluttered Fluid Widget Bin to look good w/Mike new GTK+ scheme. Thanks Mike!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 18:31:35 +00:00
Michael R Sweet
982ee98332 Add GTK box types and missing plastic round box types.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 15:59:02 +00:00
Michael R Sweet
b4c1d3ef03 Implement new "gtk+" scheme which provides a Bluecurve look-n-feel.
Fix size and position of dialog controls in FLUID to match the HIG.

Add "GTK+" scheme to the list of selectable schemes in FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5438 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 14:58:25 +00:00
Matthias Melcher
3ef18e4b7d STR 1416: Fluid would not output the correct code for a window's hotspot
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5412 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 20:01:15 +00:00
Matthias Melcher
46a890cad3 Fixed typo in 'desktop-osx' install. Commented out unused variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-30 10:01:35 +00:00
Matthias Melcher
17428cce3e - Fluid Code Declarations can now handle C++ style comments (STR #1383)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 11:00:22 +00:00
Michael R Sweet
ddfe7bb5b6 Fix Fl_Widget_Class_Type so that you can add code to a widget class
constructor.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-21 01:59:11 +00:00
Matthias Melcher
1cc3338a10 Changing the shorcut of a widget in fluid now marks the document as dirty (STR #1382)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 13:59:00 +00:00
Michael R Sweet
d9eecaf4ab Fix problems with new FLUID output, add common to closing braces to show
what widget is being closed, and bump the version number to 1.1.8 in the
repo...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-27 19:26:11 +00:00
Michael R Sweet
0043e7a44d Fix return of window widget - use "w" or the name of the window, as
appropriate.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 23:27:32 +00:00
Michael R Sweet
7e3daaf145 Update copyrights on changed files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 19:53:19 +00:00
Michael R Sweet
500d7616fd Revamp variable tests so that we rarely need to provide "o" and
"w" variables. This eliminates most of the "variable is shadowed"
warnings from GCC we get after creating .cxx files from FLUID.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 19:52:28 +00:00
Michael R Sweet
58699112db Fix use of LDFLAGS and make install depend on all target...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-25 19:06:56 +00:00
Matthias Melcher
05bd3ade18 Added support for floating point Fl_Spinner
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-22 07:35:39 +00:00
Matthias Melcher
77a20dbef3 STR #1280: added support for assigning Fl_Menu_Items to array variables in Fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-20 10:18:49 +00:00
Michael R Sweet
eea2b38b34 Add --with-archflags option to configure script, and use it in the right
places.

Update changes file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 18:29:31 +00:00
Matthias Melcher
11de032d6d If the value field for scrollbars was not zero, Fluid would generate code that accesses the hidden function Fl_Scrollbar::value(double), causing a compile time error. The fix circumevents the hidden function by calling Fl_Slider::value. It would be better to change the entire Fluid interface to reflect the Scrollbar interface.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:34:19 +00:00
Matthias Melcher
0148f1cfd0 Mark a FLUID Project as "modified" when the user changes the visible Tab widget because that change will reflect in the generated source code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:08:48 +00:00
Matthias Melcher
0728999a83 Loading a file would not update the Widget Propertis dialog in FLUID (STR #1326)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:01:01 +00:00
Matthias Melcher
d814fce94d - In Fluid, declarations starting with the keyword
'typedef', 'class', or 'struct' are now treated
          correctly if inside a class (STR #1283)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-28 15:59:29 +00:00
Matthias Melcher
92d0163f40 Declarations in Fluid can now explicitly be made non-static or non-extern. This allows the declaration of types like 'enum'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-18 14:40:10 +00:00
Matthias Melcher
cdc1d7d5e3 Fixed FLUID undo. Thanks Fabien fr finding this.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 18:12:05 +00:00
Matthias Melcher
8e37fbafc8 STR #1187: Fixed missing reset of flag in FLUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 13:50:44 +00:00
Matthias Melcher
4e038ef82b STR #1169: Fixed 'make distclean' to remove binaries inside MacOS app packages
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:10:00 +00:00
Matthias Melcher
d90102f9d2 Fluid Code Viewer is now truly a viewer, not an editor. I would love to allow text editing in the Code Viewer and re-enter the code into the UI, but that is currently close to impossible to implement
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:00:41 +00:00
Matthias Melcher
f74a812003 STR #1158: Fl_Spinner is now fully supported by Fluid. Previously, min, max, step and value could not be edited the usual way because spinner is derived from Fl_Group, not Fl_Valuator...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 22:47:59 +00:00
Michael R Sweet
e6bbd2d525 Update copyrights.
Also check for feof() when the character returned by getc is < 0
to work around a bug in Cygwin.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 19:00:08 +00:00
Michael R Sweet
e976174d61 FLUID didn't handle loading .fl files with international
characters properly with all compilers (STR #1150)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 16:22:06 +00:00
Michael R Sweet
1a12cf01d2 Update Linux desktop files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:44:00 +00:00
Michael R Sweet
9b12d18155 Update EPM list file and OSX icon for FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:05:11 +00:00
Michael R Sweet
f20fc63567 Fix OSX make and install stuff.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:26:08 +00:00
Michael R Sweet
d4713f59c5 Add OSX application stuff for FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:14:04 +00:00
Michael R Sweet
61b86ce0e5 More packaging fun (games package to "advertise" FLTK...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:02:44 +00:00
Michael R Sweet
464c2f4a5e Separate the desktop install/uninstall stuff so that users that don't
want desktop integration (or don't have root access) will be able to
install/uninstall.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 15:15:34 +00:00
Michael R Sweet
45ff3267cd Fix installation of Linux desktop files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:25:44 +00:00
Michael R Sweet
887a458227 Work on Linux and OSX desktop integration stuff via make install and
packaging via EPM.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:16:09 +00:00
Michael R Sweet
f7305675c4 More copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:26:54 +00:00
Matthias Melcher
0ea6761db2 - Fixed keyboard shortcut handling in FLUID and shortcut
labeling in FLTK (STR #1129)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 14:11:04 +00:00
Matthias Melcher
d3db965083 Fixed a few memory faults found by Valgrind (yes, I finally got my Linux
machine up and running again)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 10:13:17 +00:00
Matthias Melcher
3a635d7884 STR #1046: Fl_Window does not directly support a background image in FLTK 1.1.6 because those images are overwritten by Fl_Window::show() anyways. FLUID now grays out the unused "image" and "inactive image" input fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-16 15:33:47 +00:00
Michael R Sweet
f3182417c0 Update dependencies.
Eliminate compiler warnings in Fl_GIF_Image.cxx.

Add X11 icon code to sudoku example.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27 15:05:50 +00:00
Michael R Sweet
e321cb37bf VC++ 2005 Support, drop old files, add icons for Sudoku
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27 14:45:48 +00:00
Matthias Melcher
79015a71f7 FLUID1: correctly hide the "X Class:" label whenever the XClass input field is hidden
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04 15:21:26 +00:00
Matthias Melcher
7f6bacf237 FLUID1: The comment entry in the Browser now reveals some more information by showing multiple lines up to 50 characters. Also, a change just to make sure our Code View won't harm.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04 15:16:24 +00:00
Michael R Sweet
fa517add2e Clear style buffer in destructor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04 02:34:33 +00:00
Michael R Sweet
309e21c9fd Fix new GUI panels to conform to HIG.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-03 22:16:52 +00:00
Matthias Melcher
1b43ec7690 Added some safety measures that assure safe compile only mode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-03 21:04:18 +00:00
Matthias Melcher
1a5288e8fe Fluid Source Code preview panel with automatic refresh and selected object code highlighting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-03 20:43:19 +00:00
Michael R Sweet
5cdf984737 Remove DOS line endings from text files.
Make sure that all files have the proper MIME type and eol-style properties
set.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02 19:06:55 +00:00
Matthias Melcher
cddb39a066 STR #1052: Updated FLUID to generate buttons in the correct colors. After all these changes, it may be useful to rebuild all cxx files from fl files. This will make sure that menu items are rendered in foreground color instead of simply black
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02 13:55:13 +00:00
Michael R Sweet
067d1d8a61 Updated the default label and text colors of all widgets to use
FL_FOREGROUND_COLOR instead of FL_BLACK (STR #1052)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-30 17:42:21 +00:00
Matthias Melcher
77484a4e2d FLUID writes RGB and Bitmap image data as an array of decimal numbers instead of a string since "a certain compiler by a large operating system vendor which shall remain unnamed" can not handle long strings and produces heap overflows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-26 09:08:01 +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
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
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
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
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
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
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
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
Matthias Melcher
6bd434fe47 #959: outside labels in fluid moved, so that they refresh correctly even when previously clipped. Remove superfluous grouping. Using contrasting color for label of selected Tabs. MUST GET 1.1.7 OUT SOON! ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 11:33:12 +00:00
Matthias Melcher
c9bfdc20fc FLUID now correctly redraw FL__Tabs if one of their children changes color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-16 21:05:52 +00:00
Michael R Sweet
a9231a88c5 Cast value to int to avoid compiler warnings...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-16 12:15:48 +00:00
Matthias Melcher
78e4274963 Added support for Fl_Window::size_range() in FLUID. There are no UI elements for increment or aspect ratio.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 23:07:20 +00:00
Matthias Melcher
41c089f3c1 Dottet label selection box and standard widget selection boxes would not always align when snapping was enabled. Also, the dragging indicators would not snap. (STR #964)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 20:40:16 +00:00
Dejan Lekic
1cd06f3ad0 This commit contains patch submitted by "fltk.x0" (thanks fltk.x0!) in the middle of May this year - STR #863. Also small change in fluid.cxx - time.h was needed for successful build on MinGW.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-06 05:02:56 +00:00
Matthias Melcher
9688b0b1c3 Fluid was casting Fl_Input_Choice to Fl_Menu_ at two occasions which is wrong since Input_Choice is derived from Fl_Group. Fixed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 22:56:27 +00:00
Matthias Melcher
35b28fafd1 last character in CodeEditor (Fluid) would disappear under certain circumstances. The problem is two consecutive calls to Fl_Text_Buffer::insert() which first insert a newline, then indent the text by two spaces. The first 'insert' marks the text all the way to the end for redraw. The second 'insert' adds two characters, however the last character for redraw remains the previously last character, hence the very last two characters are not redrawn.
This fix changes the CodeEditor to do a single 'insert'. It would be better to change Fl_Text_Display to increment the redraw range if more characters are inserted before the actual draw is called. Since this goes too close to core code for my taste, I leave that as an exercise for 2.0.




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-22 20:18:56 +00:00
Matthias Melcher
394ab6af40 Declaration in Fluid now uses its own public/private setting unless the parent is a private declaration block, which sets contained declarations to private as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 13:20:14 +00:00
Matthias Melcher
580ecb0048 - Fluid overlay now shows a seperate bounding box of selected
items with correct handles and a dotted boundig box for all
          labels (STR #790)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 11:33:34 +00:00
Matthias Melcher
a15e974676 - I enlarged the 'minimal update' area in Fl_Input_, so that characters that overlap the font box will be correctly erased during minimal redraw. The original code assumes that character fin in a box from 0,0 to charcter width/height. However, many newer fonts overlap that box and leave traces when redrawn. See 'j' and 'W' in Helvetica on Mac and Windows.
- added textsize etc. support for Fluid Live Mode for Fl_Input type.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 11:11:51 +00:00
Matthias Melcher
72da53c9c7 Fluid live mode: correct tooltip support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-19 12:27:35 +00:00
Matthias Melcher
f64d694799 Better support for Live mode in Fluid. Most Widget attributes are now supported including pulldown menus (in a very simple, but working way).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-19 12:12:15 +00:00
Matthias Melcher
e8ea433222 Changing the 'private' flag would not reflect in the widget browser immediately.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 09:14:58 +00:00
Matthias Melcher
59b74e9fcb If starting Fluid with the -c (compile only) option, Fluid should not require a connection to the X11 Display anymore, allowing fluid to create code on head-less terminals.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-15 09:48:09 +00:00
Matthias Melcher
7f526e1362 - Fixed Fl_Bitmap::copy code according to Stephans suggestions. Thanks! Good catch.
- Fixed some minor alignment in Fluid.
- Live Mode window in Fluid is now double buffered to get rid of flicker.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-14 13:16:17 +00:00
Matthias Melcher
9e28a66b1f fixed 'static' vs. forward declaration mixup for my last commit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4409 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-09 07:48:05 +00:00
Matthias Melcher
8461a157e4 Added the first implementation of "live mode" to Fluid. This is incomplete and mostly untested, but it seems to be a great help to figure out the darned wonderful resize behavior. I apologize for typos, no time to compile on Linux. Please feed back.
More details in the developers mailing list.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-08 14:12:00 +00:00
Matthias Melcher
5b8d9e746a Fluid: Added a pixmap for WidgetClass, added pixmap to the Widget Bin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4383 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30 07:32:29 +00:00
Matthias Melcher
107304f75f Made all menu items fit into Fluid dialog Widget Properties/GUI/Label
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30 06:50:01 +00:00
Matthias Melcher
d35b4eded3 Made most Fluid properties dialogs duoble buffered, because they tend to flicker during resizing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30 06:40:25 +00:00
Matthias Melcher
977e234a92 Two Fluid dialog boxes were 2 pixels to wide.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30 06:35:50 +00:00
Matthias Melcher
0132f4f8fd Fluid panel resize and alignment fixes (STR #891).
Everything should resize nicely now. All Widgets have been realigned. Hope you guys like it... .

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29 22:28:13 +00:00
Matthias Melcher
69a0601c2a Fixed alignment win Widget bin. Still to do:
Change tab order to reflect pulldown menu order
Add Widget Class Icon


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29 07:15:39 +00:00
Matthias Melcher
475a3696cc Fixed Function Panel in Fluid to obey HIG
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-28 21:00:11 +00:00
Matthias Melcher
1c4ed73d47 Made Comment Properties dialog obey HIG (I hope) and fixed resizing behavior (STR #891, partial)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-28 20:52:03 +00:00
Michael R Sweet
067d8d2d16 Fix eol-style in Watcom files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-19 16:07:13 +00:00
Michael R Sweet
13d8286b8a FLUID didn't set the initial size of widgets properly (STR #850)
Fl_Tabs would steal focus away from its children on a window
focus change (STR #870)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-19 15:57:32 +00:00
Michael R Sweet
5ca7674da3 Updates to cmake project files (STR #813)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-13 03:05:08 +00:00
Michael R Sweet
8a275b2985 FLUID wasn't tracking all changes on the widget panel, so undo and save stuff
didn't work if you just changed colors, etc.

Use blue selection color for tabs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-21 19:03:46 +00:00
Michael R Sweet
dd0503576d Fix compiler warnings.
Add demo.menu and all xbm and xpm files in test directory to install
list.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-18 20:23:29 +00:00
Michael R Sweet
1c399af444 Update source file headers with STR web page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:13:17 +00:00
Michael R Sweet
b41cf28662 Update "clean" targets to properly handle core files, remove backup files,
etc.

Add "install" target to test directory which installs the example programs.

Install the config.h file in the examples directory.

Make sure the example programs compile outside the FLTK source dir.

Add example programs to fltk.list.in.

Fix missing redraw() in x_cb() in FLUID...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:01:49 +00:00
Michael R Sweet
91c3b8231d Fix subclass callback output code.
Make fltk-config script executable after rerunning configure script.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-15 20:45:07 +00:00
Michael R Sweet
fc4db19395 Don't make non-inline methods from FLUID inline (that is, remove the
"inline" from non-inline methods...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-15 18:00:33 +00:00
Michael R Sweet
70c4cd102f Fix compiler warnings.
Use fl_yes and fl_no for the Forms emulation, instead of the hardcoded
strings.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-14 13:56:07 +00:00
Michael R Sweet
217f77c9ef Eliminate compiler warnings on Solaris...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-14 12:29:51 +00:00
Michael R Sweet
8dda432b40 Make comment strings const char *...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-14 12:20:12 +00:00
Michael R Sweet
3cd132b947 #include print_panel.cxx in fluid.cxx, so that we don't need to put it in
the makefile (which won't work for MingW).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-13 16:36:14 +00:00
Michael R Sweet
e3ce6cd15a Cast GetCurrentProcessId to int to avoid compiler warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-13 16:32:52 +00:00
Michael R Sweet
27d36574ec Fix definition of auto_indent() method...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-11 21:16:25 +00:00
Michael R Sweet
c279f087a1 Add missing include for undo functions (STR #773)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-10 22:33:34 +00:00
Michael R Sweet
af500d018d Fix move within custom widget bug (STR #796)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-10 22:32:06 +00:00
Michael R Sweet
9edf9a743e Add GCC printf format attribute check to catch code formatting
errors...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4256 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-10 02:07:43 +00:00
Michael R Sweet
000eca281a FLUID widget class support fixes.
fluid/Fl_Window_Type.cxx:
    - Fl_Widget_Class::write_code1(): forgot name() in window
      class constructor.

fluid/code.cxx:
    - write_code(): skip nodes as needed when writing code so we
      don't place method code in the constructor.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4252 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-09 14:17:13 +00:00
Matthias Melcher
f12052870c STR #784: Fixed tooltip stating 'function' instead of 'comment'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4233 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-02 18:57:49 +00:00
Michael R Sweet
81fd6777b2 Finished changes needed to support full widget classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-29 13:28:43 +00:00
Matthias Melcher
af10e22140 Made fluid compile under VicualC6 again. Unfortunatly , the wonderful 'print' addition crashes in fl_color_win32.cxx, line 72.
Fixed a silly 'I have a great idea - wait - what was it again'-bug that would use a static buffer twice - although without causing any bugs.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28 21:12:54 +00:00
Michael R Sweet
119f78bee0 Handle window class methods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28 13:38:23 +00:00
Michael R Sweet
bae6f62ea8 Fixed window class code generation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28 13:35:12 +00:00
Michael R Sweet
c94a59c3f7 Add support to FLUID for widget class creation without the intermediate
class stuff.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28 05:04:13 +00:00
Michael R Sweet
2abfda36ab Preliminary support for widget classes (still need to do code writing
methods...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28 04:23:32 +00:00
Michael R Sweet
9f6d4ada32 Save work on FLUID printing on Windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-26 16:02:27 +00:00
Michael R Sweet
3b6c4b788e FLUID printing support for Windows (still working on some
issues with printing the simulated window borders, and the
page range/selection/all stuff doesn't seem to work...)
 

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-26 05:58:20 +00:00
Michael R Sweet
f6a137b998 Fixed VC++.NET project files (FLTK, FLTKDLL, FLUID).
Fixed Cygwin FLUID compile problem (STR #772)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25 21:12:15 +00:00
Michael R Sweet
f5ed012b28 Updated Fl_File_Chooser to correctly deselect other items when
the user picks a file or directory in multiple selection mode
(only files or directories, not both at once...)

Use the fl_file_chooser_ok_label() function in FLUID.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25 18:58:18 +00:00
Michael R Sweet
2ccbfdccc9 Fl_File_Chooser no longer resets the type() when choosing a
single file, and it now works when selecting multiple directories
(STR #747)

Fl_File_Icon::load_system_icons() now only loads 16x16 and 32x32
icon images to improve startup performance.

Fixed an error dialog message in FLUID.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25 17:27:07 +00:00
Michael R Sweet
6d65dcba88 Change Fl_Spinner to use double values instead of ints.
Update FLUID dependencies.

The # copies spinner was just a bit too small for 100 copies.

Didn't set the menu divider if there were exactly 10 files in the history.

Add documentation for Fl_Spinner.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25 02:39:25 +00:00
Michael R Sweet
60b5a637f3 Add option to control the number of file history that is shown
(default 5, range 1 to 10 files)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24 17:45:50 +00:00
Michael R Sweet
ae55d848e9 More HIG stuff - file menu now shows recent files in-line, above the "Quit"
item.

Removed debug stuff from template panel.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24 16:31:59 +00:00
Michael R Sweet
2bf787ce69 Resizing or moving a window through the widget panel now resets the
window size_range() so that the window can still be resized through the
window manager controls...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24 13:14:43 +00:00
Michael R Sweet
9e84259e6c Add auto-indent to code editor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24 04:07:19 +00:00
Michael R Sweet
e01bdbfbf2 Update tile image to 64x64 (STR #769)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-23 03:48:42 +00:00
Michael R Sweet
325dc85b2c Fix syntax highlighting bug in the editor demo, and port changes to the
CodeEditor widget in FLUID.

Use the CodeEditor widget for the other code windows.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-23 03:13:31 +00:00
Michael R Sweet
f0c00448b0 Add "Use" button to printer properties (uses settings for that job only)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 19:59:45 +00:00
Michael R Sweet
4afcc1762c Fix order of output mode buttons...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 19:57:50 +00:00
Michael R Sweet
7d6b887401 If window has not been shown yet, set the image to the scheme_bg_ image so
that prints and template screenshots show the correct background.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 19:41:23 +00:00
Michael R Sweet
55002148cd More printing tweaks (nicer looking simulated windows...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4158 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 19:35:43 +00:00
Michael R Sweet
880928146d Image reading, template handling, and printing bug fixes.
CHANGES:
    - Add fl_read_image() note and move documentation STRs back
      to the top of the list...

fluid/fluid.cxx:
    - Use printer choice data instead of the label text, since
      we have to escape / in printer names.
    - Change page number in header to n/N.

fluid/print_panel.*:
    - Don't disable properties button, ever.
    - Quote / in printer names.
    - Put copy of real printer name in the user data.
    - Use user data instead of label text for printer name.

fluid/template_panel.*:
    - Only free the files array if num_files > 0.

src/fl_read_image.cxx:
    - Use fl_visual->visual->*_mask instead of fl_*mask and
      fl_*shift when the XGetImage() data does not have them
      set.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 17:34:03 +00:00
Michael R Sweet
e852b736ad Initial integration with editor-based CodeEditor class (only the widget
callback editor right now)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 06:28:30 +00:00
Michael R Sweet
8a5eef2917 Fix minor printing glitch with simulated window borders.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 05:02:05 +00:00
Michael R Sweet
bcadb07bb2 Printing support for FLUID...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 04:51:16 +00:00
Michael R Sweet
e12e37c5f9 Add Fl_Spinner widget (another combo of existing widgets in a header file)
Set the window callback to do the same as the cancel button in the template
panel.

Clean up widget bin + tooltips (didn't have correct tooltips for new widgets)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 23:38:14 +00:00
Michael R Sweet
0919d57c33 Template panel for "new" and "save template" actions, complete with
preview images that are generated when you save the template.

Use @INSTANCE@ anywhere you want to substitute an instance name.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 21:27:20 +00:00
Michael R Sweet
0bc98fd29e Preliminary template save support in FLUID, plus some bug fixes.
fluid/Fl_Type.h:
    - Added read_image() declaration to Fl_Window_Type class.

fluid/Fl_Window_Type.cxx:
    - Added Overlay_Window::read_image() and
      Fl_Window_Type::read_image() functions.
    - Fl_Window_Type::fix_overlay(): update menu indices.
    - toggle_overlays(): update menu indices.

fluid/fluid.cxx:
    - save_template_cb(): Added to save to
      ~/.fltk/fltk.org/fluid/templates, along with PNG screenshot
      of first window.
    - "Save To" instead of "Save to".
    - Use fl_alert() for errors, not fl_message().
    - Add "File/Save Template..." and "File/Print..." (not yet
      implemented) menu items.
    - toggle_widgetbin_cb(): update menu indices.

fluid/undo.cxx:
    - Update menu item indices.
    - Don't need extra slash in undo checkpoint filename.

src/Fl_PNG_Image.cxx:
    - Fix typo in #endif comment.

src/Fl_Window.cxx:
    - Fl_Window::draw(): save/restore flags() when changing label.
    - Fl_Window::iconlabel(): save/restore flags() when changing label.

src/fl_rect.cxx:
    - fl_not_clipped(): don't use current window for gross clipping.





git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 17:41:56 +00:00
Michael R Sweet
4e965380bc Use uppercase letters for shortcut labels (e.g. "Ctrl+N", not
"Ctrl+n") to be consistent with other toolkits.

Remove debug printf from undo_checkpoint().

Change "Show Widget Panel" to "Show Properties" since it displays any
Fl_Type dialog, not just the widget panel.

Add "properties" to all of the type dialogs (UI consistency)

Remove extra elipsis (...) from code items in the new menu.

Revert Grid shortcut to Ctrl+G, since Alt+G is used to run a shell
command again.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 14:35:18 +00:00
Matthias Melcher
a4786598bb 'Show/Hide Widget Bin menu item is 39, not 38
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4145 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 14:02:21 +00:00
Michael R Sweet
0bbcbe666d Do'h! Forgot to add these files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 13:38:04 +00:00
Michael R Sweet
a2f4b27b27 Undo/redo support for FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 04:00:48 +00:00
Michael R Sweet
665a2c1b7d Add "Edit/Delete".
Clean up menus.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 01:49:46 +00:00
Michael R Sweet
921dabf5b8 Add "scheme" chooser in GUI settings dialog.
Set window image to scheme_bg image when the window is shown.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 00:51:02 +00:00
Michael R Sweet
2cef7d91d3 Hide/Show Widget Bin and Overlays, instead of checks.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 00:12:21 +00:00
Michael R Sweet
46476b4e37 Fix order of Cancel, Save, and Don't Save buttons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 23:49:46 +00:00
Matthias Melcher
009283b48c file fluid.cxx must include <io.h> on Windows to find the access() function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4132 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 14:54:54 +00:00
Michael R Sweet
b0f0910f79 Widget panel has "Close" instead of "OK" button.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 08:41:51 +00:00
Michael R Sweet
81bd60b47d More UI cleanup.
fluid/*.fl:
    - Go through all of the UIs and make sure they conform to the
      UI guidelines.

fluid/fluid.cxx:
    - Change fl_ask() and fl_choice() to use the "Save"/"Don't
      Save" and similar button labels instead of "Yes" and "No",
      per UI guidelines.

fluid/factory.cxx:
fluid/Fl_Type.h:
    - Make sure that widget and type names are capitalized.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 08:38:21 +00:00
Michael R Sweet
59004878f3 Many FLUID updates...
fluid/align_widget.cxx:
    - Add widget_size_cb() to set default size and size of
      labels and text for selected widgets.

fluid/factory.cxx:
    - More normalization of menus - "..." when opening a window,
      Capitalized Words.
    - cb(): Assign default label/text size and resize to ideal
      size.
    - Make sure that all buttons, input, and valuator widgets
      have default label strings.
    - Fl_*_Button::ideal_size(): fix ideal width calcs to match
      widget.

fluid/Fl_Menu_Type.cxx:
    - Fl_Menu_Item_Type::make(): set default label size.

fluid/Fl_Type.h:
    - Add Fl_Widget_Type::default_size global.
    - Fl_Menu_Item_Type::type_name(): return "Menu_Item".
    - Fl_Submenu_Type::type_name(): return "Submenu".
    - Update ideal_size() methods to use a default height that
      is evenly divisible by 5.
    - Fl_Choice_Type::ideal_size() and
      Fl_Menubutton_Type::ideal_size(): fix ideal width calcs to
      match widget.
    - Fl_Menu_Bar::ideal_size(): add, returning the window
      width.

fluid/fluid.cxx:
    - Add "Layout/Widget Size" submenu.
    - "File/Write code..." becomes "File/Write Code..." and
      "File/Write strings..." becomes "File/Write Strings..."

fluid/fluid.plist:
    - Bump version number and copyright info.

fluid/Fl_Widget_Type.cxx:
    - Fl_Widget_Type::ideal_size(): add box dw/dh and enforce a
      minimum size of 15x15.
    - labelsize_cb(): use Fl_Widget_Type::default_size instead
      of FL_NORMAL_SIZE.
    - textsize_cb(): use Fl_Widget_Type::default_size instead of
      FL_NORMAL_SIZE.

fluid/Fl_Window_Type.cxx:
    - Fl_Window_Type::newdx(): require at least 2 pixels of
      movement.
    - Fl_Window_Type::draw_overlay(): adjust bounding box for
      outside labels above and below.
    - Fl_Window_Type::handle(): reset dx/dy on FL_PUSH.

fluid/function_panel.cxx:
fluid/function_panel.fl:
fluid/function_panel.h:
    - Update some of the windows for the "small" size.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 04:09:32 +00:00
Michael R Sweet
a218f44b5d Bug fixes and UI tweaking...
src/Fl_Menu_.cxx:
    - Fl_Menu_::find_item(): wasn't checking for a non-NULL label()...

fluid/alignment_panel.*:
fluid/widget_panel.*:
    - Use small controls, normalize layout.
    - Add FLTK header/footer comments.

fluid/Fluid_Image.cxx:
    - Use relative paths for images.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-18 06:29:11 +00:00
Michael R Sweet
1e742cc41f Use check items for overlays and the widget bin, and track their state.
Add Edit/Duplicate to duplicate the current selection; this functions
independently of the cut/copy/paste buffer.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-17 21:57:17 +00:00
Michael R Sweet
8fcd08ffaa Tweak 1.1.x FLUID some more...
fluid/about_panel.*:
    - Finish cleanup of about dialog.

fluid/comments.h:
    - Change default FLTK header comment to refer to the STR
      page instead of fltk-bugs (will update the CMP
      accordingly)

fluid/fluid.cxx:
    - Update all menu items that open a window to have "..."
    - Change overlays/widget bin on/off to "Toggle foo"
    - Add a divider after toggle items.

fluid/makedepend:
    - Update FLUID dependencies so that changes to comments.h
      will cause an rebuild of the affected files.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-17 07:11:57 +00:00
Michael R Sweet
fb820bcf23 Add icon images (still need to update OSX icon file...)
Update FLUID about window to use new icon and clean up layout.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-10 12:23:43 +00:00
Michael R Sweet
7cad39d3ef Start working on a new FLUID icon for desktop integration...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4098 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-10 04:15:17 +00:00
Michael R Sweet
3bf9a5cb2f Ahem, Fl_File_Chooser.H, not fl_file_chooser.H... :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-10 03:14:20 +00:00
Matthias Melcher
327f5f14a5 Removed warning about for(;;) variable lookup
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-09 21:35:09 +00:00
Matthias Melcher
fc1a4cf809 Added a new Type to fluid called 'Comment' to be used for standardized Copyright notices and other comments throughout the source code.
- simply add the 'Comment' type from the 'New' menu or the Widget Bin
- comments in the very first position will be added at the very beginning of the source file or header. Comments at the end are at the very end in source and headers as well.
- if the users enters simple text, FLUID will add '// ' in front of every line. If a line already starts with '//' or a block starts with '/*', the text will be copied verbatim.
- text can be loaded from files
- text can be stored in a database and quickly retrieved later via a pulldown menu. The pulldown menu is customizable.

Enjoy!

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-09 21:26:53 +00:00
Michael R Sweet
29e022cc46 Use grid size for window resizing.
Save work on project settings dialog.

Ideal spacing for group-derived widgets is 10 pixels, except for
tabs which has a Y spacing of 25 (for the normal label size)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-08 13:46:31 +00:00