1.2.28
by Sebastien Bacher
Import upstream version 2.19.6 |
1 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
2 |
/*
|
|
3 |
* Copyright (C) 2007 Sunil Mohan Adapa <sunilmohan@gnu.org.in>
|
|
4 |
*
|
|
5 |
* This program is free software; you can redistribute it and/or modify
|
|
6 |
* it under the terms of the GNU General Public License as published by
|
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
8 |
* (at your option) any later version.
|
|
9 |
*
|
|
10 |
* This program is distributed in the hope that it will be useful,
|
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13 |
* GNU General Public License for more details.
|
|
14 |
*
|
|
15 |
* You should have received a copy of the GNU General Public License
|
|
16 |
* along with this program; if not, write to the Free Software
|
|
1.2.40
by Sebastien Bacher
Import upstream version 2.23.3 |
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
1.2.28
by Sebastien Bacher
Import upstream version 2.19.6 |
18 |
*
|
19 |
* The Totem project hereby grant permission for non-gpl compatible GStreamer
|
|
20 |
* plugins to be used and distributed together with GStreamer and Totem. This
|
|
21 |
* permission are above and beyond the permissions granted by the GPL license
|
|
22 |
* Totem is covered by.
|
|
23 |
*
|
|
24 |
*/
|
|
25 |
||
26 |
#include <glib.h> |
|
27 |
#include <glib-object.h> |
|
28 |
#include <gtk/gtk.h> |
|
29 |
||
1.4.6
by Raphaël Hertzog
Import upstream version 3.0.0 |
30 |
#include "backend/bacon-video-widget.h" |
1.2.28
by Sebastien Bacher
Import upstream version 2.19.6 |
31 |
|
32 |
#define TOTEM_TYPE_FULLSCREEN (totem_fullscreen_get_type ())
|
|
33 |
#define TOTEM_FULLSCREEN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
|
34 |
TOTEM_TYPE_FULLSCREEN, \
|
|
35 |
TotemFullscreen))
|
|
36 |
#define TOTEM_FULLSCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \
|
|
37 |
TOTEM_TYPE_FULLSCREEN, \
|
|
38 |
TotemFullscreenClass))
|
|
39 |
#define TOTEM_IS_FULLSCREEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
|
|
40 |
TOTEM_TYPE_FULLSCREEN))
|
|
41 |
#define TOTEM_IS_FULLSCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
|
|
42 |
TOTEM_TYPE_FULLSCREEN))
|
|
43 |
||
44 |
typedef struct TotemFullscreen TotemFullscreen; |
|
45 |
typedef struct TotemFullscreenClass TotemFullscreenClass; |
|
1.2.36
by Pedro Fragoso
Import upstream version 2.21.93 |
46 |
typedef struct _TotemFullscreenPrivate TotemFullscreenPrivate; |
1.2.28
by Sebastien Bacher
Import upstream version 2.19.6 |
47 |
|
48 |
struct TotemFullscreen { |
|
49 |
GObject parent; |
|
50 |
||
51 |
/* Public Widgets from popups */
|
|
52 |
GtkWidget *time_label; |
|
53 |
GtkWidget *seek; |
|
54 |
GtkWidget *volume; |
|
55 |
GtkWidget *buttons_box; |
|
56 |
GtkWidget *exit_button; |
|
57 |
||
58 |
/* Read only */
|
|
59 |
gboolean is_fullscreen; |
|
60 |
||
61 |
/* Private */
|
|
62 |
TotemFullscreenPrivate *priv; |
|
63 |
};
|
|
64 |
||
65 |
struct TotemFullscreenClass { |
|
66 |
GObjectClass parent_class; |
|
67 |
};
|
|
68 |
||
69 |
GType totem_fullscreen_get_type (void); |
|
70 |
TotemFullscreen * totem_fullscreen_new (GtkWindow *toplevel_window); |
|
71 |
void totem_fullscreen_set_video_widget (TotemFullscreen *fs, |
|
72 |
BaconVideoWidget *bvw); |
|
1.2.36
by Pedro Fragoso
Import upstream version 2.21.93 |
73 |
void totem_fullscreen_set_parent_window (TotemFullscreen *fs, |
74 |
GtkWindow *parent_window); |
|
1.2.47
by Didier Roche
Import upstream version 2.25.3 |
75 |
void totem_fullscreen_show_popups (TotemFullscreen *fs, |
76 |
gboolean show_cursor); |
|
1.4.1
by Sebastien Bacher
Import upstream version 2.29.2 |
77 |
void totem_fullscreen_show_popups_or_osd (TotemFullscreen *fs, |
78 |
const char *icon_name, |
|
79 |
gboolean show_cursor); |
|
1.2.28
by Sebastien Bacher
Import upstream version 2.19.6 |
80 |
gboolean totem_fullscreen_is_fullscreen (TotemFullscreen *fs); |
81 |
void totem_fullscreen_set_fullscreen (TotemFullscreen *fs, |
|
82 |
gboolean fullscreen); |
|
83 |
void totem_fullscreen_set_title (TotemFullscreen *fs, |
|
84 |
const char *title); |
|
85 |
void totem_fullscreen_set_seekable (TotemFullscreen *fs, |
|
86 |
gboolean seekable); |
|
87 |
void totem_fullscreen_set_can_set_volume (TotemFullscreen *fs, |
|
88 |
gboolean can_set_volume); |