commit 3eaa7dd4437df8add68066814037100496036f90
parent 64302c467743ec1ea57e53f691623b307f24a3f8
Author: fundamental <[email protected]>
Date: Tue, 18 Mar 2014 18:56:03 -0400
Killing debug code
Diffstat:
2 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/src/UI/PartNameButton.cpp b/src/UI/PartNameButton.cpp
@@ -7,22 +7,6 @@ PartNameButton::PartNameButton(int X, int Y, int W, int H, const char *label)
void PartNameButton::OSC_value(const char *label_)
{
- printf("\n\n\n\n\n\n\n\n\nNWEWERWERW LABESRL:\n");
- printf("'%s'\n", label_);
-
the_string = label_;
label(the_string.c_str());
}
-
-void PartNameButton::debug(void)
-{
- printf("debugging part name at address '%x'\n", (int)this);
- Fl_Group *w = this->parent();
- while(w)
- {
- printf(" Looking at parent '%x'[%d,%d]\n", (int)w, w->visible(), w->visible_r());
- if(auto *win = dynamic_cast<Fl_Window*>(w))
- printf(" Window(%d,'%s')\n", win->shown(), win->label());
- w = w->parent();
- }
-}
diff --git a/src/UI/PartNameButton.h b/src/UI/PartNameButton.h
@@ -10,7 +10,6 @@ class PartNameButton:public Fl_Button, public Fl_Osc_Widget
virtual ~PartNameButton(void){};
virtual void OSC_value(const char *);
- void debug(void);
std::string the_string;
//virtual void rebase(std::string) override;