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
7171 return false;
7272 }
7373
74+bool SelectionScriptingInterface::clearSelectedItemsList(const QString& listName) {
75+ _selectedItemsListMap.insert(listName, GameplayObjects());
76+ emit selectedItemsListChanged(listName);
77+ return true;
78+}
79+
80+bool SelectionScriptingInterface::enableListHighlight(const QString& listName, const QVariantMap& highlightStyle) {
81+ return true;
82+}
83+
84+bool SelectionScriptingInterface::disableListHighlight(const QString& listName) {
85+ return true;
86+}
87+
88+QVariantMap SelectionScriptingInterface::getListHighlightStyle(const QString& listName) const {
89+ return QVariantMap();
90+}
91+
7492 template <class T> bool SelectionScriptingInterface::addToGameplayObjects(const QString& listName, T idToAdd) {
7593 GameplayObjects currentList = _selectedItemsListMap.value(listName);
7694 currentList.addToGameplayObjects(idToAdd);