소스 검색

Update core_drop_files.c

pull/2521/head
Ray 2 년 전
부모
커밋
ad332f49ed
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      examples/core/core_drop_files.c

+ 2
- 2
examples/core/core_drop_files.c 파일 보기

@ -53,7 +53,7 @@ int main(void)
{ {
DrawText("Dropped files:", 100, 40, 20, DARKGRAY); DrawText("Dropped files:", 100, 40, 20, DARKGRAY);
for (int i = 0; i < count; i++)
for (int i = 0; i < droppedFiles.count; i++)
{ {
if (i%2 == 0) DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, 0.5f)); if (i%2 == 0) DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, 0.5f));
else DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, 0.3f)); else DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, 0.3f));
@ -61,7 +61,7 @@ int main(void)
DrawText(droppedFiles.paths[i], 120, 100 + 40*i, 10, GRAY); DrawText(droppedFiles.paths[i], 120, 100 + 40*i, 10, GRAY);
} }
DrawText("Drop new files...", 100, 110 + 40*count, 20, DARKGRAY);
DrawText("Drop new files...", 100, 110 + 40*droppedFiles.count, 20, DARKGRAY);
} }
EndDrawing(); EndDrawing();

불러오는 중...
취소
저장