Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
165268ce
Commit
165268ce
authored
Aug 21, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement 'i' hotkey to show FSC.
Close #1783 ( rest is 1646 duplicate)
parent
66a8a1a8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
8 deletions
+25
-8
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+4
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+2
-2
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/input_manager.hpp
+4
-3
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+12
-2
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+3
-1
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
165268ce
...
...
@@ -1110,6 +1110,10 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
switch
(
event
->
type
()
)
{
case
FullscreenControlToggle_Type
:
// FIXME
TOGGLEV
(
this
);
break
;
case
FullscreenControlShow_Type
:
vlc_mutex_lock
(
&
lock
);
b_fs
=
b_fullscreen
;
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
165268ce
/*****************************************************************************
*
main_inteface.cpp : Main interface
*
dialogs_provider.cpp : Dialog Provider
*****************************************************************************
* Copyright (C) 2006-200
7
the VideoLAN team
* Copyright (C) 2006-200
8
the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@videolan.org>
...
...
modules/gui/qt4/input_manager.hpp
View file @
165268ce
...
...
@@ -45,9 +45,10 @@ static int const VolumeChanged_Type = QEvent::User + IMEventType + 6;
static
int
const
ItemSpuChanged_Type
=
QEvent
::
User
+
IMEventType
+
7
;
static
int
const
ItemTeletextChanged_Type
=
QEvent
::
User
+
IMEventType
+
8
;
static
int
const
FullscreenControlShow_Type
=
QEvent
::
User
+
IMEventType
+
10
;
static
int
const
FullscreenControlHide_Type
=
QEvent
::
User
+
IMEventType
+
11
;
static
int
const
FullscreenControlPlanHide_Type
=
QEvent
::
User
+
IMEventType
+
12
;
static
int
const
FullscreenControlToggle_Type
=
QEvent
::
User
+
IMEventType
+
10
;
static
int
const
FullscreenControlShow_Type
=
QEvent
::
User
+
IMEventType
+
11
;
static
int
const
FullscreenControlHide_Type
=
QEvent
::
User
+
IMEventType
+
12
;
static
int
const
FullscreenControlPlanHide_Type
=
QEvent
::
User
+
IMEventType
+
13
;
class
IMEvent
:
public
QEvent
{
...
...
modules/gui/qt4/main_interface.cpp
View file @
165268ce
...
...
@@ -594,10 +594,19 @@ void MainInterface::resizeEvent( QResizeEvent *e )
}
#endif
void
MainInterface
::
toggleFSC
()
{
if
(
!
fullscreenControls
)
return
;
IMEvent
*
eShow
=
new
IMEvent
(
FullscreenControlToggle_Type
,
0
);
QApplication
::
postEvent
(
fullscreenControls
,
static_cast
<
QEvent
*>
(
eShow
)
);
}
#if 0
void MainInterface::requestLayoutUpdate()
{
emit askUpdate();
}
#endif
//FIXME remove me at the end...
void
MainInterface
::
debug
()
...
...
@@ -1227,7 +1236,8 @@ static int IntfShowCB( vlc_object_t *p_this, const char *psz_variable,
vlc_value_t
old_val
,
vlc_value_t
new_val
,
void
*
param
)
{
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
param
;
p_intf
->
p_sys
->
p_mi
->
requestLayoutUpdate
();
p_intf
->
p_sys
->
p_mi
->
toggleFSC
();
return
VLC_SUCCESS
;
/* Show event */
return
VLC_SUCCESS
;
}
modules/gui/qt4/main_interface.hpp
View file @
165268ce
...
...
@@ -75,8 +75,9 @@ public:
void
releaseVideo
(
void
*
);
int
controlVideo
(
void
*
p_window
,
int
i_query
,
va_list
args
);
#if 0
void requestLayoutUpdate();
#endif
/* Getters */
QSystemTrayIcon
*
getSysTray
()
{
return
sysTray
;
};
QMenu
*
getSysTrayMenu
()
{
return
systrayMenu
;
};
...
...
@@ -151,6 +152,7 @@ public slots:
void
toggleUpdateSystrayMenu
();
void
toggleAdvanced
();
void
toggleFullScreen
();
void
toggleFSC
();
/* Manage the Video Functions from the vout threads */
void
releaseVideoSlot
(
void
*
);
...
...
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