samples: Various tweaks
[sdk] / samples / guiAndGfx / skinning / form1.ec
1 import "ecere"
2
3 class Form1 : Window
4 {
5    alphaBlend = true;
6    text = "Form1";
7    background = activeBorder;
8    borderStyle = sizable;
9    hasMaximize = true;
10    hasMinimize = true;
11    hasClose = true;
12    size = { 640, 480 };
13    nativeDecorations = false;
14
15    Button button1 { this, text = "button1", position = { 440, 152 } };
16    DropBox dropBox1 { this, text = "dropBox1", position = { 208, 88 } };
17    ListBox listBox1 { this, text = "listBox1", position = { 304, 280 } };
18    EditBox editBox1 { this, text = "editBox1", position = { 96, 184 } };
19    Label label1 { this, text = "label1", position = { 432, 248 } };
20    ScrollBar scrollBar1 { this, text = "scrollBar1", position = { 488, 360 } };
21 }
22
23 Form1 form1 {};
24
25 class MyApp : GuiApplication
26 {
27    skin = "My";
28    //skin = "Acovel";
29    //skin = "Sim";
30 }