Added invoke_plan, removed viewer
This commit is contained in:
@@ -13,14 +13,14 @@ public:
|
||||
};
|
||||
private:
|
||||
Type type_;
|
||||
std::string id_;
|
||||
std::string action_;
|
||||
std::string label_;
|
||||
|
||||
GuiElt() {}
|
||||
public:
|
||||
~GuiElt() {}
|
||||
Type type() const { return type_; }
|
||||
const std::string &id() const { return id_; }
|
||||
const std::string &action() const { return action_; }
|
||||
const std::string &label() const { return label_; }
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@ private:
|
||||
public:
|
||||
const EltVec &elts() const { return elts_; }
|
||||
void clear() { elts_.clear(); }
|
||||
void add_menu_item(const std::string &id, const std::string &label);
|
||||
void menu_item(const std::string &action, const std::string &label);
|
||||
};
|
||||
|
||||
#endif // GUI_HPP
|
||||
|
||||
Reference in New Issue
Block a user