commit 1a39c6d3bc182d21e29200dc28a0afb0ba26085e
parent b23c4dc7b3ebe76c5e3df30fabd46c7b5c077bce
Author: paulnasca <paulnasca>
Date: Sun, 22 Aug 2004 18:14:16 +0000
*** empty log message ***
Diffstat:
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/src/UI/PresetsUI.fl b/src/UI/PresetsUI.fl
@@ -33,7 +33,7 @@ pastewin->hide();delete(pastewin);} {}
Function {make_window()} {} {
Fl_Window copywin {
label {Copy to Clipboard/Preset}
- xywh {243 174 265 315} type Double box PLASTIC_THIN_UP_BOX color 238 hide modal
+ xywh {190 173 265 430} type Double box PLASTIC_THIN_UP_BOX color 238 hide modal
} {
Fl_Browser copybrowse {
callback {int val=o->value();
@@ -41,7 +41,7 @@ if (val!=0){
presetname->cut(0,presetname->maximum_size());
presetname->insert(o->text(val));
};}
- xywh {10 25 245 205} type Select
+ xywh {10 25 245 320} type Select
}
Fl_Button copypbutton {
label {Copy to Preset}
@@ -52,18 +52,18 @@ if (tmp!=NULL) {
copywin->hide();
};
};}
- xywh {145 235 110 20} box THIN_UP_BOX
+ xywh {145 355 110 20} box THIN_UP_BOX
}
Fl_Button copybutton {
label {Copy to Clipboard}
callback {p->copy(NULL);
copywin->hide();}
- xywh {25 270 90 35} box THIN_UP_BOX align 192
+ xywh {25 385 90 35} box THIN_UP_BOX align 192
}
Fl_Button {} {
label Cancel
callback {copywin->hide();}
- xywh {160 270 80 35} box THIN_UP_BOX align 192
+ xywh {160 385 80 35} box THIN_UP_BOX align 192
}
Fl_Box {} {
label {Type:}
@@ -82,12 +82,12 @@ if (strlen(tmp)>0) {
copybutton->activate();
copypbutton->deactivate();
};}
- xywh {10 235 130 20} when 1
+ xywh {10 355 130 20} when 1
}
}
Fl_Window pastewin {
label {Paste from Clipboard/Preset}
- xywh {343 225 265 315} type Double box PLASTIC_THIN_UP_BOX color 238 hide modal
+ xywh {463 173 265 430} type Double box PLASTIC_THIN_UP_BOX color 238 hide modal
} {
Fl_Browser pastebrowse {
callback {if (o->value()==0) {
@@ -96,8 +96,8 @@ if (strlen(tmp)>0) {
}else{
pastepbutton->activate();
deletepbutton->activate();
-};}
- xywh {10 30 245 205} type Hold
+};} selected
+ xywh {10 25 245 320} type Hold
}
Fl_Button pastepbutton {
label {Paste from Preset}
@@ -105,19 +105,19 @@ if (strlen(tmp)>0) {
if (n!=0) p->paste(n);
pastewin->hide();
pui->refresh();}
- xywh {10 240 160 20} box THIN_UP_BOX
+ xywh {10 355 160 20} box THIN_UP_BOX
}
Fl_Button pastebutton {
label {Paste from Clipboard}
callback {p->paste(0);
pastewin->hide();
pui->refresh();}
- xywh {25 270 90 35} box THIN_UP_BOX align 192
+ xywh {25 385 90 35} box THIN_UP_BOX align 192
}
Fl_Button {} {
label Cancel
callback {pastewin->hide();}
- xywh {160 270 80 35} box THIN_UP_BOX align 192
+ xywh {160 385 80 35} box THIN_UP_BOX align 192
}
Fl_Box pastetypetext {
xywh {55 5 200 15} box FLAT_BOX color 238 labelfont 1 labelsize 12 align 20
@@ -131,7 +131,7 @@ pui->refresh();}
callback {int n=pastebrowse->value();
if (n!=0) p->deletepreset(n);
rescan();}
- xywh {180 240 75 20} box THIN_UP_BOX
+ xywh {180 355 75 20} box THIN_UP_BOX
}
}
}
@@ -168,8 +168,7 @@ if (but) {
if (p->checkclipboardtype()) pastebutton->activate();
else pastebutton->deactivate();
pastewin->show();
- };} {selected
- }
+ };} {}
}
Function {copy(Presets *p,int n)} {} {
code {p->setelement(n);