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
23927fbb
Commit
23927fbb
authored
Nov 19, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: show an indeterminate progress bar style when doing stuff for indeterminate time
Fixes #5548
parent
7c3da067
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
modules/gui/macosx/coredialogs.h
modules/gui/macosx/coredialogs.h
+1
-1
modules/gui/macosx/coredialogs.m
modules/gui/macosx/coredialogs.m
+4
-1
No files found.
modules/gui/macosx/coredialogs.h
View file @
23927fbb
/*****************************************************************************
* coredialogs.h: Mac OS X Core Dialogs
*****************************************************************************
* Copyright (C) 2005-20
09
VLC authors and VideoLAN
* Copyright (C) 2005-20
11
VLC authors and VideoLAN
* $Id$
*
* Authors: Derk-Jan Hartman <hartman at videolan dot org>
...
...
modules/gui/macosx/coredialogs.m
View file @
23927fbb
/*****************************************************************************
* coredialogs.m: Mac OS X Core Dialogs
*****************************************************************************
* Copyright (C) 2005-20
09
VLC authors and VideoLAN
* Copyright (C) 2005-20
11
VLC authors and VideoLAN
* $Id$
*
* Authors: Derk-Jan Hartman <hartman at videolan dot org>
...
...
@@ -184,6 +184,7 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
else
[
o_prog_description_txt
setStringValue
:
@""
];
[
o_prog_bar
setDoubleValue
:
0
];
[
o_prog_bar
setIndeterminate
:
YES
];
[
o_prog_bar
startAnimation
:
self
];
[
o_prog_win
makeKeyAndOrderFront
:
self
];
...
...
@@ -192,6 +193,8 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
-
(
void
)
updateProgressPanelWithText
:
(
NSString
*
)
string
andNumber
:
(
double
)
d_number
{
[
o_prog_description_txt
setStringValue
:
string
];
if
(
d_number
>
0
)
[
o_prog_bar
setIndeterminate
:
NO
];
[
o_prog_bar
setDoubleValue
:
d_number
];
}
...
...
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