History

adding occluded/visisble to highlight outline

samcake committed 9 years ago

Commit fd46aa12 parents cc7ddb5 9ff454158 files · +2255 −905Browse files

Showing the changes to interface/src/scripting/SelectionScriptingInterface.cpp (1 of 58 files). Show all

Unified · Split

interface/src/scripting/SelectionScriptingInterface.cpp+18−0
@@ -71,6 +71,24 @@ bool SelectionScriptingInterface::removeFromSelectedItemsList(const QString& lis · 70 unmodified lines
71 return false;71 return false;
72}72}
73 73
74bool SelectionScriptingInterface::clearSelectedItemsList(const QString& listName) {
75 _selectedItemsListMap.insert(listName, GameplayObjects());
76 emit selectedItemsListChanged(listName);
77 return true;
78}
79
80bool SelectionScriptingInterface::enableListHighlight(const QString& listName, const QVariantMap& highlightStyle) {
81 return true;
82}
83
84bool SelectionScriptingInterface::disableListHighlight(const QString& listName) {
85 return true;
86}
87
88QVariantMap SelectionScriptingInterface::getListHighlightStyle(const QString& listName) const {
89 return QVariantMap();
90}
91
74template <class T> bool SelectionScriptingInterface::addToGameplayObjects(const QString& listName, T idToAdd) {92template <class T> bool SelectionScriptingInterface::addToGameplayObjects(const QString& listName, T idToAdd) {
75 GameplayObjects currentList = _selectedItemsListMap.value(listName);93 GameplayObjects currentList = _selectedItemsListMap.value(listName);
76 currentList.addToGameplayObjects(idToAdd);94 currentList.addToGameplayObjects(idToAdd);