Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
06638c12
Commit
06638c12
authored
Aug 12, 2004
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/src/vlcproc.*: Added the isRepeat boolean expression
parent
7d4cf524
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+6
-0
modules/gui/skins2/src/vlcproc.hpp
modules/gui/skins2/src/vlcproc.hpp
+1
-0
No files found.
modules/gui/skins2/src/vlcproc.cpp
View file @
06638c12
...
@@ -76,6 +76,7 @@ VlcProc::VlcProc( intf_thread_t *pIntf ): SkinObject( pIntf ),
...
@@ -76,6 +76,7 @@ VlcProc::VlcProc( intf_thread_t *pIntf ): SkinObject( pIntf ),
"playlist.slider"
);
"playlist.slider"
);
REGISTER_VAR
(
m_cVarRandom
,
VarBoolImpl
,
"playlist.isRandom"
)
REGISTER_VAR
(
m_cVarRandom
,
VarBoolImpl
,
"playlist.isRandom"
)
REGISTER_VAR
(
m_cVarLoop
,
VarBoolImpl
,
"playlist.isLoop"
)
REGISTER_VAR
(
m_cVarLoop
,
VarBoolImpl
,
"playlist.isLoop"
)
REGISTER_VAR
(
m_cVarRepeat
,
VarBoolImpl
,
"playlist.isRepeat"
)
REGISTER_VAR
(
m_cVarTime
,
StreamTime
,
"time"
)
REGISTER_VAR
(
m_cVarTime
,
StreamTime
,
"time"
)
REGISTER_VAR
(
m_cVarVolume
,
Volume
,
"volume"
)
REGISTER_VAR
(
m_cVarVolume
,
Volume
,
"volume"
)
REGISTER_VAR
(
m_cVarStream
,
Stream
,
"stream"
)
REGISTER_VAR
(
m_cVarStream
,
Stream
,
"stream"
)
...
@@ -167,6 +168,7 @@ void VlcProc::manage()
...
@@ -167,6 +168,7 @@ void VlcProc::manage()
VarBoolImpl
*
pVarMute
=
(
VarBoolImpl
*
)
m_cVarMute
.
get
();
VarBoolImpl
*
pVarMute
=
(
VarBoolImpl
*
)
m_cVarMute
.
get
();
VarBoolImpl
*
pVarRandom
=
(
VarBoolImpl
*
)
m_cVarRandom
.
get
();
VarBoolImpl
*
pVarRandom
=
(
VarBoolImpl
*
)
m_cVarRandom
.
get
();
VarBoolImpl
*
pVarLoop
=
(
VarBoolImpl
*
)
m_cVarLoop
.
get
();
VarBoolImpl
*
pVarLoop
=
(
VarBoolImpl
*
)
m_cVarLoop
.
get
();
VarBoolImpl
*
pVarRepeat
=
(
VarBoolImpl
*
)
m_cVarRepeat
.
get
();
// Refresh sound volume
// Refresh sound volume
audio_volume_t
volume
;
audio_volume_t
volume
;
...
@@ -222,6 +224,10 @@ void VlcProc::manage()
...
@@ -222,6 +224,10 @@ void VlcProc::manage()
// Refresh the loop variable
// Refresh the loop variable
var_Get
(
getIntf
()
->
p_sys
->
p_playlist
,
"loop"
,
&
val
);
var_Get
(
getIntf
()
->
p_sys
->
p_playlist
,
"loop"
,
&
val
);
pVarLoop
->
set
(
val
.
b_bool
);
pVarLoop
->
set
(
val
.
b_bool
);
// Refresh the repeat variable
var_Get
(
getIntf
()
->
p_sys
->
p_playlist
,
"repeat"
,
&
val
);
pVarRepeat
->
set
(
val
.
b_bool
);
}
}
...
...
modules/gui/skins2/src/vlcproc.hpp
View file @
06638c12
...
@@ -87,6 +87,7 @@ class VlcProc: public SkinObject
...
@@ -87,6 +87,7 @@ class VlcProc: public SkinObject
VariablePtr
m_cPlaylist
;
VariablePtr
m_cPlaylist
;
VariablePtr
m_cVarRandom
;
VariablePtr
m_cVarRandom
;
VariablePtr
m_cVarLoop
;
VariablePtr
m_cVarLoop
;
VariablePtr
m_cVarRepeat
;
/// Variable for current position of the stream
/// Variable for current position of the stream
VariablePtr
m_cVarTime
;
VariablePtr
m_cVarTime
;
/// Variable for audio volume
/// Variable for audio volume
...
...
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