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
dbdf9101
Commit
dbdf9101
authored
Apr 24, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* get screen size with gtk2
parent
f7629a68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/skins/gtk2/gtk2_api.cpp
modules/gui/skins/gtk2/gtk2_api.cpp
+4
-4
No files found.
modules/gui/skins/gtk2/gtk2_api.cpp
View file @
dbdf9101
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* gtk2_api.cpp: Various gtk2-specific functions
* gtk2_api.cpp: Various gtk2-specific functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_api.cpp,v 1.1
4 2003/04/22 19:26:02
asmax Exp $
* $Id: gtk2_api.cpp,v 1.1
5 2003/04/24 14:38:06
asmax Exp $
*
*
* Authors: Cyril Deguet <asmax@videolan.org>
* Authors: Cyril Deguet <asmax@videolan.org>
*
*
...
@@ -117,8 +117,8 @@ int OSAPI_GetTime()
...
@@ -117,8 +117,8 @@ int OSAPI_GetTime()
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void
OSAPI_GetScreenSize
(
int
&
w
,
int
&
h
)
void
OSAPI_GetScreenSize
(
int
&
w
,
int
&
h
)
{
{
/* w = GetSystemMetrics(SM_CXSCREEN
);
w
=
gdk_screen_width
(
);
h =
GetSystemMetrics(SM_CYSCREEN);*/
h
=
gdk_screen_height
();
}
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void
OSAPI_GetMousePos
(
int
&
x
,
int
&
y
)
void
OSAPI_GetMousePos
(
int
&
x
,
int
&
y
)
...
...
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