home *** CD-ROM | disk | FTP | other *** search
- /*
- *--- PDragSelect.h -------------------------------------------------------
- * Copyright (c) 1996 Adobe Systems Incorporated. All rights reserved.
- * Created on Thu, July 19, 1996 @ 11:31 PM by Paul Ferguson.
- *
- * Description: This implements a drag select command.
- *-------------------------------------------------------------------------
- */
-
- #include "PCommand.h"
- #include "PRequestBuf.h"
- #include "PDragSelect.h"
-
-
- PDragSelect::PDragSelect(long xLeft, long yTop, long xRight, long yBottom)
- {
- long x[4];
- x[0] = xLeft;
- x[1] = yTop;
- x[2] = xRight;
- x[3] = yBottom;
- PCommand command(pm_dragselect, x, 4 * sizeof(long));
- }
-
- PDragSelectExtend::PDragSelectExtend(long xLeft, long yTop, long xRight, long yBottom)
- {
- long x[4];
- x[0] = xLeft;
- x[1] = yTop;
- x[2] = xRight;
- x[3] = yBottom;
- PCommand command(pm_dragselectextend, x, 4 * sizeof(long));
- }
-
- // end of PDragSelect.h
-