~ubuntu-branches/ubuntu/wily/bombono-dvd/wily

« back to all changes in this revision

Viewing changes to src/mgui/author/indicator.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101104114625-8xfdhvhpsm51i0nu
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <mgui/_pc_.h>
23
23
 
24
 
#include "execute.h"
25
 
#include "script.h"  // CheckAuthorMode
 
24
#include "script.h"  // ConsoleMode
26
25
 
27
26
#include <mgui/img_utils.h> // Round()
28
27
#include <mgui/gettext.h>
101
100
 
102
101
void SetStageProgress(double percent)
103
102
{
104
 
    if( Project::CheckAuthorMode::Flag )
 
103
    if( Execution::ConsoleMode::Flag )
105
104
        return;
106
105
 
107
106
    double sum = 0;
135
134
 
136
135
void SetStage(Stage st)
137
136
{
138
 
    if( Project::CheckAuthorMode::Flag )
 
137
    if( Execution::ConsoleMode::Flag )
139
138
        return;
140
139
 
141
140
    GetES().SetStatus(StageToStr(st));