Ecere Software
/
sdk
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added staticLink sample; Renamed disguised .bmp Vanilla resources to .png as they...
[sdk]
/
samples
/
eC
/
staticLink
/
staticLink.ec
1
#ifdef ECERE_STATIC
2
import static "ecere"
3
#else
4
import "ecere"
5
#endif
6
7
class Form1 : Window
8
{
9
text = "Form1";
10
background = activeBorder;
11
borderStyle = sizable;
12
hasMaximize = true;
13
hasMinimize = true;
14
hasClose = true;
15
size = { 640, 480 };
16
nativeDecorations = true;
17
18
Button button1
19
{
20
this, text = "button1", position = { 192, 72 };
21
22
bool NotifyClicked(Button button, int x, int y, Modifiers mods)
23
{
24
25
return true;
26
}
27
};
28
}
29
30
Form1 form1 { };