From a652044cd4e99b896c418b7aa7a63b5f8eac0131 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 6 Sep 2014 15:45:05 +0000 Subject: import template --- Spectrogram.h | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) (limited to 'Spectrogram.h') 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 -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 */ +#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 -- cgit v1.2.3