Removed alternating colors & text on directory

This commit is contained in:
Hugo ARNAL 2025-10-11 17:35:19 +02:00
parent 6c651f46c3
commit ed9fa9a931

View File

@ -64,12 +64,11 @@ int main(void)
for (int i = 0; i < (int)files.count; i++) for (int i = 0; i < (int)files.count; i++)
{ {
float alpha = (i % 2 == 0)? 0.5f : 0.3f; Color color = Fade(LIGHTGRAY, 0.3f);
Color color = Fade(LIGHTGRAY, alpha);
if (!IsPathFile(files.paths[i])) if (!IsPathFile(files.paths[i]))
{ {
if (GuiButton((Rectangle){0.0f, 85.0f + 40.0f*(float)i, screenWidth, 40}, "<")) if (GuiButton((Rectangle){0.0f, 85.0f + 40.0f*(float)i, screenWidth, 40}, ""))
{ {
strcpy(directory, files.paths[i]); strcpy(directory, files.paths[i]);
UnloadDirectoryFiles(files); UnloadDirectoryFiles(files);