Commit Graph

3737 Commits

Author SHA1 Message Date
Matthias Melcher 90ea2137de Added new naming convention
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7154 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 16:02:03 +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 056cd02b10 Attempt at a better menubar shortct alignment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:28:36 +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
Albrecht Schlosser 47bcd46d26 Quick fix for embedded comments problem in Fl_Menu_.cxx introduced
by documentation changes in r 7148.
Greg, please try a better fix, if you like.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 08:54:35 +00:00
Greg Ercolano c3c72beb23 Fixed problem with Fl_Menu_::item_pathname() was misrepresented as a 'Set' method.
Both item_pathname() and find_item()'s docs were strengthened.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 03:29:05 +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
Greg Ercolano 6376e36aa0 Documented supported HTML tags. (STR#2321)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-23 15:55:22 +00:00
Matthias Melcher b733e245e8 Attempt to fix the VisualC2005 IDE files without actually havinf VC2005 :-/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 22:59:51 +00:00
Matthias Melcher 3b65dcead9 Fixed Demo for OS X to use the correct command to launch other applications from the right current directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7133 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 22:46:13 +00:00
Matthias Melcher 47ed5a1ddd A completely new set of IDE files for the entire FLTK project. This project should be pretty clean and up to the newest standards in Xcode3. The debug version builds whatever is best on the current platform. The Release version builds a Universal Binary for PPC, win32, and x64 - verified OK! I will rename the now outdated Xcode3.1 project and eventually remove it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7132 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 21:54:42 +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
Manolo Gouy cdfefaed88 Simpler Fl_X::q_begin_image() function without matrix inversion that accepts scaling and rotation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 18:40:15 +00:00
Matthias Melcher 0650daaaac Fixed silly deletion in Demo.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 17:56:25 +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
Albrecht Schlosser 7ae0c170ad Added Fl_Widget_Tracker in handle() methods etc. to avoid accessing widgets
after deletion (STR #1306). This is all I could find, but maybe there are
more places in the code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 17:40:07 +00:00
Manolo Gouy c7a1aead4c Removed unnecessary statement when destroying a window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 17:28:44 +00:00
Manolo Gouy 191abba69a Fixed Alt+Shift+letter as shortcut
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 14:06:36 +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 4763df1636 Removed the Forms definition of FL_CLOSE since it is never used anyways and conflicts with FLTK FL_CLOSE. (STR #2266)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7107 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 21:15:48 +00:00
Matthias Melcher b737694f4a test/Editor was freeing the text buffer too soon and no clearing callbacks. (STR #2294)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 21:08:34 +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 f59cd1f4aa Fixed Fl_Preferences Cygwin wide character bug (STR #2164)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:40:15 +00:00
Matthias Melcher 0ec12cc9c4 Fixed sorting in Fl_Browser - last item would not be sorted (STR #2300)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:25:54 +00:00
Matthias Melcher b416a027cf Fixed window levels in OS X Cocoa (STR #2316)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:21:20 +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 6cef760c1b Typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18 13:03:10 +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
Manolo Gouy b434df6061 changed events dispatching so command+key generates both FL_KEYBOARD and FL_KEYUP events
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-16 07:27:55 +00:00
Manolo Gouy 5a76896908 removed unused variables
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-15 20:35:58 +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 ea31edb241 Added new virtual methods, as discussed in fltk.development:
virtual Fl_Group*  Fl_Widget::as_group() const
  virtual Fl_Window* Fl_Widget::as_window() const
Todo: documentation is not yet complete.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-13 12:25:58 +00:00
Manolo Gouy 1ff2af5fd3 update event_x_root and event_x earlier is more accurate
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-11 09:32:26 +00:00
Manolo Gouy 881c882629 allows compilation with gcc-3.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-10 23:11:19 +00:00
Manolo Gouy 96125e6e4a closed memory leak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-10 22:11:04 +00:00
Albrecht Schlosser ee36ebc394 Reverting previous change (optimization of Fl_Group::clear),
because fl_throw_focus and fl_fix_focus would send events
that could access deleted widgets. This must be fixed first.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-07 21:14:35 +00:00
Albrecht Schlosser ce7da76d6a Optimized Fl_Group::clear() and Fl_Scroll::clear() as discussed in
fltk.development in "Fl_Group::clear SLOW!" on Feb. 06/07, 2010 (no STR)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-07 18:52:26 +00:00
Manolo Gouy 5ec87ac848 simplifying clipping algorithm: done once in make_current() instead of repeated at each fl_restore_clip() call
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-02 17:13:55 +00:00
Manolo Gouy c7b67bc252 fixes STR 2309 by updating Fl::e_x, e_y, e_x_root and e_y_root after window moves, resizes and activations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-01 17:41:32 +00:00
Manolo Gouy 4645ed9703 defined macro FL_CGRECTMAKE_COCOA that
contains the correct way to transform x,y,w,h into
a CGRect adequate for clipping

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-29 21:16:20 +00:00