Skip to content

Commit d03a59c

Browse files
committed
Update core_directory_files.c
1 parent 2454b3e commit d03a59c

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

examples/core/core_directory_files.c

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -81,27 +81,6 @@ int main(void)
8181
GuiListViewEx((Rectangle){ 0, 50, GetScreenWidth(), GetScreenHeight() - 50 },
8282
files.paths, files.count, &listScrollIndex, &listItemActive, &listItemFocused);
8383

84-
/*
85-
for (int i = 0; i < (int)files.count; i++)
86-
{
87-
Color color = Fade(LIGHTGRAY, 0.3f);
88-
89-
if (!IsPathFile(files.paths[i]) && DirectoryExists(files.paths[i]))
90-
{
91-
if (GuiButton((Rectangle){0.0f, 85.0f + 40.0f*(float)i, screenWidth, 40}, ""))
92-
{
93-
TextCopy(directory, files.paths[i]);
94-
UnloadDirectoryFiles(files);
95-
files = LoadDirectoryFiles(directory);
96-
continue;
97-
}
98-
}
99-
100-
DrawRectangle(0, 85 + 40*i, screenWidth, 40, color);
101-
DrawText(GetFileName(files.paths[i]), 120, 100 + 40*i, 10, GRAY);
102-
}
103-
*/
104-
10584
EndDrawing();
10685
//----------------------------------------------------------------------------------
10786
}

0 commit comments

Comments
 (0)