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
175414ec
Commit
175414ec
authored
Apr 18, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a few keyboard shortcuts
parent
5b9ea47e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
modules/gui/beos/VideoOutput.cpp
modules/gui/beos/VideoOutput.cpp
+14
-1
No files found.
modules/gui/beos/VideoOutput.cpp
View file @
175414ec
...
...
@@ -2,7 +2,7 @@
* vout_beos.cpp: beos video output display method
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: VideoOutput.cpp,v 1.1
5 2003/04/18 16:38:5
8 titer Exp $
* $Id: VideoOutput.cpp,v 1.1
6 2003/04/18 19:26:3
8 titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -293,6 +293,19 @@ VideoWindow::VideoWindow(int v_width, int v_height, BRect frame,
if
(
config_GetInt
(
p_vout
,
"fullscreen"
))
fSettings
->
AddFlags
(
VideoSettings
::
FLAG_FULL_SCREEN
);
// add a few useful shortcuts
AddShortcut
(
'f'
,
0
,
new
BMessage
(
TOGGLE_FULL_SCREEN
)
);
AddShortcut
(
'1'
,
0
,
new
BMessage
(
RESIZE_50
)
);
AddShortcut
(
'2'
,
0
,
new
BMessage
(
RESIZE_100
)
);
AddShortcut
(
'3'
,
0
,
new
BMessage
(
RESIZE_200
)
);
// workaround for french keyboards
fprintf
(
stderr
,
"%x
\n
"
,
'&'
);
AddShortcut
(
'&'
,
0
,
new
BMessage
(
RESIZE_50
)
);
AddShortcut
(
'é'
,
0
,
new
BMessage
(
RESIZE_100
)
);
// FIXME - this one doesn't work because 'é' is a multi-byte character
AddShortcut
(
'"'
,
0
,
new
BMessage
(
RESIZE_200
)
);
_SetToSettings
();
}
...
...
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