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
67daaa16
Commit
67daaa16
authored
Jan 25, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mouse-clicked is a boolean
It was created as an integer and set as a boolean...
parent
fc4676a3
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
23 deletions
+12
-23
modules/gui/beos/VideoOutput.cpp
modules/gui/beos/VideoOutput.cpp
+1
-3
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+1
-3
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+1
-2
modules/gui/minimal_macosx/voutagl.m
modules/gui/minimal_macosx/voutagl.m
+1
-2
modules/video_output/caca.c
modules/video_output/caca.c
+1
-2
modules/video_output/ggi.c
modules/video_output/ggi.c
+1
-2
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+1
-2
modules/video_output/opengl.c
modules/video_output/opengl.c
+1
-1
modules/video_output/sdl.c
modules/video_output/sdl.c
+1
-2
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+1
-2
src/video_output/video_output.c
src/video_output/video_output.c
+1
-1
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+1
-1
No files found.
modules/gui/beos/VideoOutput.cpp
View file @
67daaa16
...
...
@@ -1123,9 +1123,7 @@ VLCView::MouseDown(BPoint where)
void
VLCView
::
MouseUp
(
BPoint
where
)
{
vlc_value_t
val
;
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-clicked"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
}
/*****************************************************************************
...
...
modules/gui/macosx/vout.m
View file @
67daaa16
...
...
@@ -579,9 +579,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if
(
p_vout
&&
[
o_event
type
]
==
NSLeftMouseUp
)
{
vlc_value_t
b_val
;
b_val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-clicked"
,
b_val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
var_Get
(
p_vout
,
"mouse-button-down"
,
&
val
);
val
.
i_int
&=
~
1
;
...
...
modules/gui/macosx/voutgl.m
View file @
67daaa16
...
...
@@ -956,8 +956,7 @@ static pascal OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, Event
{
vlc_value_t
val
;
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-clicked"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
var_Get
(
p_vout
,
"mouse-button-down"
,
&
val
);
val
.
i_int
&=
~
1
;
...
...
modules/gui/minimal_macosx/voutagl.m
View file @
67daaa16
...
...
@@ -542,8 +542,7 @@ static pascal OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, Event
{
vlc
_
value
_
t
val
;
val
.
b
_
bool
=
true
;
var
_
Set
(
p
_
vout
,
"mouse-clicked"
,
val
)
;
var
_
SetBool
(
p
_
vout
,
"mouse-clicked"
,
true
)
;
var
_
Get
(
p
_
vout
,
"mouse-button-down"
,
&
val
)
;
val
.
i
_
int
&=
~
1
;
...
...
modules/video_output/caca.c
View file @
67daaa16
...
...
@@ -366,8 +366,7 @@ static int Manage( vout_thread_t *p_vout )
var_Set
(
p_vout
,
"mouse-moved"
,
val
);
break
;
case
CACA_EVENT_MOUSE_RELEASE
:
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-clicked"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
break
;
case
CACA_EVENT_QUIT
:
{
...
...
modules/video_output/ggi.c
View file @
67daaa16
...
...
@@ -306,8 +306,7 @@ static int Manage( vout_thread_t *p_vout )
switch
(
event
.
pbutton
.
button
)
{
case
GII_PBUTTON_LEFT
:
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-clicked"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
break
;
case
GII_PBUTTON_RIGHT
:
...
...
modules/video_output/msw/events.c
View file @
67daaa16
...
...
@@ -222,8 +222,7 @@ void* EventThread( vlc_object_t *p_this )
val
.
i_int
&=
~
1
;
var_Set
(
p_event
->
p_vout
,
"mouse-button-down"
,
val
);
val
.
b_bool
=
true
;
var_Set
(
p_event
->
p_vout
,
"mouse-clicked"
,
val
);
var_SetBool
(
p_event
->
p_vout
,
"mouse-clicked"
,
true
);
break
;
case
WM_LBUTTONDBLCLK
:
...
...
modules/video_output/opengl.c
View file @
67daaa16
...
...
@@ -220,7 +220,7 @@ static int CreateVout( vlc_object_t *p_this )
var_Create
(
p_sys
->
p_vout
,
"mouse-x"
,
VLC_VAR_INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"mouse-y"
,
VLC_VAR_INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"mouse-moved"
,
VLC_VAR_BOOL
);
var_Create
(
p_sys
->
p_vout
,
"mouse-clicked"
,
VLC_VAR_
INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"mouse-clicked"
,
VLC_VAR_
BOOL
);
var_Create
(
p_sys
->
p_vout
,
"mouse-button-down"
,
VLC_VAR_INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"video-on-top"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
...
...
modules/video_output/sdl.c
View file @
67daaa16
...
...
@@ -436,8 +436,7 @@ static int Manage( vout_thread_t *p_vout )
val
.
i_int
&=
~
1
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-clicked"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
val
.
b_bool
=
false
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
val
);
...
...
modules/video_output/x11/xcommon.c
View file @
67daaa16
...
...
@@ -1301,8 +1301,7 @@ static int ManageVideo( vout_thread_t *p_vout )
val
.
i_int
&=
~
1
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-clicked"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
vlc_value_t
val
;
val
.
b_bool
=
false
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
val
);
...
...
src/video_output/video_output.c
View file @
67daaa16
...
...
@@ -403,7 +403,7 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
var_Create
(
p_vout
,
"mouse-y"
,
VLC_VAR_INTEGER
);
var_Create
(
p_vout
,
"mouse-button-down"
,
VLC_VAR_INTEGER
);
var_Create
(
p_vout
,
"mouse-moved"
,
VLC_VAR_BOOL
);
var_Create
(
p_vout
,
"mouse-clicked"
,
VLC_VAR_
INTEGER
);
var_Create
(
p_vout
,
"mouse-clicked"
,
VLC_VAR_
BOOL
);
/* Initialize subpicture unit */
p_vout
->
p_spu
=
spu_Create
(
p_vout
);
...
...
src/video_output/vout_intf.c
View file @
67daaa16
...
...
@@ -432,7 +432,7 @@ void vout_IntfInit( vout_thread_t *p_vout )
var_Create
(
p_vout
,
"mouse-y"
,
VLC_VAR_INTEGER
);
var_Create
(
p_vout
,
"mouse-button-down"
,
VLC_VAR_INTEGER
);
var_Create
(
p_vout
,
"mouse-moved"
,
VLC_VAR_BOOL
);
var_Create
(
p_vout
,
"mouse-clicked"
,
VLC_VAR_
INTEGER
);
var_Create
(
p_vout
,
"mouse-clicked"
,
VLC_VAR_
BOOL
);
var_Create
(
p_vout
,
"intf-change"
,
VLC_VAR_BOOL
);
var_SetBool
(
p_vout
,
"intf-change"
,
true
);
...
...
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