feat(tab menu): read opDefTable, fix focus bug
This commit is contained in:
@@ -21,4 +21,10 @@ enzo::nt::opConstructor enzo::op::OperatorTable::getOpConstructor(std::string na
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::vector<enzo::op::OpInfo> enzo::op::OperatorTable::getData()
|
||||
{
|
||||
return opInfoStore_;
|
||||
}
|
||||
|
||||
|
||||
std::vector<enzo::op::OpInfo> enzo::op::OperatorTable::opInfoStore_;
|
||||
|
||||
@@ -19,6 +19,7 @@ class BOOST_SYMBOL_EXPORT OperatorTable
|
||||
public:
|
||||
static void addOperator(const char* internalName, const char* displayName, nt::opConstructor ctorFunc);
|
||||
static nt::opConstructor getOpConstructor(std::string name);
|
||||
static std::vector<OpInfo> getData();
|
||||
private:
|
||||
static std::vector<OpInfo> opInfoStore_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user