Commit ee295443 authored by artificiel's avatar artificiel
Browse files

AbstractClient: ajout d'un parametre 'enabled'

parent 223350f2
......@@ -26,6 +26,7 @@ class AbstractClient
gui_.setup("");
gui_.setPosition(ofGetWidth() - index_ * 200, 10);
gui_.add(etiquette_field_.setup("nom", "nom"));
gui_.add(enabled_.set("enable", true));
menu_is_ready_ = true;
auto parameter_string = etiquette_field_.getParameter().cast<string>();
......@@ -53,6 +54,8 @@ class AbstractClient
ofParameter<bool> draw_gui_;
ofxPanel gui_;
ofParameter<bool> enabled_;
protected:
int index_;
std::string client_name_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment