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 * Jeff Lait 00008 * Side Effects Software Inc 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: MSS_ButtonlessState.h 00015 * 00016 * COMMENTS: 00017 * This dummy state is required as we need the select buttons to be disabled 00018 * in this state as the type of selection is hard coded. 00019 */ 00020 00021 #ifndef __MSS_ButtonlessState_H__ 00022 #define __MSS_ButtonlessState_H__ 00023 00024 #include "MSS_API.h" 00025 #include <UT/UT_PtrArray.h> 00026 #include <UT/UT_String.h> 00027 #include <UI/UI_Value.h> 00028 #include <BM/BM_ResourceManager.h> 00029 #include <OP3D/OP3D_InputSelector.h> 00030 #include <JEDI/JEDI_View.h> 00031 #include "MSS_SingleOpState.h" 00032 00033 class UT_String; 00034 class PRM_Template; 00035 class DM_Workbench; 00036 class OP3D_View; 00037 00038 class MSS_API MSS_ButtonlessState : public MSS_SingleOpState 00039 { 00040 public: 00041 // Class constructor and destructor. 00042 MSS_ButtonlessState(JEDI_View &view, PI_StateTemplate &templ, 00043 BM_SceneManager *scene, 00044 const char *cursor = BM_DEFAULT_CURSOR) 00045 : MSS_SingleOpState(view, templ, scene, cursor) {} 00046 virtual ~MSS_ButtonlessState(void) {} 00047 00048 // This constructor and parameter template list go into the 00049 // DM_StateTemplate for this state. 00050 static BM_State *ourConstructor(BM_View &view, PI_StateTemplate &templ, 00051 BM_SceneManager *scene); 00052 static PRM_Template *ourTemplateList; 00053 00054 // The name and type of this class: 00055 virtual const char *className() const { return "MSS_ButtonlessState"; } 00056 00057 protected: 00058 // We are not selecting for join states 00059 virtual bool isSelecting(void) const { return false; } 00060 virtual bool needSelectMask() const { return false; } 00061 }; 00062 00063 #endif
1.5.9