summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/edit.cpp2
-rw-r--r--src/ui/group.cpp4
-rw-r--r--src/ui/list.cpp2
-rw-r--r--src/ui/maindialog.cpp16
-rw-r--r--src/ui/maindialog.h4
-rw-r--r--src/ui/studio.cpp4
6 files changed, 16 insertions, 16 deletions
diff --git a/src/ui/edit.cpp b/src/ui/edit.cpp
index 2988798..58a8b7d 100644
--- a/src/ui/edit.cpp
+++ b/src/ui/edit.cpp
@@ -2199,7 +2199,7 @@ void CEdit::Scroll(int pos, bool bAdjustCursor)
return;
}
}
-
+
Justif();
}
diff --git a/src/ui/group.cpp b/src/ui/group.cpp
index f4b1fe2..06290e4 100644
--- a/src/ui/group.cpp
+++ b/src/ui/group.cpp
@@ -576,7 +576,7 @@ void CGroup::Draw()
uv2.x -= dp;
uv2.y -= dp;
DrawIcon(pos, dim, uv1, uv2);
-
+
m_engine->SetTexture("button3.tga");
m_engine->SetState(D3DSTATENORMAL);
pos.x += 8.0f/640.0f;
@@ -607,7 +607,7 @@ void CGroup::Draw()
uv2.x -= dp;
uv2.y -= dp;
DrawIcon(pos, dim, uv1, uv2);
-
+
m_engine->SetState(D3DSTATETTb);
pos.x += 8.0f/640.0f;
pos.y += 8.0f/480.0f;
diff --git a/src/ui/list.cpp b/src/ui/list.cpp
index 75c740d..9fbc5d9 100644
--- a/src/ui/list.cpp
+++ b/src/ui/list.cpp
@@ -431,7 +431,7 @@ void CList::Draw()
DrawIcon(pos, dim, uv1, uv2); // ch'tite shadow cute (?)
}
}
-
+
for ( i=0 ; i<m_displayLine ; i++ )
{
if ( i+m_firstLine >= m_totalLine ) break;
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index a45846e..5d96043 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -83,7 +83,7 @@ static int perso_color[3*10*3] =
90, 95, 85, // black
85, 48, 9, // brown
60, 0, 23, // black
- 0, 0, 0, //
+ 0, 0, 0, //
// spacesuit:
203, 206, 204, // dirty white
0, 205, 203, // bluish
@@ -94,7 +94,7 @@ static int perso_color[3*10*3] =
0, 84, 136, // bluish
56, 61, 146, // bluish
56, 56, 56, // black
- 0, 0, 0, //
+ 0, 0, 0, //
// strips:
255, 255, 255, // white
255, 255, 0, // yellow
@@ -105,7 +105,7 @@ static int perso_color[3*10*3] =
0, 255, 255, // cyan
0, 0, 255, // blue
70, 51, 84, // dark
- 0, 0, 0, //
+ 0, 0, 0, //
};
@@ -187,7 +187,7 @@ CMainDialog::CMainDialog(CInstanceManager* iMan)
ZeroMemory(&m_perso, sizeof(GamerPerso));
DefPerso();
-
+
m_bTooltip = true;
m_bGlint = true;
m_bRain = true;
@@ -588,7 +588,7 @@ void CMainDialog::ChangePhase(Phase phase)
ddim.x = 220.0f/640.0f;
ddim.y = 274.0f/480.0f;
pw->CreateGroup(pos, ddim, 17, EVENT_NULL); // frame
-
+
pos.x = 100.0f/640.0f;
pos.y = 364.0f/480.0f;
ddim.x = 210.0f/640.0f;
@@ -890,7 +890,7 @@ void CMainDialog::ChangePhase(Phase phase)
pli->SetState(STATE_SHADOW);
UpdateSceneChap(m_chap[m_index]);
if ( m_phase != PHASE_USER ) pli->SetState(STATE_EXTEND);
-
+
// Displays a list of missions:
pos.x = ox+sx*9.5f;
pos.y = oy+sy*10.5f;
@@ -925,7 +925,7 @@ void CMainDialog::ChangePhase(Phase phase)
GetResource(RES_TEXT, RT_PLAY_RESUME, name);
pl = pw->CreateLabel(pos, ddim, 0, EVENT_LABEL13, name);
pl->SetJustif(1);
-
+
pos.x = ox+sx*3;
pos.y = oy+sy*3.6f;
ddim.x = dim.x*13.4f;
@@ -3678,7 +3678,7 @@ void CMainDialog::ReadNameList()
pl = (CList*)pw->SearchControl(EVENT_INTERFACE_NLIST);
if ( pl == 0 ) return;
pl->Flush();
-
+
nbFilenames = 0;
sprintf(dir, "%s\\*", m_savegameDir);
hFile = _findfirst(dir, &fBuffer);
diff --git a/src/ui/maindialog.h b/src/ui/maindialog.h
index bcda4aa..cfd9564 100644
--- a/src/ui/maindialog.h
+++ b/src/ui/maindialog.h
@@ -186,9 +186,9 @@ protected:
char m_sceneDir[_MAX_FNAME]; // scene folder
char m_savegameDir[_MAX_FNAME]; // savegame folder
- char m_publicDir[_MAX_FNAME]; // program folder
+ char m_publicDir[_MAX_FNAME]; // program folder
char m_userDir[_MAX_FNAME]; // user folder
- char m_filesDir[_MAX_FNAME]; // case files
+ char m_filesDir[_MAX_FNAME]; // case files
int m_index; // 0..4
int m_chap[10]; // selected chapter (0..8)
diff --git a/src/ui/studio.cpp b/src/ui/studio.cpp
index 215dc51..cba19d6 100644
--- a/src/ui/studio.cpp
+++ b/src/ui/studio.cpp
@@ -498,7 +498,7 @@ void CStudio::SearchToken(CEdit* edit)
token[i] = text[cursor2+i];
}
token[i] = 0;
-
+
strcpy(m_helpFilename, RetHelpFilename(token));
if ( m_helpFilename[0] == 0 )
{
@@ -1503,7 +1503,7 @@ void CStudio::UpdateDialogPublic()
sprintf(text, name, dir);
pl->SetName(text, false);
}
-}
+}
// Fills the list with all programs saved.