mirror of https://github.com/fltk/fltk.git
Browse Source
Added "rebuild" target to rebuild source files from .fl files. git-svn-id: file:///fltk/svn/fltk/trunk@38 ea41ed52-d2ee-0310-a9c1-e6b18d33e121branch-1.0
2 changed files with 13 additions and 24 deletions
@ -1,22 +0,0 @@ |
|||||||
# data file for the Fltk User Interface Designer (fluid) |
|
||||||
version 0.99 |
|
||||||
gridx 10 |
|
||||||
gridy 10 |
|
||||||
snap 3 |
|
||||||
decl {// This is a demo of fluid used to write a normal C program} {} |
|
||||||
|
|
||||||
decl {\#include <stdio.h>} {} |
|
||||||
|
|
||||||
Function {main()} {open selected |
|
||||||
} { |
|
||||||
code {printf("%d ", 2);} {} |
|
||||||
codeblock {for (int x=3; x < 10000; x += 2)} {open |
|
||||||
} { |
|
||||||
code {for (int y=3; x%y; y += 2)} {} |
|
||||||
codeblock {if (y*y > x)} {open |
|
||||||
} { |
|
||||||
code {printf("%d ", x); |
|
||||||
break;} {} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue