![]() |
![]() |
![]() |
RhythmCat Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#include <rc-ui-slabel.h> enum RCUiSpectrumStyle; struct RCUiSpectrumWidget; struct RCUiSpectrumWidgetClass; #define RC_UI_SPECTRUM_WIDGET_TYPE void rc_ui_spectrum_widget_clean (RCUiSpectrumWidget *spectrum
); guint rc_ui_spectrum_widget_get_fps (RCUiSpectrumWidget *spectrum
); RCUiSpectrumStyle rc_ui_spectrum_widget_get_style (RCUiSpectrumWidget *spectrum
); GtkWidget * rc_ui_spectrum_widget_new (); void rc_ui_spectrum_widget_set_fps (RCUiSpectrumWidget *spectrum
,guint fps
); void rc_ui_spectrum_widget_set_style (RCUiSpectrumWidget *spectrum
,RCUiSpectrumStyle style
);
typedef enum { RC_UI_SPECTRUM_STYLE_NONE, RC_UI_SPECTRUM_STYLE_WAVE_MONO, RC_UI_SPECTRUM_STYLE_WAVE_MULTI, RC_UI_SPECTRUM_STYLE_SPECTRUM, } RCUiSpectrumStyle;
The visualizer style of the spectrum widget.
void rc_ui_spectrum_widget_clean (RCUiSpectrumWidget *spectrum
);
Clean the spectrum widget.
|
the RCUiSpectrumWidget widget |
guint rc_ui_spectrum_widget_get_fps (RCUiSpectrumWidget *spectrum
);
Get the refresh frequency (frames per second) of the widget.
|
the RCUiSpectrumWidget widget |
Returns : |
The refresh frequency. |
RCUiSpectrumStyle rc_ui_spectrum_widget_get_style (RCUiSpectrumWidget *spectrum
);
Get the spectrum style of the spectrum widget.
|
the RCUiSpectrumWidget widget |
Returns : |
The spectrum style. |
GtkWidget * rc_ui_spectrum_widget_new ();
Create a new RCUiSpectrumWidget widget.
Returns : |
A new RCUiSpectrumWidget widget. |
void rc_ui_spectrum_widget_set_fps (RCUiSpectrumWidget *spectrum
,guint fps
);
Set the refresh frequency of the widget.
|
the RCUiSpectrumWidget widget |
|
the update frequency (frames per second), from 10 to 60 |
void rc_ui_spectrum_widget_set_style (RCUiSpectrumWidget *spectrum
,RCUiSpectrumStyle style
);
Set the spectrum style of the spectrum widget.
|
the RCUiSpectrumWidget widget |
|
the spectrum show style |