rename variables

This commit is contained in:
dborth 2009-08-04 04:24:01 +00:00
parent 2e8fc72561
commit c2fb369756
2 changed files with 13 additions and 13 deletions

View File

@ -922,7 +922,7 @@ class GuiFileBrowser : public GuiElement
GuiButton * arrowDownBtn;
GuiButton * scrollbarBoxBtn;
GuiImage * bgGameSelectionImg;
GuiImage * bgFileSelectionImg;
GuiImage * scrollbarImg;
GuiImage * arrowDownImg;
GuiImage * arrowDownOverImg;
@ -931,8 +931,8 @@ class GuiFileBrowser : public GuiElement
GuiImage * scrollbarBoxImg;
GuiImage * scrollbarBoxOverImg;
GuiImageData * bgGameSelection;
GuiImageData * bgGameSelectionEntry;
GuiImageData * bgFileSelection;
GuiImageData * bgFileSelectionEntry;
GuiImageData * gameFolder;
GuiImageData * scrollbar;
GuiImageData * arrowDown;

View File

@ -36,12 +36,12 @@ GuiFileBrowser::GuiFileBrowser(int w, int h)
btnSoundOver = new GuiSound(button_over_pcm, button_over_pcm_size, SOUND_PCM);
btnSoundClick = new GuiSound(button_click_pcm, button_click_pcm_size, SOUND_PCM);
bgGameSelection = new GuiImageData(bg_game_selection_png);
bgGameSelectionImg = new GuiImage(bgGameSelection);
bgGameSelectionImg->SetParent(this);
bgGameSelectionImg->SetAlignment(ALIGN_LEFT, ALIGN_MIDDLE);
bgFileSelection = new GuiImageData(bg_game_selection_png);
bgFileSelectionImg = new GuiImage(bgFileSelection);
bgFileSelectionImg->SetParent(this);
bgFileSelectionImg->SetAlignment(ALIGN_LEFT, ALIGN_MIDDLE);
bgGameSelectionEntry = new GuiImageData(bg_game_selection_entry_png);
bgFileSelectionEntry = new GuiImageData(bg_game_selection_entry_png);
gameFolder = new GuiImageData(folder_png);
scrollbar = new GuiImageData(scrollbar_png);
@ -106,7 +106,7 @@ GuiFileBrowser::GuiFileBrowser(int w, int h)
fileListText[i]->SetPosition(5,0);
fileListText[i]->SetMaxWidth(380);
fileListBg[i] = new GuiImage(bgGameSelectionEntry);
fileListBg[i] = new GuiImage(bgFileSelectionEntry);
fileListFolder[i] = new GuiImage(gameFolder);
fileList[i] = new GuiButton(380, 26);
@ -128,7 +128,7 @@ GuiFileBrowser::~GuiFileBrowser()
delete arrowDownBtn;
delete scrollbarBoxBtn;
delete bgGameSelectionImg;
delete bgFileSelectionImg;
delete scrollbarImg;
delete arrowDownImg;
delete arrowDownOverImg;
@ -137,8 +137,8 @@ GuiFileBrowser::~GuiFileBrowser()
delete scrollbarBoxImg;
delete scrollbarBoxOverImg;
delete bgGameSelection;
delete bgGameSelectionEntry;
delete bgFileSelection;
delete bgFileSelectionEntry;
delete gameFolder;
delete scrollbar;
delete arrowDown;
@ -198,7 +198,7 @@ void GuiFileBrowser::Draw()
if(!this->IsVisible())
return;
bgGameSelectionImg->Draw();
bgFileSelectionImg->Draw();
for(int i=0; i<FILE_PAGESIZE; i++)
{