home *** CD-ROM | disk | FTP | other *** search
- /*
- * Add.ifx.pre
- * Get alpha and scale flags for the
- * Add command. Saves the settings into the
- * ImpAddParameters clip variable.
- *
- * by Steve Tibbett
- */
-
- Options Results
-
- Defaults=GetClip("ImpAddParameters"arg(1));
- if (Defaults="") then Defaults="0 1"
-
- Parse Var Defaults AlphaFlag ScaleFlag
-
- Gadget.1 = 'X/25/17/Use alpha channel as blend control image?/'AlphaFlag
- Gadget.2 = 'X/25/29/Scale swap buffer to fit region?/'ScaleFlag
-
- ComplexRequest '"Add Settings"' 5 Gadget 400 63
- IF rc ~= 0 THEN return 10
-
- Defaults=Result.1 Result.2
- call SetClip("ImpAddParameters"arg(1), Defaults);
-
-