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
be0b6cf0
Commit
be0b6cf0
authored
Apr 15, 2003
by
Emmanuel Puig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* GTK2 events work even better
parent
5f90fb1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
modules/gui/skins/gtk2/gtk2_api.cpp
modules/gui/skins/gtk2/gtk2_api.cpp
+2
-6
modules/gui/skins/gtk2/gtk2_event.cpp
modules/gui/skins/gtk2/gtk2_event.cpp
+5
-3
No files found.
modules/gui/skins/gtk2/gtk2_api.cpp
View file @
be0b6cf0
...
...
@@ -2,7 +2,7 @@
* gtk2_api.cpp: Various gtk2-specific functions
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_api.cpp,v 1.
7 2003/04/15 20:33
:58 karibu Exp $
* $Id: gtk2_api.cpp,v 1.
8 2003/04/15 20:54
:58 karibu Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
...
...
@@ -121,11 +121,7 @@ void OSAPI_GetScreenSize( int &w, int &h )
//---------------------------------------------------------------------------
void
OSAPI_GetMousePos
(
int
&
x
,
int
&
y
)
{
/* LPPOINT MousePos = new POINT;
GetCursorPos( MousePos );
x = MousePos->x;
y = MousePos->y;
delete MousePos;*/
gdk_window_get_pointer
(
gdk_get_default_root_window
(),
&
x
,
&
y
,
NULL
);
}
//---------------------------------------------------------------------------
string
OSAPI_GetWindowTitle
(
Window
*
win
)
...
...
modules/gui/skins/gtk2/gtk2_event.cpp
View file @
be0b6cf0
...
...
@@ -2,7 +2,7 @@
* gtk2_event.cpp: GTK2 implementation of the Event class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_event.cpp,v 1.
6 2003/04/15 20:33
:58 karibu Exp $
* $Id: gtk2_event.cpp,v 1.
7 2003/04/15 20:54
:58 karibu Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
...
...
@@ -80,12 +80,14 @@ bool GTK2Event::SendEvent()
{
OSAPI_PostMessage
(
*
win
,
Message
,
Param1
,
Param2
);
PostSynchroMessage
();
return
true
;
}
}
OSAPI_PostMessage
(
NULL
,
Message
,
Param1
,
Param2
);
return
true
;
}
OSAPI_PostMessage
(
NULL
,
Message
,
Param1
,
Param2
);
return
true
;
return
false
;
}
//---------------------------------------------------------------------------
bool
GTK2Event
::
IsEqual
(
Event
*
evt
)
...
...
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