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
9a9b0c46
Commit
9a9b0c46
authored
Dec 24, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Use BeginFullScreen() to hide the mouse cursor ;
* Cheat with the screen saver (closes #46).
parent
2d54f8ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+5
-2
modules/gui/macosx/vout.h
modules/gui/macosx/vout.h
+2
-1
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+8
-3
No files found.
modules/gui/macosx/intf.m
View file @
9a9b0c46
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* intf.m: MacOS X interface plugin
* intf.m: MacOS X interface plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* Copyright (C) 2002 VideoLAN
* $Id: intf.m,v 1.1
0 2002/12/14 19:34:06 gbazin
Exp $
* $Id: intf.m,v 1.1
1 2002/12/24 23:00:51 massiot
Exp $
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
* Christophe Massiot <massiot@via.ecp.fr>
...
@@ -196,7 +196,7 @@ static void Run( intf_thread_t *p_intf )
...
@@ -196,7 +196,7 @@ static void Run( intf_thread_t *p_intf )
[
o_mu_file
setTitle
:
_NS
(
"File"
)];
[
o_mu_file
setTitle
:
_NS
(
"File"
)];
[
o_mi_open_file
setTitle
:
_NS
(
"Open File..."
)];
[
o_mi_open_file
setTitle
:
_NS
(
"Open File..."
)];
[
o_mi_open_generic
setTitle
:
_NS
(
"Open
Generic
..."
)];
[
o_mi_open_generic
setTitle
:
_NS
(
"Open..."
)];
[
o_mi_open_disc
setTitle
:
_NS
(
"Open Disc..."
)];
[
o_mi_open_disc
setTitle
:
_NS
(
"Open Disc..."
)];
[
o_mi_open_net
setTitle
:
_NS
(
"Open Network..."
)];
[
o_mi_open_net
setTitle
:
_NS
(
"Open Network..."
)];
[
o_mi_open_recent
setTitle
:
_NS
(
"Open Recent"
)];
[
o_mi_open_recent
setTitle
:
_NS
(
"Open Recent"
)];
...
@@ -310,6 +310,9 @@ static void Run( intf_thread_t *p_intf )
...
@@ -310,6 +310,9 @@ static void Run( intf_thread_t *p_intf )
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_VOUT
,
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
FIND_ANYWHERE
);
/* Disable screen saver. */
UpdateSystemActivity
(
UsrActivity
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
if
(
!
p_input
->
b_die
)
if
(
!
p_input
->
b_die
)
...
...
modules/gui/macosx/vout.h
View file @
9a9b0c46
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vout.h: MacOS X interface plugin
* vout.h: MacOS X interface plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: vout.h,v 1.
2 2002/12/08 05:30:47 jlj
Exp $
* $Id: vout.h,v 1.
3 2002/12/24 23:00:51 massiot
Exp $
*
*
* Authors: Colin Delacroix <colin@zoy.org>
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
* Florian G. Pflug <fgp@phlo.org>
...
@@ -82,5 +82,6 @@ struct vout_sys_t
...
@@ -82,5 +82,6 @@ struct vout_sys_t
MatrixRecordPtr
p_matrix
;
MatrixRecordPtr
p_matrix
;
DecompressorComponent
img_dc
;
DecompressorComponent
img_dc
;
ImageDescriptionHandle
h_img_descr
;
ImageDescriptionHandle
h_img_descr
;
Ptr
p_fullscreen_state
;
#endif
#endif
};
};
modules/gui/macosx/vout.m
View file @
9a9b0c46
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vout.m: MacOS X video output plugin
* vout.m: MacOS X video output plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: vout.m,v 1.
7 2002/12/08 05:30:47 jlj
Exp $
* $Id: vout.m,v 1.
8 2002/12/24 23:00:51 massiot
Exp $
*
*
* Authors: Colin Delacroix <colin@zoy.org>
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
* Florian G. Pflug <fgp@phlo.org>
...
@@ -130,6 +130,7 @@ int E_(OpenVideo) ( vlc_object_t *p_this )
...
@@ -130,6 +130,7 @@ int E_(OpenVideo) ( vlc_object_t *p_this )
p_vout
->
p_sys
->
h_img_descr
=
p_vout
->
p_sys
->
h_img_descr
=
(
ImageDescriptionHandle
)
NewHandleClear
(
sizeof
(
ImageDescription
)
);
(
ImageDescriptionHandle
)
NewHandleClear
(
sizeof
(
ImageDescription
)
);
p_vout
->
p_sys
->
p_matrix
=
(
MatrixRecordPtr
)
malloc
(
sizeof
(
MatrixRecord
)
);
p_vout
->
p_sys
->
p_matrix
=
(
MatrixRecordPtr
)
malloc
(
sizeof
(
MatrixRecord
)
);
p_vout
->
p_sys
->
p_fullscreen_state
;
p_vout
->
p_sys
->
b_mouse_pointer_visible
=
1
;
p_vout
->
p_sys
->
b_mouse_pointer_visible
=
1
;
...
@@ -533,11 +534,15 @@ static int CoToggleFullscreen( vout_thread_t *p_vout )
...
@@ -533,11 +534,15 @@ static int CoToggleFullscreen( vout_thread_t *p_vout )
if
(
p_vout
->
b_fullscreen
)
if
(
p_vout
->
b_fullscreen
)
{
{
HideMenuBar
();
if
(
p_vout
->
p_sys
->
p_fullscreen_state
==
NULL
)
BeginFullScreen
(
&
p_vout
->
p_sys
->
p_fullscreen_state
,
NULL
,
0
,
0
,
NULL
,
NULL
,
fullScreenHideCursor
|
fullScreenAllowEvents
);
}
}
else
else
{
{
ShowMenuBar
();
if
(
p_vout
->
p_sys
->
p_fullscreen_state
!=
NULL
)
EndFullScreen
(
p_vout
->
p_sys
->
p_fullscreen_state
,
NULL
);
p_vout
->
p_sys
->
p_fullscreen_state
=
NULL
;
}
}
if
(
CoCreateWindow
(
p_vout
)
)
if
(
CoCreateWindow
(
p_vout
)
)
...
...
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