mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-28 03:31:49 +01:00
This commit is contained in:
parent
97dc411a78
commit
74d1db9684
@ -933,7 +933,7 @@ class GuiFileBrowser : public GuiElement
|
|||||||
|
|
||||||
GuiImageData * bgFileSelection;
|
GuiImageData * bgFileSelection;
|
||||||
GuiImageData * bgFileSelectionEntry;
|
GuiImageData * bgFileSelectionEntry;
|
||||||
GuiImageData * ;
|
GuiImageData * fileFolder;
|
||||||
GuiImageData * scrollbar;
|
GuiImageData * scrollbar;
|
||||||
GuiImageData * arrowDown;
|
GuiImageData * arrowDown;
|
||||||
GuiImageData * arrowDownOver;
|
GuiImageData * arrowDownOver;
|
||||||
|
@ -42,7 +42,7 @@ GuiFileBrowser::GuiFileBrowser(int w, int h)
|
|||||||
bgFileSelectionImg->SetAlignment(ALIGN_LEFT, ALIGN_MIDDLE);
|
bgFileSelectionImg->SetAlignment(ALIGN_LEFT, ALIGN_MIDDLE);
|
||||||
|
|
||||||
bgFileSelectionEntry = new GuiImageData(bg_game_selection_entry_png);
|
bgFileSelectionEntry = new GuiImageData(bg_game_selection_entry_png);
|
||||||
= new GuiImageData(folder_png);
|
fileFolder = new GuiImageData(folder_png);
|
||||||
|
|
||||||
scrollbar = new GuiImageData(scrollbar_png);
|
scrollbar = new GuiImageData(scrollbar_png);
|
||||||
scrollbarImg = new GuiImage(scrollbar);
|
scrollbarImg = new GuiImage(scrollbar);
|
||||||
@ -107,7 +107,7 @@ GuiFileBrowser::GuiFileBrowser(int w, int h)
|
|||||||
fileListText[i]->SetMaxWidth(380);
|
fileListText[i]->SetMaxWidth(380);
|
||||||
|
|
||||||
fileListBg[i] = new GuiImage(bgFileSelectionEntry);
|
fileListBg[i] = new GuiImage(bgFileSelectionEntry);
|
||||||
fileListFolder[i] = new GuiImage();
|
fileListFolder[i] = new GuiImage(fileFolder);
|
||||||
|
|
||||||
fileList[i] = new GuiButton(380, 26);
|
fileList[i] = new GuiButton(380, 26);
|
||||||
fileList[i]->SetParent(this);
|
fileList[i]->SetParent(this);
|
||||||
@ -139,7 +139,7 @@ GuiFileBrowser::~GuiFileBrowser()
|
|||||||
|
|
||||||
delete bgFileSelection;
|
delete bgFileSelection;
|
||||||
delete bgFileSelectionEntry;
|
delete bgFileSelectionEntry;
|
||||||
delete ;
|
delete fileFolder;
|
||||||
delete scrollbar;
|
delete scrollbar;
|
||||||
delete arrowDown;
|
delete arrowDown;
|
||||||
delete arrowDownOver;
|
delete arrowDownOver;
|
||||||
|
Loading…
Reference in New Issue
Block a user