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
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
Hide 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 @@
* gtk2_api.cpp: Various gtk2-specific functions
*****************************************************************************
* 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>
*
...
...
@@ -53,7 +53,7 @@ void OSAPI_PostMessage( SkinWindow *win, unsigned int message, unsigned int para
long
param2
)
{
GdkEventClient
*
event
=
(
GdkEventClient
*
)
new
GdkEvent
;
event
->
type
=
GDK_CLIENT_EVENT
;
if
(
win
==
NULL
)
{
...
...
@@ -117,8 +117,8 @@ int OSAPI_GetTime()
//---------------------------------------------------------------------------
void
OSAPI_GetScreenSize
(
int
&
w
,
int
&
h
)
{
/* w = GetSystemMetrics(SM_CXSCREEN
);
h =
GetSystemMetrics(SM_CYSCREEN);*/
w
=
gdk_screen_width
(
);
h
=
gdk_screen_height
();
}
//---------------------------------------------------------------------------
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