📄 hhoopstestselectionset.cpp
字号:
// HhoopstestSelectionSet.cpp : implementation of the HPSelectionSet class// #include "StdAfx.h"#include "Resource.h"#include "HhoopstestSelectionSet.h"#include "HhoopstestModel.h"#include "HhoopstestView.h"#include "vlist.h"HhoopstestSelectionSet::HhoopstestSelectionSet(HBaseView* view) : HSelectionSet(view){}HhoopstestSelectionSet::~HhoopstestSelectionSet(){}void HhoopstestSelectionSet::Select(HC_KEY key, const char* segpath, HC_KEY include_key, HC_KEY includer_key, bool emit_message){ HSelectionSet::Select(key, segpath, include_key, includer_key, emit_message);}void HhoopstestSelectionSet::DeSelect(HC_KEY key, bool emit_message ){ HSelectionSet::DeSelect(key, emit_message);}// If it is a call to select something from HNet message,// by pass our selection functionality and just call the // vanilla Select. JUST SELECT THIS KEY!// This is to work around the case where the master client// is in some selection mode (face) and slave is in some (body)void HhoopstestSelectionSet::SelectFromMessage(HC_KEY key, char* segpath, HC_KEY include_key, HC_KEY includer_key, bool emit_message){ HSelectionSet::Select(key, segpath, INVALID_KEY, INVALID_KEY, emit_message);}// See the Description for SelectFromMessagevoid HhoopstestSelectionSet::DeSelectFromMessage(HC_KEY key, bool emit_message){ HSelectionSet::DeSelect(key, emit_message);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -