X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/ea7708f0d91b00a54cc5f136a67e9f9bd272329d..dafb509182bac9b314202fe7dfaf58206da5ccbe:/Constructor/include/constructor.h?ds=sidebyside diff --git a/Constructor/include/constructor.h b/Constructor/include/constructor.h index a9c1cbf..0746191 100644 --- a/Constructor/include/constructor.h +++ b/Constructor/include/constructor.h @@ -45,6 +45,7 @@ class Constructor : public Gtk::Window { Gtk::Combo *combo_entry; Gtk::Dialog *dlg_connect; Gtk::Label *dlg_label; + Gtk::Statusbar *status_bar; Glib::RefPtr ico_canio, ico_y, ico_codo, ico_tanque, ico_bomba, ico_exclusa, ico_drain, ico_and, ico_or, ico_not; Glib::RefPtr ico_last; std::list listTargets; @@ -102,6 +103,8 @@ class Constructor : public Gtk::Window { virtual void on_item_drop_drag_received(const Glib::RefPtr& context, int x, int y, GtkSelectionData* selection_data, guint info, guint time); // Carga desde un XML + void create_lines(xmlNodePtr nodo); + void create_line(xmlNodePtr nodo, int logic_id); Pump *loadBomba(xmlNodePtr nodo); Conduct *loadConduct(xmlNodePtr nodo); Exclusa *loadExclusa(xmlNodePtr nodo); @@ -109,5 +112,8 @@ class Constructor : public Gtk::Window { Union *loadUnion(xmlNodePtr nodo); Drain *loadDrain(xmlNodePtr nodo); Splitter *loadCodo(xmlNodePtr nodo); + And *loadAnd(xmlNodePtr nodo); + Not *loadNot(xmlNodePtr nodo); + Or *loadOr(xmlNodePtr nodo); }; #endif