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
a9a1ab08
Commit
a9a1ab08
authored
Aug 01, 2004
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/skins2/parser/interpreter.cpp: Added the "vlc.ontop()" action
* doc/skins/skins2-howto.xml: Updated the doc
parent
8bc23a1c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
doc/skins/skins2-howto.xml
doc/skins/skins2-howto.xml
+7
-2
modules/gui/skins2/parser/interpreter.cpp
modules/gui/skins2/parser/interpreter.cpp
+2
-0
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+1
-1
No files found.
doc/skins/skins2-howto.xml
View file @
a9a1ab08
...
...
@@ -712,9 +712,14 @@ difficulty to understand how VLC skins work.</para>
<listitem><para>
<emphasis>
vlc.fullscreen()
</emphasis>
: Toggle the fullscreen mode.
</para></listitem>
<!-- _Enable it for 0.7.3_ listitem><para>
<!-- TODO: Enable it for 0.7.3
<listitem><para>
<emphasis>vlc.ontop()</emphasis>: Toggle the "Always on top" status.
</para></listitem>
<listitem><para>
<emphasis>vlc.minimize()</emphasis>: Minimize VLC.
</para></listitem-->
</para></listitem>
-->
<listitem><para>
<emphasis>
vlc.quit()
</emphasis>
: Quit VLC.
</para></listitem>
...
...
modules/gui/skins2/parser/interpreter.cpp
View file @
a9a1ab08
...
...
@@ -32,6 +32,7 @@
#include "../commands/cmd_minimize.hpp"
#include "../commands/cmd_input.hpp"
#include "../commands/cmd_fullscreen.hpp"
#include "../commands/cmd_on_top.hpp"
#include "../commands/cmd_show_window.hpp"
#include "../src/theme.hpp"
#include "../src/var_manager.hpp"
...
...
@@ -77,6 +78,7 @@ Interpreter::Interpreter( intf_thread_t *pIntf ): SkinObject( pIntf )
REGISTER_CMD
(
"vlc.slower()"
,
CmdSlower
)
REGISTER_CMD
(
"vlc.mute()"
,
CmdMute
)
REGISTER_CMD
(
"vlc.minimize()"
,
CmdMinimize
)
REGISTER_CMD
(
"vlc.ontop()"
,
CmdOnTop
)
REGISTER_CMD
(
"vlc.quit()"
,
CmdQuit
)
// Register the constant bool variables in the var manager
...
...
modules/gui/skins2/src/vlcproc.cpp
View file @
a9a1ab08
...
...
@@ -79,7 +79,7 @@ VlcProc::VlcProc( intf_thread_t *pIntf ): SkinObject( pIntf ),
REGISTER_VAR
(
m_cVarTime
,
StreamTime
,
"time"
)
REGISTER_VAR
(
m_cVarVolume
,
Volume
,
"volume"
)
REGISTER_VAR
(
m_cVarStream
,
Stream
,
"stream"
)
REGISTER_VAR
(
m_cVarMute
,
VarBoolImpl
,
"vlc.isMute"
)
// XXX broken
REGISTER_VAR
(
m_cVarMute
,
VarBoolImpl
,
"vlc.isMute"
)
REGISTER_VAR
(
m_cVarPlaying
,
VarBoolImpl
,
"vlc.isPlaying"
)
REGISTER_VAR
(
m_cVarStopped
,
VarBoolImpl
,
"vlc.isStopped"
)
REGISTER_VAR
(
m_cVarPaused
,
VarBoolImpl
,
"vlc.isPaused"
)
...
...
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