X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/2bfad376fbc5a10a08ee8f18267234126d34e0bc..ed2cb04e907c90998221e00fcac1ded840ce693c:/Client/include/principal.h?ds=inline diff --git a/Client/include/principal.h b/Client/include/principal.h index 868f6f4..f166cf3 100644 --- a/Client/include/principal.h +++ b/Client/include/principal.h @@ -27,7 +27,8 @@ protected: void read_status_xml(const std::string &frame); float get_float_from_xml(xmlNodePtr nodo); bool get_bool_from_xml(xmlNodePtr nodo); - + Gdk::Color get_rgb_from_xml(xmlNodePtr nodo); + // Funciones de carga del XML bool is_xml_loaded; void loadXML(); @@ -54,6 +55,8 @@ protected: Gtk::Fixed *work_place; Gtk::Label *lbl_nombre, *lbl_color, *lbl_flujo, *lbl_extra, *lbl_cap_flujo, *lbl_cap_extra; Gtk::Image *ico_conected; + Gtk::Button *btn_activar; + Gtk::DrawingArea *color_preview; // Actualiza las propiedades en la ventana del item actual void update_items_prop(); @@ -65,6 +68,7 @@ protected: virtual void on_mnu_help_about(); virtual void on_dlg_connect_ok(); virtual void on_get_clicked(); + virtual void on_btn_activar_clicked(); virtual bool on_item_clicked(GdkEventButton *, ViewItem *);