mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
3096d7e544
Add a bit more precision to the frames per second property. Closes: #901
62 lines
2.9 KiB
C
62 lines
2.9 KiB
C
/* bacon-video-widget-properties.h: Properties dialog for BaconVideoWidget
|
|
|
|
Copyright (C) 2002 Bastien Nocera <hadess@hadess.net>
|
|
|
|
The Gnome Library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public License as
|
|
published by the Free Software Foundation; either version 2 of the
|
|
License, or (at your option) any later version.
|
|
|
|
The Gnome Library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with the Gnome Library; see the file COPYING.LIB. If not,
|
|
write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02110-1301 USA.
|
|
|
|
Author: Bastien Nocera <hadess@hadess.net>
|
|
*/
|
|
|
|
#ifndef BACON_VIDEO_WIDGET_PROPERTIES_H
|
|
#define BACON_VIDEO_WIDGET_PROPERTIES_H
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#define BACON_TYPE_VIDEO_WIDGET_PROPERTIES (bacon_video_widget_properties_get_type ())
|
|
#define BACON_VIDEO_WIDGET_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BACON_TYPE_VIDEO_WIDGET_PROPERTIES, BaconVideoWidgetProperties))
|
|
#define BACON_VIDEO_WIDGET_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BACON_TYPE_VIDEO_WIDGET_PROPERTIES, BaconVideoWidgetPropertiesClass))
|
|
#define BACON_IS_VIDEO_WIDGET_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BACON_TYPE_VIDEO_WIDGET_PROPERTIES))
|
|
#define BACON_IS_VIDEO_WIDGET_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BACON_TYPE_VIDEO_WIDGET_PROPERTIES))
|
|
|
|
typedef struct BaconVideoWidgetProperties BaconVideoWidgetProperties;
|
|
typedef struct BaconVideoWidgetPropertiesClass BaconVideoWidgetPropertiesClass;
|
|
typedef struct BaconVideoWidgetPropertiesPrivate BaconVideoWidgetPropertiesPrivate;
|
|
|
|
struct BaconVideoWidgetProperties {
|
|
GtkBox parent;
|
|
BaconVideoWidgetPropertiesPrivate *priv;
|
|
};
|
|
|
|
struct BaconVideoWidgetPropertiesClass {
|
|
GtkBoxClass parent_class;
|
|
};
|
|
|
|
GType bacon_video_widget_properties_get_type (void);
|
|
GtkWidget *bacon_video_widget_properties_new (void);
|
|
|
|
void bacon_video_widget_properties_reset (BaconVideoWidgetProperties *props);
|
|
void bacon_video_widget_properties_set_label (BaconVideoWidgetProperties *props,
|
|
const char *name,
|
|
const char *text);
|
|
void bacon_video_widget_properties_set_duration (BaconVideoWidgetProperties *props,
|
|
int duration);
|
|
void bacon_video_widget_properties_set_has_type (BaconVideoWidgetProperties *props,
|
|
gboolean has_video,
|
|
gboolean has_audio);
|
|
void bacon_video_widget_properties_set_framerate (BaconVideoWidgetProperties *props,
|
|
float framerate);
|
|
|
|
#endif /* BACON_VIDEO_WIDGET_PROPERTIES_H */
|