summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/utils.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2012-02-14 17:26:03 +0000
committerFlorian Jung <flo@windfisch.org>2012-02-14 17:26:03 +0000
commit3ffd0dacdd7447c6c377f95c1fa7fc45a2612d98 (patch)
treec8fa5ba7569d3001f3304f16f2f4a5c2546db8df /muse2/muse/widgets/utils.h
parentbca65ae96031f8d6828cb0038ee768ae11c7cff8 (diff)
- added support for custom controller columns in the tracklist
they are stored in and read from the global config file. - tracklist header is now saved into global config, not in songfile. TODO: - allow the user to customize the custom columns - make recreating the Header work (graphical glitches currently)
Diffstat (limited to 'muse2/muse/widgets/utils.h')
-rw-r--r--muse2/muse/widgets/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/muse2/muse/widgets/utils.h b/muse2/muse/widgets/utils.h
index 95b9a133..07899a84 100644
--- a/muse2/muse/widgets/utils.h
+++ b/muse2/muse/widgets/utils.h
@@ -23,6 +23,9 @@
#ifndef __UTILS_H__
#define __UTILS_H__
+#define MAX(a,b) (((a)>(b))?(a):(b))
+#define MIN(a,b) (((a)<(b))?(a):(b))
+
class QFrame;
class QString;
class QWidget;