diff options
-rw-r--r-- | gem2pdp.cpp | 12 | ||||
-rw-r--r--[-rwxr-xr-x] | pix_2pdp-help.pd | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | pix_2pdp.cpp | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | pix_2pdp.h | 0 |
4 files changed, 4 insertions, 8 deletions
diff --git a/gem2pdp.cpp b/gem2pdp.cpp index 71f6a5f..ac3699a 100644 --- a/gem2pdp.cpp +++ b/gem2pdp.cpp @@ -18,10 +18,8 @@ CPPEXTERN_NEW(gem2pdp) gem2pdp :: gem2pdp(void) { - m_x = GemMan::m_xoffset; - m_y = GemMan::m_yoffset; - m_width = GemMan::m_width; - m_height = GemMan::m_height; + GemMan::getOffset(&m_x, &m_y); + GemMan::getDimen(&m_width, &m_height); m_image = NULL; m_pdpoutlet = outlet_new(this->x_obj, &s_anything); } @@ -47,10 +45,8 @@ void gem2pdp :: bangMess() } // update image dimensions - m_x = GemMan::m_xoffset; - m_y = GemMan::m_yoffset; - m_width = GemMan::m_width; - m_height = GemMan::m_height; + GemMan::getOffset(&m_x, &m_y); + GemMan::getDimen(&m_width, &m_height); pbuffers = GemMan::m_buffer; GemMan::m_buffer = 1; GemMan::render(idontknowwhatitis); diff --git a/pix_2pdp-help.pd b/pix_2pdp-help.pd index 1093bbc..1093bbc 100755..100644 --- a/pix_2pdp-help.pd +++ b/pix_2pdp-help.pd diff --git a/pix_2pdp.cpp b/pix_2pdp.cpp index aff640e..aff640e 100755..100644 --- a/pix_2pdp.cpp +++ b/pix_2pdp.cpp diff --git a/pix_2pdp.h b/pix_2pdp.h index ac29234..ac29234 100755..100644 --- a/pix_2pdp.h +++ b/pix_2pdp.h |