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
b33847ec
Commit
b33847ec
authored
May 18, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/gui/beos/MessagesWindow.cpp : fixed a minor scrolling issue
parent
b7a07a65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
modules/gui/beos/MessagesWindow.cpp
modules/gui/beos/MessagesWindow.cpp
+14
-3
No files found.
modules/gui/beos/MessagesWindow.cpp
View file @
b33847ec
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* MessagesWindow.cpp: beos interface
* MessagesWindow.cpp: beos interface
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: MessagesWindow.cpp,v 1.1
0 2003/05/17 18:30:41
titer Exp $
* $Id: MessagesWindow.cpp,v 1.1
1 2003/05/18 22:30:33
titer Exp $
*
*
* Authors: Eric Petit <titer@videolan.org>
* Authors: Eric Petit <titer@videolan.org>
*
*
...
@@ -39,6 +39,17 @@
...
@@ -39,6 +39,17 @@
*****************************************************************************/
*****************************************************************************/
void
MessagesView
::
Pulse
()
void
MessagesView
::
Pulse
()
{
{
bool
isScrolling
=
false
;
if
(
fScrollBar
->
LockLooper
()
)
{
float
min
,
max
;
fScrollBar
->
GetRange
(
&
min
,
&
max
);
if
(
fScrollBar
->
Value
()
!=
max
)
isScrolling
=
true
;
fScrollBar
->
UnlockLooper
();
}
int
i_start
,
oldLength
;
int
i_start
,
oldLength
;
char
*
psz_module_type
=
NULL
;
char
*
psz_module_type
=
NULL
;
rgb_color
red
=
{
200
,
0
,
0
};
rgb_color
red
=
{
200
,
0
,
0
};
...
@@ -100,10 +111,10 @@ void MessagesView::Pulse()
...
@@ -100,10 +111,10 @@ void MessagesView::Pulse()
vlc_mutex_unlock
(
p_sub
->
p_lock
);
vlc_mutex_unlock
(
p_sub
->
p_lock
);
}
}
/* Scroll at the end unless the is user is selecting something */
/* Scroll at the end unless the is user is s
crolling or s
electing something */
int32
start
,
end
;
int32
start
,
end
;
GetSelection
(
&
start
,
&
end
);
GetSelection
(
&
start
,
&
end
);
if
(
start
==
end
&&
fScrollBar
->
LockLooper
()
)
if
(
!
isScrolling
&&
start
==
end
&&
fScrollBar
->
LockLooper
()
)
{
{
float
min
,
max
;
float
min
,
max
;
fScrollBar
->
GetRange
(
&
min
,
&
max
);
fScrollBar
->
GetRange
(
&
min
,
&
max
);
...
...
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