Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
6289ccbb
Commit
6289ccbb
authored
Nov 09, 2003
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDA inteface:
* Redesigned "Camera" tabpage.
parent
efaf688c
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1143 additions
and
227 deletions
+1143
-227
modules/gui/pda/pda.glade
modules/gui/pda/pda.glade
+761
-128
modules/gui/pda/pda_callbacks.c
modules/gui/pda/pda_callbacks.c
+20
-18
modules/gui/pda/pda_interface.c
modules/gui/pda/pda_interface.c
+362
-81
No files found.
modules/gui/pda/pda.glade
View file @
6289ccbb
This diff is collapsed.
Click to expand it.
modules/gui/pda/pda_callbacks.c
View file @
6289ccbb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* pda_callbacks.c : Callbacks for the pda Linux Gtk+ plugin.
* pda_callbacks.c : Callbacks for the pda Linux Gtk+ plugin.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* Copyright (C) 2000, 2001 VideoLAN
* $Id: pda_callbacks.c,v 1.
8 2003/11/08 18:31:0
1 jpsaman Exp $
* $Id: pda_callbacks.c,v 1.
9 2003/11/09 13:59:2
1 jpsaman Exp $
*
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
*
...
@@ -466,6 +466,8 @@ void addSelectedToPlaylist(GtkTreeModel *model,
...
@@ -466,6 +466,8 @@ void addSelectedToPlaylist(GtkTreeModel *model,
p_play_model
=
gtk_tree_view_get_model
(
p_tvplaylist
);
p_play_model
=
gtk_tree_view_get_model
(
p_tvplaylist
);
if
(
p_play_model
)
{
/* Add a new row to the playlist treeview model */
/* Add a new row to the playlist treeview model */
gtk_list_store_append
(
GTK_LIST_STORE
(
p_play_model
),
&
p_play_iter
);
gtk_list_store_append
(
GTK_LIST_STORE
(
p_play_model
),
&
p_play_iter
);
gtk_list_store_set
(
GTK_LIST_STORE
(
p_play_model
),
&
p_play_iter
,
gtk_list_store_set
(
GTK_LIST_STORE
(
p_play_model
),
&
p_play_iter
,
...
@@ -473,8 +475,7 @@ void addSelectedToPlaylist(GtkTreeModel *model,
...
@@ -473,8 +475,7 @@ void addSelectedToPlaylist(GtkTreeModel *model,
1
,
"no info"
,
1
,
"no info"
,
-
1
);
-
1
);
}
}
else
}
g_print
(
"Error obtaining pointer to Play List"
);
}
}
void
void
...
@@ -514,14 +515,15 @@ onFileListRow (GtkTreeView *treeview,
...
@@ -514,14 +515,15 @@ onFileListRow (GtkTreeView *treeview,
G_TYPE_UINT64
,
G_TYPE_UINT64
,
G_TYPE_STRING
,
G_TYPE_STRING
,
G_TYPE_STRING
);
G_TYPE_STRING
);
if
(
NULL
==
p_model
)
if
(
p_model
)
g_print
(
"ERROR: model has a NULL pointer
\n
"
);
{
ReadDirectory
(
p_model
,
filename
);
ReadDirectory
(
p_model
,
filename
);
/* Update TreeView with new model */
/* Update TreeView with new model */
gtk_tree_view_set_model
(
treeview
,
(
GtkTreeModel
*
)
p_model
);
gtk_tree_view_set_model
(
treeview
,
(
GtkTreeModel
*
)
p_model
);
g_object_unref
(
p_model
);
g_object_unref
(
p_model
);
}
}
}
else
else
{
{
gtk_tree_selection_selected_foreach
(
selection
,
(
GtkTreeSelectionForeachFunc
)
&
addSelectedToPlaylist
,
(
gpointer
)
treeview
);
gtk_tree_selection_selected_foreach
(
selection
,
(
GtkTreeSelectionForeachFunc
)
&
addSelectedToPlaylist
,
(
gpointer
)
treeview
);
...
@@ -593,8 +595,8 @@ NetworkBuildMRL (GtkEditable *editable,
...
@@ -593,8 +595,8 @@ NetworkBuildMRL (GtkEditable *editable,
GtkEntry
*
networkProtocol
=
NULL
;
GtkEntry
*
networkProtocol
=
NULL
;
const
gchar
*
mrlNetworkType
;
const
gchar
*
mrlNetworkType
;
const
gchar
*
mrlAddress
;
const
gchar
*
mrlAddress
;
gint
mrlPort
;
const
gchar
*
mrlProtocol
;
const
gchar
*
mrlProtocol
;
gint
mrlPort
;
#define VLC_MAX_MRL 256
#define VLC_MAX_MRL 256
char
text
[
VLC_MAX_MRL
];
char
text
[
VLC_MAX_MRL
];
int
pos
=
0
;
int
pos
=
0
;
...
@@ -637,7 +639,7 @@ onAddNetworkPlaylist (GtkButton *button,
...
@@ -637,7 +639,7 @@ onAddNetworkPlaylist (GtkButton *button,
const
gchar
*
mrl_name
;
const
gchar
*
mrl_name
;
p_mrl
=
(
GtkEntry
*
)
lookup_widget
(
GTK_WIDGET
(
button
),
"entryMRL"
);
p_mrl
=
(
GtkEntry
*
)
lookup_widget
(
GTK_WIDGET
(
button
),
"entryMRL"
);
if
(
NULL
!=
p_mrl
)
if
(
p_mrl
)
{
{
mrl_name
=
gtk_entry_get_text
(
p_mrl
);
mrl_name
=
gtk_entry_get_text
(
p_mrl
);
...
...
modules/gui/pda/pda_interface.c
View file @
6289ccbb
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment