00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * ramin 00008 * Side Effects 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: SOP_Handle.h (SOP library, C++) 00015 * 00016 * COMMENTS: 00017 * This class will be the interface between sop parameters 00018 * and sage's viewdata. It should be abstracted at the 00019 * UI level, but I'll put it here in SOP for now. 00020 * 00021 * IDEA: 00022 * There will be some guide geometry associated with 00023 * this handle. Whenever the user clicks on the guide 00024 * geometry in the ViewData and drags, doDrag will be 00025 * called with the deltax and deltay passed in. 00026 * The member function will make appropriate changes to 00027 * the sop parameters. 00028 * 00029 */ 00030 00031 #ifndef __SOP_Handle__ 00032 #define __SOP_Handle__ 00033 00034 #include "SOP_API.h" 00035 class PRM_ParmList; 00036 00037 class SOP_API SOP_Handle 00038 { 00039 public: 00040 SOP_Handle(); 00041 00042 virtual void doDrag(int modifierkeys, int mousebutton, 00043 int dx, int dy); 00044 private: 00045 void doXY(int dx, int dy); 00046 PRM_ParmList *myParmListPtr; 00047 }; 00048 00049 #endif
1.5.9