aboutsummaryrefslogtreecommitdiff
path: root/Spectrogram.h
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-06 15:45:05 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-06 15:45:05 +0000
commita652044cd4e99b896c418b7aa7a63b5f8eac0131 (patch)
tree94036301fb214c957e39f5ad25e4122fe77a2b47 /Spectrogram.h
parentfc1f578b28eca027cf9cee91adeba5317f7d722d (diff)
import template
Diffstat (limited to 'Spectrogram.h')
-rw-r--r--Spectrogram.h37
1 files changed, 32 insertions, 5 deletions
diff --git a/Spectrogram.h b/Spectrogram.h
index 8d33021..58b023a 100644
--- a/Spectrogram.h
+++ b/Spectrogram.h
@@ -18,14 +18,41 @@
#ifndef _Spectrogram_h
#define _Spectrogram_h
-/* Spectrogram Widget */
-/* Parameters:
- * Name Class RepType Default Value
- */
+#include <X11/Intrinsic.h>
-typedef struct _SpectrogramRec *SpectrogramWidget;
+/****************************************************************
+ *
+ * Spectrogram widget
+ *
+ ****************************************************************/
+
+/* Resources:
+
+ Name Class RepType Default Value
+ ---- ----- ------- -------------
+ background Background Pixel XtDefaultBackground
+ border BorderColor Pixel XtDefaultForeground
+ borderWidth BorderWidth Dimension 1
+ destroyCallback Callback Pointer NULL
+ height Height Dimension 0
+ mappedWhenManaged MappedWhenManaged Boolean True
+ sensitive Sensitive Boolean True
+ width Width Dimension 0
+ x Position Position 0
+ y Position Position 0
+
+*/
+
+/* define any special resource names here that are not in <X11/StringDefs.h> */
+#define XtNspectrogramResource "spectrogramResource"
+
+#define XtCSpectrogramResource "SpectrogramResource"
+
+/* declare specific SpectrogramWidget class and instance datatypes */
typedef struct _SpectrogramClassRec *SpectrogramWidgetClass;
+typedef struct _SpectrogramRec *SpectrogramWidget;
+/* declare the class constant */
extern WidgetClass spectrogramWidgetClass;
#endif