Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4c4456b3
Commit
4c4456b3
authored
Jan 31, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lua: remove non-working menu object
parent
b88c8f40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
70 deletions
+0
-70
modules/lua/libs/osd.c
modules/lua/libs/osd.c
+0
-63
share/lua/README.txt
share/lua/README.txt
+0
-7
No files found.
modules/lua/libs/osd.c
View file @
4c4456b3
...
...
@@ -215,55 +215,6 @@ static int vlclua_spu_channel_clear( lua_State *L )
return
0
;
}
static
int
vlclua_menu_show
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
osd_MenuShow
(
p_this
);
return
0
;
}
static
int
vlclua_menu_hide
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
osd_MenuHide
(
p_this
);
return
0
;
}
static
int
vlclua_menu_prev
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
osd_MenuPrev
(
p_this
);
return
0
;
}
static
int
vlclua_menu_next
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
osd_MenuNext
(
p_this
);
return
0
;
}
static
int
vlclua_menu_up
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
osd_MenuUp
(
p_this
);
return
0
;
}
static
int
vlclua_menu_down
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
osd_MenuDown
(
p_this
);
return
0
;
}
static
int
vlclua_menu_activate
(
lua_State
*
L
)
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
osd_MenuActivate
(
p_this
);
return
0
;
}
/*****************************************************************************
*
*****************************************************************************/
...
...
@@ -276,23 +227,9 @@ static const luaL_Reg vlclua_osd_reg[] = {
{
NULL
,
NULL
}
};
static
const
luaL_Reg
vlclua_menu_reg
[]
=
{
{
"show"
,
vlclua_menu_show
},
{
"hide"
,
vlclua_menu_hide
},
{
"prev"
,
vlclua_menu_prev
},
{
"next"
,
vlclua_menu_next
},
{
"up"
,
vlclua_menu_up
},
{
"down"
,
vlclua_menu_down
},
{
"activate"
,
vlclua_menu_activate
},
{
NULL
,
NULL
}
};
void
luaopen_osd
(
lua_State
*
L
)
{
lua_newtable
(
L
);
luaL_register
(
L
,
NULL
,
vlclua_osd_reg
);
lua_newtable
(
L
);
luaL_register
(
L
,
NULL
,
vlclua_menu_reg
);
lua_setfield
(
L
,
-
2
,
"menu"
);
lua_setfield
(
L
,
-
2
,
"osd"
);
}
share/lua/README.txt
View file @
4c4456b3
...
...
@@ -220,13 +220,6 @@ osd.slider( position, type, [id] ): Display slider. Position is an integer
from 0 to 100. Type can be "horizontal" or "vertical".
osd.channel_register(): Register a new OSD channel. Returns the channel id.
osd.channel_clear( id ): Clear OSD channel.
osd.menu.show(): Show the OSD menu.
osd.menu.hide(): Hide the OSD menu.
osd.menu.prev(): Select previous/left item.
osd.menu.next(): Select next/right item.
osd.menu.up(): Move selection up.
osd.menu.down(): Move selection down.
osd.menu.activate(): Activate/validate current selection.
Playlist
--------
...
...
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