mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 16:46:52 +08:00
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:
+3
-3
@@ -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).
|
||||
//
|
||||
@@ -387,7 +387,7 @@ void cut_cb(Fl_Widget *, void *) {
|
||||
extern int force_parent;
|
||||
|
||||
void paste_cb(Fl_Widget*, void*) {
|
||||
if (ipasteoffset) force_parent = 1;
|
||||
//if (ipasteoffset) force_parent = 1;
|
||||
pasteoffset = ipasteoffset;
|
||||
if (gridx>1) pasteoffset = ((pasteoffset-1)/gridx+1)*gridx;
|
||||
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 $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user