mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Added some comments in rguilayout
This commit is contained in:
@ -1142,6 +1142,7 @@ static void GenerateLayoutCode(const char *fileName)
|
||||
fprintf(ftool, "\n");
|
||||
|
||||
// Define controls rectangles
|
||||
fprintf(ftool, " // Define controls rectangles\n");
|
||||
fprintf(ftool, " Rectangle layoutRecs[%i] = {\n", controlsCounter);
|
||||
|
||||
for (int i = 0; i < controlsCounter; i++)
|
||||
@ -1166,6 +1167,8 @@ static void GenerateLayoutCode(const char *fileName)
|
||||
fprintf(ftool, " BeginDrawing();\n\n");
|
||||
fprintf(ftool, " ClearBackground(GuiBackgroundColor());\n\n");
|
||||
|
||||
fprintf(ftool, "\t\t\t// Draw all controls\n");
|
||||
|
||||
// Draw all controls
|
||||
for (int i = 0; i < controlsCounter; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user