-SUBDIRS = src pixmaps
+SUBDIRS = src pixmaps dialogs
AC_OUTPUT([
Makefile
pixmaps/Makefile
+dialogs/Makefile
src/Makefile
])
echo
echo "Todo listo. Ahora para compilar solo ejecute make"
echo
-echo "The PlaQui Developer Team"
+echo "The PlaQui Development Team"
--- /dev/null
+plaquidir = $(datadir)/plaqui-client/dialogs
+
+plaqui_DATA = client.glade
+
+EXTRA_DIST = $(plaqui_DATA)
+
--- /dev/null
+plaquidir = $(datadir)/plaqui-client/pixmaps
+
+plaqui_DATA = \
+and_e.png \
+and_n.png \
+and_o.png \
+and_s.png \
+bomba_e.png \
+bomba_null.png \
+bomba_o.png \
+canio_n.png \
+canio_s.png \
+codo_e.png \
+codo_n.png \
+codo_o.png \
+codo_s.png \
+drain_e.png \
+drain_n.png \
+drain_o.png \
+drain_s.png \
+exclusa_h.png \
+exclusa_s.png \
+not_e.png \
+not_n.png \
+not_o.png \
+not_s.png \
+null.png \
+or_e.png \
+or_n.png \
+or_o.png \
+or_s.png \
+tanque_e.png \
+tanque_null.png \
+tanque_o.png \
+y_e.png \
+y_n.png \
+y_o.png \
+y_s.png
+
+EXTRA_DIST = $(plaqui_DATA)
+
{
switch (orientacion) {
case 0:
- image.set("codo_o.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/codo_o.png");
break;
case 1:
- image.set("codo_n.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/codo_n.png");
break;
case 2:
- image.set("codo_e.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/codo_e.png");
break;
case 3:
- image.set("codo_s.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/codo_s.png");
}
image.show();
set_size_request();
{
switch (orientacion) {
case 0:
- image.set("canio_n.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/canio_n.png");
break;
case 1:
- image.set("canio_s.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/canio_s.png");
}
std::cout << "Conducto creado" << std::endl;
image.show();
{
switch (orientacion) {
case 0:
- image.set("drain_n.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/drain_n.png");
break;
case 1:
- image.set("drain_e.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/drain_e.png");
break;
case 2:
- image.set("drain_s.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/drain_s.png");
break;
case 3:
- image.set("drain_o.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/drain_o.png");
}
image.show();
set_size_request();
{
switch (orientacion) {
case 0:
- image.set("exclusa_h.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/exclusa_h.png");
break;
case 1:
- image.set("exclusa_s.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/exclusa_s.png");
}
image.show();
set_size_request();
{
switch (orientacion) {
case 0:
- image.set("bomba_e.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/bomba_e.png");
break;
case 1:
- image.set("bomba_o.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/bomba_o.png");
}
image.show();
set_size_request();
{
switch (orientacion) {
case 0:
- image.set("tanque_e.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/tanque_e.png");
break;
case 1:
- image.set("tanque_o.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/tanque_o.png");
}
image.show();
set_size_request();
{
switch (orientacion) {
case 0:
- image.set("y_n.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/y_n.png");
break;
case 1:
- image.set("y_e.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/y_e.png");
break;
case 2:
- image.set("y_s.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/y_s.png");
break;
case 3:
- image.set("y_o.png");
+ image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/y_o.png");
}
image.show();
set_size_request();
//Load the Glade file and instiate its widgets:
Glib::RefPtr<Gnome::Glade::Xml> refXml;
try {
- refXml = Gnome::Glade::Xml::create("client.glade");
+ refXml = Gnome::Glade::Xml::create(PACKAGE_DATA_DIR"/plaqui-client/dialgos/client.glade");
}
catch(const Gnome::Glade::XmlError& ex) {
std::cerr << "(main.cpp:17) : ";