STR #88: changed fluid behaviour to always paste into a selected

group instead of appending (see paste_cb, force_parent). Mike,
could you please check if this has any side effects somewhere?


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2003-07-19 06:10:20 +00:00
parent 9cdf63cc40
commit b70c9661a0
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.4 CHANGES IN FLTK 1.1.4
- Changed behaviour of fluid to always paste into
a selected group (STR #88)
- Menuitem now changes font, even if fontsize - Menuitem now changes font, even if fontsize
is not set (STR #110) is not set (STR #110)
- Swapped shortcut labels in OS X (STR #86) - Swapped shortcut labels in OS X (STR #86)

View File

@ -1,5 +1,5 @@
// //
// "$Id: fluid.cxx,v 1.15.2.13.2.38 2003/06/01 00:23:57 easysw Exp $" // "$Id: fluid.cxx,v 1.15.2.13.2.39 2003/07/19 06:10:20 matthiaswm Exp $"
// //
// FLUID main entry for the Fast Light Tool Kit (FLTK). // FLUID main entry for the Fast Light Tool Kit (FLTK).
// //
@ -387,7 +387,7 @@ void cut_cb(Fl_Widget *, void *) {
extern int force_parent; extern int force_parent;
void paste_cb(Fl_Widget*, void*) { void paste_cb(Fl_Widget*, void*) {
if (ipasteoffset) force_parent = 1; //if (ipasteoffset) force_parent = 1;
pasteoffset = ipasteoffset; pasteoffset = ipasteoffset;
if (gridx>1) pasteoffset = ((pasteoffset-1)/gridx+1)*gridx; if (gridx>1) pasteoffset = ((pasteoffset-1)/gridx+1)*gridx;
if (gridy>1) pasteoffset = ((pasteoffset-1)/gridy+1)*gridy; if (gridy>1) pasteoffset = ((pasteoffset-1)/gridy+1)*gridy;
@ -884,5 +884,5 @@ int main(int argc,char **argv) {
} }
// //
// End of "$Id: fluid.cxx,v 1.15.2.13.2.38 2003/06/01 00:23:57 easysw Exp $". // End of "$Id: fluid.cxx,v 1.15.2.13.2.39 2003/07/19 06:10:20 matthiaswm Exp $".
// //