summaryrefslogtreecommitdiffstats
path: root/Panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'Panel.h')
-rw-r--r--Panel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Panel.h b/Panel.h
index 4b96fe48..eda9c85d 100644
--- a/Panel.h
+++ b/Panel.h
@@ -55,9 +55,14 @@ struct Panel_ {
#define MAX(a,b) ((a)>(b)?(a):(b))
#endif
+#ifdef DEBUG
extern char* PANEL_CLASS;
+#else
+#define PANEL_CLASS NULL
+#endif
+
-Panel* Panel_new(int x, int y, int w, int h, char* type, bool owner);
+Panel* Panel_new(int x, int y, int w, int h, char* type, bool owner, Object_Compare compare);
void Panel_delete(Object* cast);