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
899ac5e2
Commit
899ac5e2
authored
Apr 14, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* implemented OSAPI_GetTime() with glib
parent
119b0c3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/gui/skins/gtk2/gtk2_api.cpp
modules/gui/skins/gtk2/gtk2_api.cpp
+5
-2
No files found.
modules/gui/skins/gtk2/gtk2_api.cpp
View file @
899ac5e2
...
@@ -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.
4 2003/04/13 19:09:59
asmax Exp $
* $Id: gtk2_api.cpp,v 1.
5 2003/04/14 21:38:31
asmax Exp $
*
*
* Authors: Cyril Deguet <asmax@videolan.org>
* Authors: Cyril Deguet <asmax@videolan.org>
*
*
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#if !defined WIN32
#if !defined WIN32
//--- GTK2 ------------------------------------------------------------------
//--- GTK2 ------------------------------------------------------------------
#include <glib.h>
#include <gdk/gdk.h>
#include <gdk/gdk.h>
//--- SKIN ------------------------------------------------------------------
//--- SKIN ------------------------------------------------------------------
...
@@ -90,7 +91,9 @@ int OSAPI_GetNonTransparentColor( int c )
...
@@ -90,7 +91,9 @@ int OSAPI_GetNonTransparentColor( int c )
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
int
OSAPI_GetTime
()
int
OSAPI_GetTime
()
{
{
/* return GetTickCount();*/
GTimeVal
time
;
g_get_current_time
(
&
time
);
return
(
time
.
tv_sec
*
1000
+
time
.
tv_usec
/
1000
);
}
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void
OSAPI_GetScreenSize
(
int
&
w
,
int
&
h
)
void
OSAPI_GetScreenSize
(
int
&
w
,
int
&
h
)
...
...
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