Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ce066e7c
Commit
ce066e7c
authored
Mar 21, 2003
by
Emmanuel Puig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* slider.cpp: fixed mouse down refresh bug * theme.cpp: removed debug text
parent
6e950fca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/gui/skins/controls/slider.cpp
modules/gui/skins/controls/slider.cpp
+3
-1
modules/gui/skins/src/theme.cpp
modules/gui/skins/src/theme.cpp
+1
-3
No files found.
modules/gui/skins/controls/slider.cpp
View file @
ce066e7c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* slider.cpp: Slider control
* slider.cpp: Slider control
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: slider.cpp,v 1.
1 2003/03/18 02:21:47 ipkiss
Exp $
* $Id: slider.cpp,v 1.
2 2003/03/21 00:17:00 karibu
Exp $
*
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
@@ -279,6 +279,8 @@ bool ControlSlider::MouseDown( int x, int y, int button )
...
@@ -279,6 +279,8 @@ bool ControlSlider::MouseDown( int x, int y, int button )
{
{
State
=
0
;
State
=
0
;
Selected
=
true
;
Selected
=
true
;
ParentWindow
->
Refresh
(
Left
+
CursorX
[
Value
],
Top
+
CursorY
[
Value
],
CWidth
,
CHeight
);
MoveCursor
(
FindNearestPoint
(
x
,
y
)
);
MoveCursor
(
FindNearestPoint
(
x
,
y
)
);
UpdateEvent
->
SetParam2
(
GetCursorPosition
()
);
UpdateEvent
->
SetParam2
(
GetCursorPosition
()
);
UpdateEvent
->
SendEvent
();
UpdateEvent
->
SendEvent
();
...
...
modules/gui/skins/src/theme.cpp
View file @
ce066e7c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* theme.cpp: Theme class
* theme.cpp: Theme class
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: theme.cpp,v 1.
4 2003/03/21 00:00:19
karibu Exp $
* $Id: theme.cpp,v 1.
5 2003/03/21 00:17:00
karibu Exp $
*
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
@@ -359,8 +359,6 @@ void Theme::HangToAnchors( Window *wnd, int &x, int &y, bool init )
...
@@ -359,8 +359,6 @@ void Theme::HangToAnchors( Window *wnd, int &x, int &y, bool init )
// If parent hang child and child is not still in list
// If parent hang child and child is not still in list
if
(
!
(
*
win_anchor
)
->
IsInList
(
(
*
wnd_anchor
)
)
)
if
(
!
(
*
win_anchor
)
->
IsInList
(
(
*
wnd_anchor
)
)
)
{
{
if
(
init
)
msg_Err
(
p_intf
,
"Add"
);
(
*
win_anchor
)
->
Add
(
(
*
wnd_anchor
)
);
(
*
win_anchor
)
->
Add
(
(
*
wnd_anchor
)
);
}
}
...
...
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